Anyone could help : how to set up script to CLOSE POSITION by indicator, not by STOPLOSS. eg : We have setting up that OPEN BUY when MACD_MAIN > MACD_SIGNAL and OPEN SELL when MACD_MAIN < MACD_SIGNAL.
And then, it automatically CLOSE THIS POSITION when MACD_MAIN < MACD_SIGNAL. Then, proceed with OPEN SELL as this condition for OPEN SELL also.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi All,
Anyone could help : how to set up script to CLOSE POSITION by indicator, not by STOPLOSS. eg : We have setting up that OPEN BUY when MACD_MAIN > MACD_SIGNAL and OPEN SELL when MACD_MAIN < MACD_SIGNAL.
And then, it automatically CLOSE THIS POSITION when MACD_MAIN < MACD_SIGNAL. Then, proceed with OPEN SELL as this condition for OPEN SELL also.
Thank you.Hi, can you let me know what is the code for indicator for the following condition
1) Password protection code
2) Trial period protection
3) Limited account number protection(indicator works only with the trading account number)
Your guidance is very much appreciated
Thanks
Look at this thread: https://www.mql5.com/en/forum/174194