I'm very new to this and can't seem to get my head wrapped around the coding for this. I'm looking to make an indicator that would overlay on the price chart and highlight bars that cross over and under an 8 EMA line based on the closing price.
I'm thinking that the logic would look something like this:
If CLOSE(1) => 8EMA(1) and CLOSE(0) < 8EMA(0) then put the indicator over the current price
and
if CLOSE(1) =< 8EMA(1) and CLOSE(0) > 8EMA(0) then put the other indicator over the current price
However, after going through the NT help and tutorials, I'm still a bit lost as to how to code this. Any help, guidance, direction pointing, etc is MUCH appreciated.
Thanks!
Comment