I'm modifying an entry signal to not enter when High[0] is also the high of the day. I though I could add High[0] != CurrentDayOHL().CurrentHigh[0], but that doesn't change anything when its the high of the day. Here is my code:
if (Position.MarketPosition == MarketPosition.Flat
&& SwingHighCross > -1 && (CrossAbove(TrendStrengthA(VC.NinjaScript.Utility. MovingAverageType.VWMA, 200, 20, 10).TrendStrength, 60, 4)
|| CrossAbove(TrendStrengthA(VC.NinjaScript.Utility.M ovingAverageType.VWMA, 200, 20, 10).TrendStrength, -60, 4)
&& High[0] != CurrentDayOHL().CurrentHigh[0]))
Any ideas as to why the Enter() would still fire when it's the day high?
Comment