I am using EnterShortStopLimit() orders, to submit orders with a given Stop and Limit. The example I am working on at the moment, takes the SMA crossover as the signal, and then takes the High/Low on the CrossOver bar as the Stop and Limit price for the order.
This works brilliantly, as per pic 1 and 2 below:
However, when the market gaps down, through the Stop and Limit prices, my order does not get filled - I was not expecting this. Please see third pic below:
Am I misunderstanding something?
My order is submitted as:
EnterShortStopLimit(1, MACrossHIGH(Close, 3, 30)[0],MACrossHIGH(Close, 3, 30)[0], "ShortEntry");
where MACrossHIGH(Close, 3, 30)[0] is the Red Line indicator, from the H/L of the CrossOver day.
Please advise?
Kind regards
Comment