Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //@version=4
- study("My Script", overlay=true)
- sma1 = sma(close, 8)
- sma2 = sma(close, 13)
- plot(sma1, color=color.green)
- plot(sma2, color=color.red)
- cross_bull = crossover(sma1, sma2)
- loBar = bar_index + lowestbars(4)
- if cross_bull
- label.new(x=loBar, y=high, text="L", yloc=yloc.abovebar, color=color.red, style=label.style_label_down, textcolor=color.white, size=size.small, textalign=text.align_center)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement