N_lang-12: Please help and where should i call the function??
|
![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
Hello, am a newbie in programming and i had problem in creating a function that auto adjust profit such that when i open an order, StopLoss is(+/-) 50 pips.
- for OP_BUY and + for sell order. i consider this to be initial stopLoss .
Stoploss should always be 50 pips from current price and increases as the current price increases && stops moving when market price(bid/ask) reverses. i.e bid-50;
Please help and where should i call the function??