Aggressive scalp ea - page 65

 
grome:
these are my results with the same broker

i do not understand where is the mistake

maybe the leverage?

mah...

Hi

Simply change your interval from H4 to M5. That will do:)

 
pawiksd:
Hi Simply change your interval from H4 to M5. That will do:)

What is this??

double diClose0 = iClose(NULL, PERIOD_M5, 0);

double diMA1 = iMA(NULL, PERIOD_M5, 5, 0, MODE_EMA, PRICE_OPEN, 1);

double diClose2 = iClose(NULL, PERIOD_M5, 0);

double diMA3 = iMA(NULL, PERIOD_M5, 4, 0, MODE_EMA, PRICE_OPEN, 1);

Period is there

 
Bongo:
What is this??

double diClose0 = iClose(NULL, PERIOD_M5, 0);

double diMA1 = iMA(NULL, PERIOD_M5, 5, 0, MODE_EMA, PRICE_OPEN, 1);

double diClose2 = iClose(NULL, PERIOD_M5, 0);

double diMA3 = iMA(NULL, PERIOD_M5, 4, 0, MODE_EMA, PRICE_OPEN, 1);

Period is there

Please explain me why I get different results for H4 and M5?

Check your self if you don't believe me;)

cheers

 
pawiksd:
Hi Simply change your interval from H4 to M5. That will do:)

is the same

any change

Files:
 
grome:
is the same any change

It's strange cause each time you start your tests from 1st of moth Ea always lose. Start testing from 2nd of june and you will see. Don't know why it's like that.

Bongo - you're right. It was something with my test:) sorry for that

 
pawiksd:
Please explain me why I get different results for H4 and M5?

Check your self if you don't believe me;)

cheers

That surprised me. Must be something wrong with your MT4.

Period is M5, TM 5. Attache to M5 and test!

 

Hello

I have tried differents TF but the result is the same.

I want to know if some know Terminator EA..

i tried to check if there are some posts, but not have found anyone

I have made backtest with incredible resuls.

For put it here i need to ask o is free??

Nb: sorry for my bad english, is not my language, i am italian

 

Codes:

double iMA( string symbol, int timeframe, int period, int ma_shift, int ma_method, int applied_price, int shift)

If u will change second 5, u can attache to any time frame:

double diClose0=iClose(NULL,5,0);

double diMA1=iMA(NULL,5,5,0,MODE_SMA,PRICE_OPEN,1);

double diClose2=iClose(NULL,0,0);

double diMA3=iMA(NULL,5,4,0,MODE_SMA,PRICE_OPEN,1);

New Codes:

double diClose0=iClose(NULL,0,0);

double diMA1=iMA(NULL,0,5,0,MODE_SMA,PRICE_OPEN,1);

double diClose2=iClose(NULL,0,0);

double diMA3=iMA(NULL,0,4,0,MODE_SMA,PRICE_OPEN,1);

 
madcedar:
Here is a new version that has a rudimentary check for broker trade conditions when the ea is initializing. I guess most brokers have a limitation on stop loss or take profit targets being set too close to the market price when the trade is placed (I'm also guessing ECN brokers don't have this limitation). During initialization, the ea will check the brokers requirements and display a message if the stop loss or profit targets are too tight. The message box will also display what the broker accepts as a minimum target. Once the message box is displayed the ea will close and you will have to start it again and alter the profit targets (as usual, using the dialog box) to satisfy your broker.

There is one new input for the ea:

gb_addSpread = FALSE

Adds the spread of the currency pair to the profit target.

Note: Seemed like a good idea at the time but after thinking about it I don't think it's necessary so I set the default value to false.

Changed the reverseLogic switch default to false so it behaves the same way as the original es_capelast.

Hi Madcedar,

Thanks for your work.

Is it necessary to optimize the ea per pair or simply use the default settings for all pairs?

Arjan

 

optimization is rather annoying. why optimize? market can change at any time!

Reason: