i have an indicator, voltychannel and there are 2 color lines displayed by this indicator, how do i change the orders to buy if the color of the line is blue and to sell if the color of the line is red,
i tried the above code, thinking the above code will work if the line is blue and not red, "1 for blue" and "0 for red"..but the above code didnt work, can anyone provide me any idea??
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.
i have an indicator, voltychannel and there are 2 color lines displayed by this indicator, how do i change the orders to buy if the color of the line is blue and to sell if the color of the line is red,
following is the screenshot of the chart window
,
i tried the above code, thinking the above code will work if the line is blue and not red, "1 for blue" and "0 for red"..but the above code didnt work, can anyone provide me any idea??