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
With the below script I change the take profits of all open positions in the trade tab. Now I must add the following condiction:
change the take profit if the order profit is lower than 100 pips. I think it is easy, but not for me .....thanks, Scheggia97
qjol, thanks for your reply, I will study your solution later. I have found what I was looking for after one week of experiments ....
I have attached the file "TakeProfitMoving" maybe it could be helpful for some beginner like me. This script change the take profit value if the current price of a pair is less than the setting value(tp_level). It works on two different pairs but it can be enlarged by adding other pairs. Thanks again qjol, good trading to everybody !
Scheggia97
working with doubles