Eggo:
You already have a thread about this, please use it:
https://www.mql5.com/en/forum/141265
This is my code. I want to partial exit on Fibonacci 38.2, 61.8 and 127.2%.
After TP1 partial close, my tp2 ant tp3 values becomes 0 and below if conditions becomes true because Bid> tp2 and tp3. But really Bid is < tp2 and tp3 and he have to wait while second condition would be true.
So, how to get tp2 and tp3 values from Fibonacci, that after first close order function they don't be zero?
Thank you.
![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
This is my code. I want to partial exit on Fibonacci 38.2, 61.8 and 127.2%.
After TP1 partial close, my tp2 ant tp3 values becomes 0 and below if conditions becomes true because Bid> tp2 and tp3. But really Bid is < tp2 and tp3 and he have to wait while second condition would be true.
So, how to get tp2 and tp3 values from Fibonacci, that after first close order function they don't be zero?
Thank you.