I built a basic FOREX strategy that goes long when Close is below a moving average (T3) at a set tick distance. The problem is the condition is ignored when I run the strategy. Please give me some suggestions. My code snippet is below.
if (Position.MarketPosition == MarketPosition.Flat
&& Close[0] + -200 * TickSize