MT4 Programming Requests - page 3

 

Does anyone have an EA that will scale in and out of trades? It seems very simple but I do not know how to code. I am looking for the following operation:

Open Position

If Price Increases (X)

Then Sell (Y lots)

If Price Decreases (X)

Then Buy (Y lots)

Where X = number of pips

and Y=portion of open position

Does anyone have code that will do this or know where I can find it in the forum?

Thank you for any assistance you can provide.

Best Regards,

Mike

 
a1arunner:
Does anyone have an EA that will scale in and out of trades? It seems very simple but I do not know how to code. I am looking for the following operation:

Open Position

If Price Increases (X)

Then Sell (Y lots)

If Price Decreases (X)

Then Buy (Y lots)

Where X = number of pips

and Y=portion of open position

Does anyone have code that will do this or know where I can find it in the forum?

Thank you for any assistance you can provide.

Best Regards,

Mike

Mike

I am afraid that you did not test that strategy

Rules are too vague to be coded. Increase from what? Decrease from what? No exit rules. The way it is defined, that EA looks like a shortcut to margin call. I advice you to rethink the rules for your trading strategy

 

Hi there and thanks a lot for those 2 indicators PipeServer and PipeReceiver.

I tried to attach them on chart. The new version of PipeReceiver does work but it seems that the PipeServer version does not work...

Maybe it was compiled in an older version of MT4 ?

Would you be so kind and compile and upload or send it to me ?

 

Thanks a lot. 

Reason: