Hi, I'm using a indicator who gives me 3 colors.
How can I read that color and set an "if" to buy or sell? exist a function ColorGet()?
Please,
Regards, Bruno
About what do you speak....
Do you know how many indicators you can use giving a color
So your question is for me can't answer this
About what do you speak....
Do you know how many indicators you can use giving a color
So your question is for me can't answer this
deVries,
I use moving average, but it changes color.
turns yellow, green and red.
but I can not read this in code.
I need to make a function that reads a color.
for example.
when changing from yellow to green, BUY
when changing from green to red, SELL
Could you help me?
deVries,
I use moving average, but it changes color.
turns yellow, green and red.
but I can not read this in code.
I need to make a function that reads a color.
for example.
when changing from yellow to green, BUY
when changing from green to red, SELL
Could you help me?
If you don't have the code but only a ex4 file then you can try with iCustom first checking
if there are indicatorbuffers and read what values do they give check on chart
Also look to Objectslist on chart if you can find objects placed by the indicator on your chart
Be sure your indicator is not a repainting one
Hi, I'm using a indicator who gives me 3 colors.
How can I read that color and set an "if" to buy or sell? exist a function ColorGet()?
- Open the data window (control-D) and mouse over the bars and find out which buffers correspond to which color.
- Use iCustom to read the buffers. Detailed explanation of iCustom - MQL4 forum
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi, I'm using a indicator who gives me 3 colors.
How can I read that color and set an "if" to buy or sell? exist a function ColorGet()?
Please,
Regards, Bruno