I have 2 separate indicators I need to extract data from in a signal indicator.
As an example:
result1[1] = iCustom (0,0,"indicator 1", 0, Buffer Needed from indi 1?, 1);
result2[1] = iCustom (0,0,"indicator 2", 0, Buffer Needed from indi 2?, 1);
if (result 1 && result2 == true)
signal code here
Is this correct? I am new to coding mql and am having some problems with this.
Basically I want to check individual buffers from 2 indicators to determine if a signal exists.
if it does... do the alert.
Thanks in advance for any help.
As an example:
result1[1] = iCustom (0,0,"indicator 1", 0, Buffer Needed from indi 1?, 1);
result2[1] = iCustom (0,0,"indicator 2", 0, Buffer Needed from indi 2?, 1);
if (result 1 && result2 == true)
signal code here
Is this correct? I am new to coding mql and am having some problems with this.
Basically I want to check individual buffers from 2 indicators to determine if a signal exists.
if it does... do the alert.
Thanks in advance for any help.
The trend always ends.