I am trying to reset a variable after price pass above or below a certain point. For example if price crosses above or below yesterdays close reset this variable. I tried using the cross above/below function but I got errors.
I tried this
if (CrossBelow(High[0],PriorDayOHLC().PriorClose[0]))
tradeCount = 0;
But got a error message saying "No overload for method CrossBelow take 2 arguments.
How can get this to work?
Thanks

Comment