![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
I have written a code for trying to enter a trade and exit a trade based on an fractal indicator.
however, im only able to exit trade with trade profit but unable to exit a trade with the fractal. for example...... :
-Enter buy trade with an up arrow , and exit the trade when down arrow shows up.
-Entering Sell trade with a down arrow, and exit trade when up arrow shows up .
Guidance from anyone are greatly appreciated.
Thank you