Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // reference previous close
- heikinashi_close = security(heikinashi(tickerid), "2D", close[1])
- // or use is code the first closed candle back
- x = heikinashi_close[1]>ma[1]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement