Quote:
Originally Posted by yohanip
Awright 
Thank you for sharing such a simple yet powerfull method,
i've attached the EA at the #2 post, edited the post to see the history of the creation
Please feel free if you need to ask / adjust anything again..
|
Thank you for the update, but what time in GMT is you EA set to close all trades on Friday? IBFX closes at 19:56 GMT. Do all brokers close for the weekend at this time? I think StrategyBuilder FX closes at different times ??
What does select option 2 mean?;
TradeDir=1; //1 =Buy, 0=Sell, 2=Both direction
Can your EA be programed for what I mentioned in my previous post? Might help it determine if it should select Long or Short for the day.
EDIT2: IBFX closes just before 20GMT so should I change;
Code:
if(TimeHour(TimeCurrent())==20)//asuming that every server time will be at end when the time reaches 20:00
to
Code:
if(TimeHour(TimeCurrent())==19:50) //asuming that every server time will be at end when the time reaches 20:00
also, can you make MM optional True/False. Thanks