extern int StartHour = 3;
...
if(Hour()==StartHour && Close[1]>Open[1]
{
OrderSend(Symbol(),OP_BUY.....
}
Exactly.
Now I'm testing one.
I will post codes ASAP.
Results are not bad... But that is only back test.
Bongo
Thank you, How do i finish the EA? Not a coder sorry. So this will check previous candle close from the starthour?
I will post codes ASAP.
Thank you. Hope soon
Exactly.
Now I'm testing one.
I will post codes ASAP.
Results are not bad... But that is only back test.
BongoMagicNumber=20080122; TakeProfit=34; StopLoss=55; Lots=0.1; OpenTradeTime=300; OpenBuy=true; OpenSell=false; NumBuys=1; NumSells=1; Slippage=3;
Why did you only select to Buy? if price on previous bar closes lower than open then you sell.
Exactly.
Now I'm testing one.
I will post codes ASAP.
Results are not bad... But that is only back test.
BongoCan you try your test again 09:00 (Checking the 08:00 GMT candle) into the London market.
The North American and Asian market plays a big part leading into what the London market is going to do.
That Candle seems to set direction 8/10 times correctly.
Thanks
Go to FF, look for EA called Rhythm, its in Tkimble's thread.
matrixebiz,
Try this:
Bongo
I guess the EA doesn't have to check the previous candle, just check the candle close direction (Higher or Lower than its Open) on the hour I chose then place trade according on its direction on next candle open. If candle closes higher than it opened then go long or visa-versa. Thanks
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Just wondering if there is a simple EA that will at a time I specify will look at the previous candle and open a trade based on its close?
EG: 03:00 candle Closes Higher then its Open, then place a Long trade.
Thanks