Login Page - Create Account

Support Board


Date/Time: Sat, 10 May 2025 22:38:14 +0000



Post From: Zig Zag and Study/Price Overlay

[2016-01-13 18:01:35]
sigmadict - Posts: 95
Hello,
I would like to extract the text from the "Zig Zag" study (HH, HL, LH, LL), from a Reversal Bars chart of "NQ", to a Reversal Bars chart of "ES" inside the same Chartbook.
Both charts have the same template and number of reversal bars, and my goal is to get a signal (star or whatever) into my destination chart.
I would like to know if you could help my finding an efficient way to do that.

I have tried to program the "Color Bars based on Alerts" study inside the source chart, and then trying to import it threw the "Study/Price Overlay" study inside the destination chart.

It works (I can manage to generate the text alert), but it does not seem to be the most efficient way to do that. I have been spending some time now, and facing some difficulties to program the alert from the "Color Bars based on Alerts" related to the "Zig Zag" study.



To clarify things up a little bit, my process consist of:

1-Generating Zig Zag study inside source chart
2-Coding an alert inside the study Color Bars based on Alerts, related to the Zig Zag study, also inside the source chart
3-Using the study Price/Study Overlay inside the destination chart to import the alert that I coded to generate the initial Zig Zag study text (because I can't find a better way to do it).

I feel this is complicated and that there should be an easy way to complete this task.
Also, I could not make the logic of the code to work, but I could manage to import the text in the wrong HH, HL, LH, LH candles.

Have a look at the picture.
You can see that there is one alert missing in the destination chart, and one wrong alert in the source chart (HH vs LH)

Regards

http://www.sierrachart.com/image.php?l=145257336372.png
http://www.sierrachart.com/image.php?l=145257342836.png