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
Yes, it was like that, but I want a Break Even with fixed values 40/10, 60/20, 90/30 then I want the Trailing Stop to take over the work after 150/40 then he follows with 10 points each time he updates his value.
I understand . Try this function that does not use specified values but calculates the 2 values . (you need to add the modify codes tho)
This is how I thought it would look.
Basically, You use the the if-else conditional operator when you have to make choices. The most basic formal syntax is/prototype is like:
In this case, the first structure can be used to make decisions based on dual choices, while the second structure can be used to make ternary or more choices in this case.
It gives "openings"
At the bottom of the code it starts with an if statement,
if(type == ORDER_TYPE_BUY && last_tick.bid > openprice + profit && (NormalizeDouble(SL, Digits()) <= 20 || openprice > SL)),
where it says 20 , I changed them all, Small = 0, Medi = 10, Large = 20, I have a problem with Large, he can't keep the value of 30 pips so he falls back to 20 pips, so number 2 Medi in the Trade, he can keep it, but not number 3 Large 30 pips, why?