well, to you it does! Having the GMT offset calculated automatically (which I will try to fix today) makes the time settings the same for everyone so it’s way easier rather than having to figure out your timezone and calculating the difference (which isn’t hard, I know, but this function is meant for convenience only).
If it works for you this way: great
Anyway, I will get back to you guys later today with a hopefully fixed and extended version.
Again, you are very welcome! I just thought about a problem that may cause the GMT offset not working properly. As it is using a DLL include, did you guys tick the respective setting in the options/ea dialog?
Not sure if that’s the problem but it seems like it as you say the display doesn’t even show which is a typical sign for a DLL error. If it is not that, could you look into your journal please and see if theres anything there that indicates a possible error?
I have auto setting on GMT with 2 hour offset, but the trades opened 1 hour early than they should have for both sessions.
I think my broker may have the plateform times as the close of the candle instead of the open. I think if I just switch the london from 8 to 9 and the NY from 13 to 14, it should be ok…what do you think?
It was ok for london since the hour before the london open ended up being a good candle and the ref candle was very long…TP easily hit.
NY trade was entered an hour ago, and the buy triggered, so hopefully the price continues up, but if it breaks down, I think it will go a ways because it’s struggling to break the 1.3370/75 level.
Everything else about the EA seems to be working great! I just have a learning curve on the GMT that was ok.
So my london open was done with the manual time and it seemed to work fine. Before the NY open, I clicked the DLL. With the NY open, no trade was initiated so I suspect that pipscompounder may be correct as if you notice in my chart, it shows that the reference candle is a day a way. NY looks to be breaking down right now. My settings too by the way.
Jonathan, I have a question on this. My demo account had $5500 and I used the suggested settings:
0;70;50|1;400|0;0;0|0;0;0|2;0.02 from your referenced post. According to the code, the calculation is: if (T_MM[i] == 2) LotLong = ((AccountBalance()/100)*T_MM_VAL[i]);
So I was expecting a size of 1.10 but went long with 5.50. What did I do wrong?
“2” means amount per $100 in account, so account balance of 5500 and 0.01 per 100 = 5.5…if you want smaller you’ll have to use the “1” setting for percentage of risk.
well, yes and no :). The options on my mt4 go down to .10. At this time, I went into the hard code and changed 100 to 1000 so without making any other changes, next time, it will be .55 (actually more like .6 as the account got larger with the long trade out of London !!)
Very little. I have altered wordpress code in the past. Cant write from scratch but I am able to manipulate a bit. Change colors, background images, correct src codes etc. Our company manages a email marketing company. Often times, I am going into the html of the flyer and correcting links. So… some basic experience but no formal training.