
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,
I wrote a code, for trial purpose, which:
1>, draw a line showing zigzag swing high/low price,
2>, and print out price of peak1, peak2, peak3 and peak4 (from right to left).
The code is like:
Now step 1> works fine,(when not swing peak, value is 0), but step 2> always gives me zero for all 4 pk price.
Somebody, please give me a hand. Is it related to Array?