Advertisement
mailinatorgj

Untitled

Feb 24th, 2020
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. //@version=4
  2. study("My Script", overlay=true)
  3.  
  4. sma1 = sma(close, 8)
  5. sma2 = sma(close, 13)
  6. plot(sma1, color=color.green)
  7. plot(sma2, color=color.red)
  8. cross_bull = crossover(sma1, sma2)
  9.  
  10.  
  11. loBar = bar_index + lowestbars(4)
  12.  
  13. if cross_bull
  14. 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