Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 20:52:33 +0000



Post From: dot on candle doing new high or low

[2013-11-27 14:45:12]
Sawtooth - Posts: 4120
This can be done with two instances of the Color Bar Based On Alert Condition study, and a hidden Daily OHLC study.

1) Add the Daily OHLC study.
-Check Hide Study
-Set the Reference Days Back to 0
-Set the Graph High and Low Historically to Yes

2) Add two instances of the Color Bar Based On Alert Condition study.
-Set the Output When Condition True to Use Input Data
-Set the Input Data to High in one instance and Low in the other
-Choose the Draw Style and Colors
-Put these formulas in the Alerts tab:
-High formula:
=OR(ID1.SG2>ID1.SG2[-1],BARDATE>BARDATE[-1])
-Low formula:
=OR(ID1.SG3<ID1.SG3[-1],BARDATE>BARDATE[-1])

This assumes the hidden Daily OHLC is ID1. Edit the formulas as needed to the correct ID# of the hidden Daily OHLC study
Date Time Of Last Edit: 2013-11-28 19:37:41