Login Page - Create Account

Support Board


Date/Time: Tue, 23 Oct 2018 00:15:37 +0000



tradingview indicator

Support Request:
[2017-12-13 01:17:10]
Yamin2000 - Posts: 25
HI
is there a way to make tradingview indicator works on sierrachart?

//@version=2
study(title='[RS]Renko Auto Cloner V0', shorttitle='lv', overlay=true)
use_current_timeframe = input(true)
alternative_timeframe = input('5')
renko_data_source = input('close')
renko_mode = input('ATR')
renko_mode_value = input(defval=100, type=float)
t = renko(tickerid, renko_data_source, renko_mode, renko_mode_value)

ro = security(t, use_current_timeframe ? period : alternative_timeframe, open)
rc = security(t, use_current_timeframe ? period : alternative_timeframe, close)

is_new_direction = change(rc-ro) != 0
sr = is_new_direction ? ro : sr[1]

n01 = plot(series=is_new_direction ? na : sr-(rc-ro), title='-1', color=red, style=linebr, transp=0)
p00 = plot(series=is_new_direction ? na : sr, title='0', color=black, style=linebr, transp=0)
p01 = plot(series=is_new_direction ? na : sr+(rc-ro) * 1, title='1', color=blue, style=linebr, transp=0)
p02 = plot(series=is_new_direction ? na : sr+(rc-ro) * 2, title='2', color=black, style=linebr, transp=0)
p03 = plot(series=is_new_direction ? na : sr+(rc-ro) * 3, title='3', color=black, style=linebr, transp=0)
p04 = plot(series=is_new_direction ? na : sr+(rc-ro) * 4, title='4', color=black, style=linebr, transp=0)
p05 = plot(series=is_new_direction ? na : sr+(rc-ro) * 5, title='5', color=black, style=linebr, transp=0)
p06 = plot(series=is_new_direction ? na : sr+(rc-ro) * 6, title='6', color=black, style=linebr, transp=0)
p07 = plot(series=is_new_direction ? na : sr+(rc-ro) * 7, title='7', color=black, style=linebr, transp=0)
p08 = plot(series=is_new_direction ? na : sr+(rc-ro) * 8, title='8', color=black, style=linebr, transp=0)
p09 = plot(series=is_new_direction ? na : sr+(rc-ro) * 9, title='9', color=black, style=linebr, transp=0)
p10 = plot(series=is_new_direction ? na : sr+(rc-ro) * 10, title='10', color=black, style=linebr, transp=0)

fill(plot1=p00, plot2=p01, color=blue, transp=90, title='BG01')
[2017-12-13 04:36:37]
Sierra Chart Engineering - Posts: 65106
Not directly. You would have to convert this code to ACSIL.

Refer to:

https://www.sierrachart.com/index.php?page=doc/AdvancedCustomStudyInterfaceAndLanguage.php
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
[2018-03-29 20:27:46]
User271989 - Posts: 43
and the contrary? Can i use a sierra chart automated system on tradingview?
[2018-03-29 22:51:39]
Sierra Chart Engineering - Posts: 65106
No.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.

To post a message in this thread, you need to login with your Sierra Chart account:

Login


Login Page - Create Account