I am trying to program a basic indicator with the following logic:
When the High of the current price bar is greater than or equal to the High of the previous price bar, and the close of the current price bar is less than the close of the previous price bar, a sell signal appears.
Expressed another way: High [0] >= High [-1] and Close [0] < Close [-1]
Should these conditions be met, a red circle would appear above the current price bar.
Is programming an indicator such as this possible in NinjaTrader 8?
Thank you in advance!
Comment