Hello happy people, I want to use points to set tp and sl instead of price.
I intend modifying my trade tp and sl with point instead of price number inside an OBJ_EDIT. for example just like modifying a 30 point tp in an active trade and the price number is automatically set. Any help with the calculation or lines of code in getting this done. Ps. I don't have a line of code written on this, I intend getting help here to sort out my problem.
This article example will help you
![The checks a trading robot must pass before publication in the Market The checks a trading robot must pass before publication in the Market](https://c.mql5.com/36/52/the-checks-a-trading-robot-must__3.jpg)
- www.mql5.com
Hello happy people, I want to use points to set tp and sl instead of price.
I intend modifying my trade tp and sl with point instead of price number inside an OBJ_EDIT. for example just like modifying a 30 point tp in an active trade and the price number is automatically set. Any help with the calculation or lines of code in getting this done. Ps. I don't have a line of code written on this, I intend getting help here to sort out my problem.
The truth of the matter is that most coders also have problem and if they sort out your problem who would solve theirs. Just like most married women will say to their husbands "my money is my money but your (husband's) money is our money". By extension, you are also saying your problem is our (forum programmers) problem but your money is your money.
My advice: If you already have an EA (or lines of code) that uses price for your trading strategy then post it, with that you may luckily receive help on modification requested. But if none exists, then you must be extraordinarily lucky to have your strategy coded free. You might need to pay someone to do the coding because time is money since programmers on the forum also spent time, and sometimes money, to learn coding.
Alternatively, you can start learning to code from these links:
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello happy people, I want to use points to set tp and sl instead of price.
I intend modifying my trade tp and sl with point instead of price number inside an OBJ_EDIT. for example just like modifying a 30 point tp in an active trade and the price number is automatically set. Any help with the calculation or lines of code in getting this done. Ps. I don't have a line of code written on this, I intend getting help here to sort out my problem.