EA Time Help
6件の返信
I’ve made an EA and it’s working good but i don’t want it to trade on weekend gaps. It’s dangerous for my EA strategy. I haven’t used any time related thing in my EA and i don’t know how to deal with time variables and functions.
I want help, I don’t want my EA to open any trade on friday ending time till monday past 12 hours… so for almost like 3 hours of friday closing and 12 hours after monday opening (total 15 hours), i don’t my EA to open trade..
Can anyone please tell me the rules? or if have sqw file then please attach.. Thanks
0
Hello Adil,
I have made an example on how to enter a trade from Monday 9 a.m. to Friday 6 p.m. Check the file attached
0
thank you very much.. i have another question.. in my strategy i’m using ema and sma crossing for order opening and closing.. but it opens the order quickly on the touch of the line.. and that’s horrible cause sometimes due to market variations, the sma touch the ema during candle opening and the time when that candle closes it goes straight to the opposite side so the order is opened but the ema and sma didn’t have crossover.. i want order to be opened when a perfect crossover happens, when the candle closes with having crossovers of sma and ema , not on just the touch of those moving averages..
0
thank you very much.. i have another question.. in my strategy i’m using ema and sma crossing for order opening and closing.. but it opens the order quickly on the touch of the line.. and that’s horrible cause sometimes due to market variations, the sma touch the ema during candle opening and the time when that candle closes it goes straight to the opposite side so the order is opened but the ema and sma didn’t have crossover.. i want order to be opened when a perfect crossover happens, when the candle closes with having crossovers of sma and ema , not on just the touch of those moving averages..
I’ve attached the sqw file of my strategy..
0
why i can’t attach sqw file.. it shows error “Sorry, this file type is not permitted for security reasons.’
0
6件の返信を表示中 - 1 - 6件目 (全6件中)