Please fix this indicator or EA - page 133

 
12BPRO:
Dear SIR MLADEN,

Thanks for this suggestion, didn't think of it that way...

any way i have got the output of the condition fulfillment...

What is the next step.......???

yours truly

AZRUL...

Dear SIR MLADEN,

I have already found why the EA is not ORDERING....

if ((GBP > AUD))

{

Comment("condition 1 OK");

//CloseOrderCheck("GBPAUD",Buylots, slipageOrder);

ManageBuy("GPBAUD",Buylots,takeProfitT,stopLoss,slipageOrder,magicNumber,"EA Console");

}

[/PHP]

And edit this to the code...

[PHP]

if ((GBP > AUD))

{

Comment("condition 1 OK");

//CloseOrderCheck("GBPAUD",Buylots, slipageOrder);

ManageBuy("GPBAUD",OP_BUY,Buylots,takeProfitT,stopLoss,slipageOrder,magicNumber,"EA Console");

}

Now it is sending Order.......... (......LEARNING..........)

The next step is to CLOSED those ORDER....

Thanks for your time SIR...

yours truly

AZRUL....

 

please someone help to Edit a EA

I have found this EA from my friend. This ea use martingale system & Hedging system together. I used this for some month. It work well. But if market go to big trend it loss entire account. So i want to reverse trading from this ea. Please someone add reverse trading to this ea. Use stop loss according to take profit. I have another EA to close trades when account reach to profit target.

profit_genius_long.mq4profit_genius_short.mq4

Installation instruction

open GBPUSD 2 charts with 1M time frame

add profit genius long to one chart set long only from common tab

add profit genius short to another chart set short only from common tab.

 

Dear Codes GURU,

I would be really great full if someone could have a look at my MULTIPAIR EA as attached...

I am having problem with....

1) Stop Loss and Take Profit... especially JPY

2) Closing Order function.....

3) The EA is not stable...

Hope you have the time.... PLEASE...

yours truly

AZRUL...

Files:
 

ea_consolex2gv_2.mq4ea_consolex2gv_2.mq4

12BPRO:
Dear Codes GURU,

I would be really great full if someone could have a look at my MULTIPAIR EA as attached...

I am having problem with....

1) Stop Loss and Take Profit... especially JPY

2) Closing Order function.....

3) The EA is not stable...

Hope you have the time.... PLEASE...

yours truly

AZRUL...

Hi AZRUL,

Some errors corrected. Test it now. Not sure 100% of the result.

As info:

the uninit reasons are listed below

REASON_REMOVE 1 Expert removed from chart.

REASON_RECOMPILE 2 Expert recompiled.

REASON_CHARTCHANGE 3 symbol or timeframe changed on the chart.

REASON_CHARTCLOSE 4 Chart closed.

REASON_PARAMETERS 5 Inputs parameters was changed by user.

REASON_ACCOUNT 6 Other account activated.

Sincerely.

Tomcat98

Files:
 
Tomcat98:
ea_consolex2gv_2.mq4ea_consolex2gv_2.mq4

Hi AZRUL,

Some errors corrected. Test it now. Not sure 100% of the result.

As info:

the uninit reasons are listed below

REASON_REMOVE 1 Expert removed from chart.

REASON_RECOMPILE 2 Expert recompiled.

REASON_CHARTCHANGE 3 symbol or timeframe changed on the chart.

REASON_CHARTCLOSE 4 Chart closed.

REASON_PARAMETERS 5 Inputs parameters was changed by user.

REASON_ACCOUNT 6 Other account activated.

Sincerely.

Tomcat98

Dear Tomcat98,

Thank you very much SIR for your time and effort in rectifying my messy EA....

I have loaded it... so far it is stable and open up a stop loss and take profit...

Now I have to wait for the closing part.... fingers cross.... (and also linecross)

Hopefully everthing goes well, and I could continue editing the condition Ordering and closing part of the EA in more detail....

Please to have you around...

yours truly

AZRUL...

 
12BPRO:
Dear Tomcat98,

Thank you very much SIR for your time and effort in rectifying my messy EA....

I have loaded it... so far it is stable and open up a stop loss and take profit...

Now I have to wait for the closing part.... fingers cross.... (and also linecross)

Hopefully everthing goes well, and I could continue editing the condition Ordering and closing part of the EA in more detail....

Please to have you around...

yours truly

AZRUL...

Dear Tomcat98,

Thank you again SIR, just wanted to tell that the EA manage to Closed Orders... with just a bit of modification by deleting this part Order = SIGNAL_CLOSEBUY... and this .... Order = SIGNAL_CLOSEBUY........

Now I definitely can continue on my EA....

Thanks again SIR....

yours truly

AZRUL...

 

Dear Codes GURU,

The error 130 came up again.... don't know why???

I only add a few more pair to trade....

PLEASE SOMEONE HELP... SORRY FOR THE TROUBLE

yours truly

AZRUL

 
12BPRO:
Dear Codes GURU,

The error 130 came up again.... don't know why???

I only add a few more pair to trade....

PLEASE SOMEONE HELP... SORRY FOR THE TROUBLE

yours truly

AZRUL

Error 130 happens in two cases :

1) when stop loss or take profit is too close to the current price (it is smaller than the MODE_STOPLEVEL allows by the broker)

2) when your broker is an ecn/stp type of broker, in which case you have to open an order without stop loss and take profit (both must be 0) and only once when the order is opened you have to modify the orders stop loss and/or take profit

 
mladen:
Error 130 happens in two cases :

1) when stop loss or take profit is too close to the current price (it is smaller than the MODE_STOPLEVEL allows by the broker)

2) when your broker is an ecn/stp type of broker, in which case you have to open an order without stop loss and take profit (both must be 0) and only once when the order is opened you have to modify the orders stop loss and/or take profit

Dear SIR MLADEN,

Although I have set 0(zero) in my EA, it still open up a Stop Loss and Take Profit...

I really don't know why is this EA reacting this way.... It is very frustrating ... It is like a faulty coding....

COULD YOU PLEASE RECTIFY THIS EA IF YOU GOT TIME....

yours truly

AZRUL...

 
12BPRO:
Dear SIR MLADEN,

Although I have set 0(zero) in my EA, it still open up a Stop Loss and Take Profit...

I really don't know why is this EA reacting this way.... It is very frustrating ... It is like a faulty coding....

COULD YOU PLEASE RECTIFY THIS EA IF YOU GOT TIME....

yours truly

AZRUL...

AZRUL.

Try it out : ea_consolex2gvxtomcat_1.01.mq4