Countdown
Created at 26 Sep 2018, 23:32

Countdown
26 Sep 2018, 23:32
Good night,
Every open trade it assumes "private DateTime _lastExecutedOrder;" being as "_lastExecutedOrder = DateTime.Now;"
At each tick it checks permission to trade:
PermissionToTrade = _lastExecutedOrder.AddHours(6) > DateTime.Now) ? true : false;
so that in the next 6 hours doesnt open any trade for that currency pair
I would like to put a label with countedown of these 6 hours, can anyone help me?
Thank you so much.
Good trades!