I want to experiment delaying orders after receiving a trade signal. Would I use the sleep() function? and if so, where's the best place to insert it, above the lot calculation?
//--- open buy (first)
Thanks for the help, much appreciated...
i cant see your EA above that point, but you would certainly want to calculate the lot-size after the sleep, if you have other EA's trading on the same account, as they may have made profit/loss that will affect your calculations.