I am transitioning from EasyLanguage, so please excuse any poorly structured syntax in this thread.
1. I am using the default ZIGZAG indicator on CL set to 0.50pts per new zigzag line.
2. I would like to export data from the zigzag transitions: time, high price (if zigzag up), low price (if zigzag down), and zigzag number (to answer the statement, "this is the n-th zigzag on the chart") into a CSV file.
3. I would like to create an "automatic" fibonacci retracement based on recent zigzag highs/lows. How do I call the n-th zigzags to calculate this?
If this indicator has already been created, then please link! If not, I will gladly supply my source to this forum.
Thanks much!!

Comment