![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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
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,
MikeMike
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.