Just press F1 in the editor and search for iBands - there is all you need!
Jatin Patel:
How to get +DI and -DI line value for ADX EA?
Your code needs to pull from these buffers. iADX has three buffers, but your code is only pulling from one.
So, you need two additional arrays, one to hold +DI and one to hold -DI
Then replicate this same code for both values:
ArraySetAsSeries(m_Array, true); if (CopyBuffer(m_Handle,0,0,1,m_Array) < 0) return (false); val = m_Array[0];
It may be helpful to see how the iADX indicator is derived. The source code is here:
https://www.mql5.com/en/docs/indicators/iadx
Alain Verleyen:
Sure i will take care bro , :)
Please don't flood the forum with similar question for different indicators.
I removed the other topics.
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 found out ADX buy sell condition but i am confuse little.
BUY– indicator > 20 and +DI line crossed -DI line from bottom-up
SELL– indicator > 20 and +DI line crossed -DI line from above-down
How to get +DI and -DI line value for ADX EA?