I am using a limit order in my strategy to sell at a min price x ticks below the market, ie a Market Limit Order,
pEntry = EnterLongLimit(0,true, 1, Math.Max(lPiv + entryAllowance * TickSize, lPiv + (hPiv - lPiv)*0.25), "pEntry");
When I apply this to my chart for testing it is giving me fills below the low of the bar, i.e. I am always getting the worst possible fill. Is there a way to correct this so it will give me the fill at the low of the bar?

Comment