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
this works in a script, also works in an EA.
Honestly, thank you. I am able to code, but as I said before 2 times, it did not work (I did try it at the weekend).
The expert at week ends reports "Trade not allowed for symbol".
The expert at weekend reported "Trade IS allowed for symbol".
Maybe it was a failure, maybe not.
If there won't be an other solution, I will try it again at the next weekend.
It is also conceivable that trade is allowed at the weekend, but market is closed, so one can not open trades. It is weird.
Hi Ggekko,
Hope this can help.
If the code can be used, please check the market open and close times of your symbol and update the values of "closeH" and "openH" accordingly.
For holiday besides weekend, do you have any concern? I haven't good idea for the moment.
By the way, I also have an issue of indicator found after back testing and it's easy to find that thread in the forum as I updated it today. It's highly appreciated if you can help !
This EA works perfectly in this method. One can use Timeseries and Indicators Access instead of predefined variables. You are right about tester.
My only need is the knowing of status of the market (open or closed).