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,
Recently registered and looking for looking for a weenie bit of advice which I'm sure should be a no brainer for some of you out there.
I already have a custom indicator which I'm perfectly happy with that generates buy and sell signals with blue and red dots respectively.
What I'm looking to do is convert this custom indicator into an expert adviser and add the following conditions:
1. When a red dot is generated close all positions on the chart and enter a short position.
2. When a blue dot appears close all positions on the chart and enter a long position.
If this is a bit of a noob question and there already exists a page or thread with such information kindly redirect me and I'll be on my merry way.