Login Page - Create Account

Support Board


Date/Time: Thu, 31 Oct 2024 12:15:44 +0000



period high and low

View Count: 1357

[2015-04-17 04:11:52]
User15414 - Posts: 20
Can someone point me to a study that arrows a new high or low for x number of bars?
[2015-04-17 14:47:48]
Sawtooth - Posts: 4103
There is no single study that will do this, but you can use a combination of studies.

Try this:
1) Add the Highest High/Lowest Low Over N Bars study, check Hide Study.
2) Add the Color Bar Based On Alert Condition study
-set the 'Output When Condition True' to 'Use Input Data'
-set the 'Input Data' to the desired location of the arrow at new high.
-set the Draw Style to an arrow
-put this formula on the Alerts tab: =ID1.SG1<>ID1.SG1[-1]
3) Add another Color Bar Based On Alert Condition study
-set the 'Output When Condition True' to 'Use Input Data'
-set the 'Input Data' to the desired location of the arrow at new low.
-set the Draw Style to an arrow
-put this formula on the Alerts tab: =ID1.SG2<>ID1.SG2[-1]

(where the Highest High/Lowest Low Over N Bars study is ID1)
[2015-04-20 04:05:13]
User15414 - Posts: 20
thanks Tom. That did arrow the 5 day high's/low's. I did not describe it right. It would be a bar that's high
is higher than the previous four ands low is higher than the previous 4 bars. I will just have to look into how to program sierrachart.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account