aliebnehoseini:
hi guys
i use this indicator <Deleted>
for icustom, but print zero (0) for me
help me for solve this problem
thnaks
my code :
You can try a couple of things.
Have you the directory right for the indicator \\Market etc ? Do other iCustom indicators return correct values?
If the indicator is any kind of zigzag, its a bit tricky, standard ZigZag returns mostly zeros unless theres a change in direction.
As an example, this code should display all the iCustom values of standard zigzag for the last 20 bars - most will be zeros.
So long as there is a change in zigzag then it will show price at that bar only.
string txt=""; for(int y=0;y<20;y++){ // bars txt=StringConcatenate(txt,"\n",y," "); for(int x=0;x<7;x++) // indicator values at bar txt=StringConcatenate(txt,iCustom(Symbol(),Period(),"ZigZag",20,5,3,x,y)," "); } Comment(txt);
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
hi guys
i use this indicator <Deleted>
for icustom, but print zero (0) for me
help me for solve this problem
thnaks
my code :