Advertisement
JustUncleL

ha sample

Jan 5th, 2017
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. // reference previous close
  2. heikinashi_close = security(heikinashi(tickerid), "2D", close[1])
  3.  
  4. // or use is code the first closed candle back
  5. x = heikinashi_close[1]>ma[1]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement