See what's there to work with:
for (int i = 0 ; i<Bars;i++){ if( iCustom(Symbol(),Period(),"ZigZag",12,5,3, MODE_HIGH, i) != 0) Print("High i = ", i, " ", iCustom(Symbol(),Period(),"ZigZag",12,5,3, MODE_HIGH, i)); if( iCustom(Symbol(),Period(),"ZigZag",12,5,3, MODE_LOW, i) != 0) Print("Low i = ", i, " ", iCustom(Symbol(),Period(),"ZigZag",12,5,3, MODE_LOW, i)); }

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 want to just print simple ZigZag previous High and Low values from shift 0 to 5 But I get zeros
for (int i = 0 ; i<=5;i++){
Print(iCustom(Symbol(),Period(),"ZigZag",12,5,3, MODE_HIGH, i));
Print(iCustom(Symbol(),Period(),"ZigZag",12,5,3, MODE_LOW, i));
}
Can Any body help me Im getting desperate. PLSSSSSSSSSSSSS HELPPPPPPPPPPPPPPPP