View Single Post
  #2 (permalink)  
Old 11-25-2005, 12:23 AM
barry barry is offline
Member
 
Join Date: Nov 2005
Posts: 48
barry is on a distinguished road
Ea

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.

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.

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.

Thanks again for these great lessons.

Last edited by barry; 11-25-2005 at 12:41 AM. Reason: More thoughts
Reply With Quote