Hi you have a bug in your code:
iADX(NULL,0,period_adx,PRICE_CLOSE,MODE_MINUSDI,0 && iADX(NULL,0,period_adx,PRICE_CLOSE,MODE_MAIN,0)
if(
iADX(NULL,0,period_adx,PRICE_CLOSE,MODE_MAIN,0)>iADX(NULL,0,period_adx,PRICE_CLOSE,MODE_PLUSDI,0) &&
iADX(NULL,0,period_adx,PRICE_CLOSE,MODE_MAIN,0)>iADX(NULL,0,period_adx,PRICE_CLOSE,MODE_MINUSDI,0)&&
iADX(NULL,0,period_adx,PRICE_CLOSE,MODE_PLUSDI,0)>iADX(NULL,0,period_adx,PRICE_CLOSE,MODE_MINUSDI,0) &&
iADX(NULL,0,period_adx,PRICE_CLOSE,MODE_MAIN,0) < 20
)
What are Moving Averages used in the above chart?
ismail77:
okay sire i think that the bug i will change
if(
iADX(NULL,0,period_adx,PRICE_CLOSE,MODE_MAIN,0)>iADX(NULL,0,period_adx,PRICE_CLOSE,MODE_PLUSDI,0) &&
iADX(NULL,0,period_adx,PRICE_CLOSE,MODE_MAIN,0)>iADX(NULL,0,period_adx,PRICE_CLOSE,MODE_MINUSDI,0)&&
iADX(NULL,0,period_adx,PRICE_CLOSE,MODE_PLUSDI,0)>iADX(NULL,0,period_adx,PRICE_CLOSE,MODE_MINUSDI,0) &&
iADX(NULL,0,period_adx,PRICE_CLOSE,MODE_MAIN,0) < 20
)
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
sideway trend indicator:
Author: reza rahmad