The Ref_Candle_Back setting defines at which candle the EA will look to take it as the reference candle. That means if you have the time set to 09:00 GMT for example it will look 1 bar back and take the high/low of that candle. In this case that would be the 08:00 GMT candle on 1H chart which we want.
You will need two charts. One EUR/USD H1 chart with the London settings and one EUR/USD M15 chart with the NY settings. Please make sure that the Magic_Number setting is different for each chart.
The MM settings are the last 2 values in the âTrade_Infoâ setting.
An example for fixed lot size is:
0;0.1
which will use a fixed lot size of â0.1â.
An example for 1% of the account taking the SL into consideration:
1;1
Please use this setting with caution for now as I had a bug with it which was âonlyâ that the EA did not open the trades but still, you never knowâŚ
You can ignore all settings that have âCOM_*â, they are solely for information => No direct purpose.
The results you have got are correct. The attached Alpha 4 version has a max SL setting!
@pipcompounder
Iâm really not sure whatâs going on with your platform. Is the countdown correct? Does it just not trade? Are there any errors in the âExpertsâ-Tab or âJournalâ-Tab?
As for reentries and all new features. Please use these with caution as it is one thing to look at it in a backtest and verify that it kinda works but definitely another thing to have it running in a forward test! Please tell me your experiences once youâve had them.
Iâve had the same thing unfortunately. Could you please look into your âExpertsâ-Tab and âJournalâ-Tab and post errors if any. I will have to test this further, Iâll try to put a fix into Alpha 4 right now, letâs see if it works out.
Haha, indeed
I donât think so, I rather think that I did not define what a TP is properly for the EA⌠Iâm glad you are the exception though!
Oooookay, I think that should suffice for what Iâve missed in the thread today!
Jonathan
PS: Would guys like to have more information displayed other than time left? Anything useful you can think of?
PPS: Iâve also been thinking about maybe not determining the breakout only by a reference candle. Maybe some kind of pre-marketsession channel calculation would make sense from which the price has to break out. Unfortunately I wonât have time next week to test in this direction but I guess we can bounce some ideas off of each other here.
PPPS: Including Smileys into the image calculation for posts is RIDICULOUS!!!
I am still using a manual offset for GMT after pipcompounder flagged his problems. I will try the automatic setting on a quick back test and look at the resulting chart to see where the EA opens trades and report back.
@drbios
The automatic calculation wonât work in a backtest as the resulting GMT-Offset from now to âback thenâ is huge, so it will show such a number onscreenâŚ
@riley
All looks normal and according to plan. Please try the new version, I just changed the TP definition, maybe this will do the trick.
Thanks again, Jonathan. I will try the latest version next week.
I canât access my VPS because of corporate firewall here at work, to see logs, settings, etc. so I wonât worry too much about what happened. I can monitor positions from my brokerâs back office. It did make trades, just an hour late, with the candle an hour later settings (high\low).
Yep stopped out twice, despite being an hour late and different ref candleâŚLOL
stopped twice on London, tooâŚwould have been a TPâŚ
About the london, I have noticed the volitility has come back a bitâŚcould have traded with 40 pip TP this week, which would have netted more pips, but Iâm not sure it will last because of this debt ceiling\fiscal cliff perpetual political problem, so Iâm not going to change anything.
Jonathan
I am locked and loaded for Monday.
Regarding the âMagic Numberâ. You mentioned earlier that they should be different. Mine show the same. They were also the same today which may have been why my pending order did not close? I dont know.
Anyway, should they have shown up differently automatically or should I be changing one manually?
The Magic Numbers have to be changed manually individually for each chart you put the EA on. You are right, that probably has led to the problem with the closing of the pending order. Just put in completely random numbers for each EA instance and you should be good.
Trying to hang in there and hope I can get the latest version of this EA (PC Breakout Alpha 4) set up correctly for tomorrow morning⌠I wanna express my gratitude to PipCompounder, Jonathan, Crisscross and everyone else posting onto this fantastic thread, this joined venture of people trying together to make life more enjoyable for others too; so heart warming to feel all this positive energy!
English isnât my first language, but I think you all know what Iâm trying to expressâŚ
Have anybody made a backtest with this new EA and what are the results! Backtest is very important so we know that the EA is profitable over a longer time.
Backtesting in MT4 sucks (Pardon my french).
I would have to reprogram the EA for either MT5 or even better NinjaTrader to get a half decent backtest going. I will look into that in the future but right now, as we are all using MT4, I wonât do it until we all agree that the only thing having to be tweaked are the settings rather than the coding. (It would be quite some work to keep an EA in three different languages at the same level)
I noticed the EA creates 10 notification messages when the trades are set and they are all âBUY stop setâ. I also use the Android app for MT4 and have the notification messages enabled in the main MT4 program. This means the mobile also goes mad for a few seconds! Please note this was on the 2nd version you produced so it may be fixed now?