Quote:
|
Originally Posted by barry
Hi Coders Guru,
I'm looking forward to learning all the parts of this EA. I noticed in the code:
static int last_direction = 0;
static int current_dirction = 0;
Note the missing "e" in the 2nd line. I don't know if this will matter, but I thought I'd better bring it to your attention.
|
Thank you very much for your notice, Although it will not make problems in the code, but I'll correct that.
Quote:
|
This EA seems to be a EMA 8,13 crossover. It makes a loss on my eurusd H4 chart, so I would like to be able to optimise the 8 and 13. I guess by now we should be able to make them ext double variables and optimise them, so I will try to do that.
|
It makes profit for me (EURUSD - H4), Please tell me how many
Bars in test (you will find this number in the left top of the Report).
Anyway, this EA is for educational purpose only.
Quote:
|
Also, how do we ask the EA to draw the 2 EMA's on the chart? I don't know why EA's don't automatically draw the indicators they use, because we will always want to see them.
|
Yes, it’s a bad thing that the EAs don't automatically draw the indicators they use in the live trading.
But you can see the indicator in Strategy tester by clicking
Open chart button in the Strategy Tester Settings tab.
Quote:
|
Thanks again for these great lessons.
|
You're Welcome. And thanks again.