Trading only at a specific time
5 replies
Conmariin
6 years ago #232864
Hi,
I’m trying to integrate a “Trading Time”. The user is able to set 3 times for trading (i.e. from 9 to 10) like in the screenshot. But when I’am running in visualmodetest the ea does not bother with the trading times. Does anybody see the failure?
Thanks for help!
🙂
Automatisches Handeln mit Expert Advisor
https://www.rabenesche.de
Conmariin
6 years ago #232866
I changed from Hour to TimeCurrent. But now it’s opening nothing.
Automatisches Handeln mit Expert Advisor
https://www.rabenesche.de
tomas262
6 years ago #232901
Hello,
so the EA does open trades all the time outside trading hours? The problem could be you also need to setup similar condition that sets Time_for_Trading variable back to FALSE. You can attach zipped SQW file so I can add the condition for you
Conmariin
6 years ago #232921
Hi Tomas,
here is the EA. I thought I have done all right but perhaps you can detect the failure?!
Thanks for your help! 🙂
Automatisches Handeln mit Expert Advisor
https://www.rabenesche.de
tomas262
6 years ago #232948
Conmariin
6 years ago #232955
Okay, I’ll try it.
Thanks Tomas! 🙂
Automatisches Handeln mit Expert Advisor
https://www.rabenesche.de
Viewing 5 replies - 1 through 5 (of 5 total)