I am a recent NT customer. I am looking for some help creating a simple indicator in NT8.
I was able to make the below into an alert, but I would like it as an indicator on the chart. I would appreciate if someone can throw a code snippet.
BullGapBar:
Place a dot on the candlestick 2 bars ago if all the 4 conditions below are true:
Close (3 bars ago) >= Open (3 bars ago)
Close (2 bars ago) >= Open (2 bars ago)
Close (1 bar ago) >= Open (1 bars ago)
Low (1 bar ago) > High (3 bars ago)
And similarly for the bear case:
BearGapBar:
Place a dot on the candlestick 2 bars ago if all the 4 conditions below are true:
Close (3 bars ago) <= Open (3 bars ago)
Close (2 bars ago) <= Open (2 bars ago)
Close (1 bar ago) <= Open (1 bars ago)
High(1 bar ago) < Low (3 bars ago)
Thanks.
Comment