So i programmed a strategy that opens a order every Wednesday.
I also added a stoploss to it.
if (Time[0].DayOfWeek == DayOfWeek.Wednesday) { EnterLong(Convert.ToInt32(DefaultQuantity), ""); }
The only problem I have is that im getting more then 1 order per day because the old order got stopped.
So if a order gets in and this order gets stopped, a second order gets in.
Is there a way to limit this?
I only want 1 order per day.
Comment