You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hey, I am want to set the expirationtime of a Pending stop order, depending of a bool and the starting time and ending time of aTimerange.
The bool will be set during optimization (if i want a 24Hours expiration) while the rest, decides if the Expiration should end on a different part of the range (depending if the range lays overnight or intraday)
In MQL4 it worked perfectly fine, but now i am only getting problems here. Any ideas? (Compler works fine, but during test i get "[Invalid expression]"
the problem lays more likely here:
inp_TradeTimeBegin>inp_CheckTimeBegin ? checkTimeBegin+86400 : checkTimeEnd