can i get some help how to set this up for 1hr candles on a set of pairs
Hegnar
⋅
@Shubaid97, On each pair you want to set up an alert, add the indicator to the layout that shows 1h candles, then select 'more' on the indicator legend and 'Add alert on SSL Chanel'.
christinaah
⋅
The alert doesn't work..
jollier
⋅
@christinaah, It works fine for me. This script just provides an alert condition, you need to create the alert yourself; scripts cannot do this for you.
gccoulter
⋅
@jollier, hey man, I'm new here. How would I create an alert based on the alert condition?
Unknown_TracerBUNNY
⋅
@gccoulter, go to alerts and add new alert and select this indicator
Hegnar
⋅
@gccoulter, Hi. Add the indicator to the layout, then select 'more' on the indicator legend, select 'Add alert on SSL Chanel'.
tps565
⋅
LINE 4 - period=input(title="Period", defval=10)
Why do we need it? I removed that line and the program ran fine.