Ema Cross! - page 51

 

Hi gody

Could you please post the statement again? It can't be opened.

Thanks

 

Hi All,

I was testing the EMA_Cross_6 version .

I wanted to do this adjustment if it is possible! The stop loss to be lets say 5 pips below/above the shortEMA as per buy or sell. How to put this in the EA?

thx for your help.

 
eric79:
Hi gody

Could you please post the statement again? It can't be opened.

Thanks

HI ERIC

http://9q9q.com/March/1143633888.zip

 

Thanks, now it works. Great result.

 

My statements!

These are my 1 day statements for

EMA_CROSS_CONTEST_HEDGED (Statement.htm)

and

EMAC6(Statement2.htm)

Files:
 
codersguru:
These are my 1 day statements for

EMA_CROSS_CONTEST_HEDGED (Statement.htm)

and

EMAC6(Statement2.htm)

I quess you are using default settings, right?

Codersguru - REALLY thanks for your work. Looking forward for your lessons of coding :]

 
glader:
I quess you are using default settings, right? Codersguru - REALLY thanks for your work. Looking forward for your lessons of coding :]

Hi glader,

Thanks!

Yes, I'm (always) using the default settings.

 

Hi Codersguru

In the first statement, why does it open 4 trades (for usdjpy and also the pending orders)? Thanks

 
eric79:
Hi Codersguru In the first statement, why does it open 4 trades (for usdjpy and also the pending orders)? Thanks

It's something like the grid maker to increase the profits.

 

EMAs 1 bar back ??

I just noticed while looking at your code that for the Cross_2 you were doing the EMAs on the current bar and for Cross_6 you are doing them 1 bar back ? Any reason for this ?!?

Cross_2

SEma = iMA(NULL,0,ShortEma,0,MODE_EMA,PRICE_CLOSE,0);

LEma = iMA(NULL,0,LongEma,0,MODE_EMA,PRICE_CLOSE,0);

Cross_6

SEma = iMA(NULL,0,ShortEma,0,MODE_EMA,PRICE_CLOSE,1);

LEma = iMA(NULL,0,LongEma,0,MODE_EMA,PRICE_CLOSE,1);

Migrane

Reason: