rooky06: i can't fint the output (only 2 buffers,
Why do you expect anything other than two?#property indicator_buffers 2 #property indicator_color1 clrBlue #property indicator_color2 clrRed
Just get the value(s) of the indicator(s) into the EA and do what you want with it.
You should encapsulate your iCustom calls to make your code self-documenting.
Detailed explanation of iCustom - MQL4 and MetaTrader 4 - MQL4 programming forum
whroeder1:
Why do you expect anything other than two?
Just get the value(s) of the indicator(s) into the EA and do what you want with it.
You should encapsulate your iCustom calls to make your code self-documenting.
Detailed explanation of iCustom - MQL4 and MetaTrader 4 - MQL4 programming forum
Why do you expect anything other than two?
Just get the value(s) of the indicator(s) into the EA and do what you want with it.
You should encapsulate your iCustom calls to make your code self-documenting.
Detailed explanation of iCustom - MQL4 and MetaTrader 4 - MQL4 programming forum
Sorry my english is not good but i can catch the 2 buffers.
I need to catch the 2 lines in the main chart
rooky06: I need to catch the 2 lines in the main chart
Those are objects, you can't use iCustom.No need to catch them, just look at the buffers.
SetIndexBuffer(0,SigBulls); SetIndexBuffer(1,SigBears); : SetIndexBuffer(8,b1); SetIndexBuffer(9,b2); : if (SigBulls[i]>0 && SigBulls[i+1]==0 && b2[i]>0) DrawArrow(i,"up"); if (SigBears[i]>0 && SigBears[i+1]==0 && b1[i]>0) ...
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello
I would like to use this indicator (Absolute Strenght Histogram.mq4) in an EA.
I would like to catch the AlertLine Signal (vertical lines on main chart) but i can't fint the output (only 2 buffers, the lines in the separate window).
How can I do ?
Thank you for help