Support Board
Date/Time: Thu, 06 Feb 2025 23:02:05 +0000
[Programming Help] - Highest high/lowest low alert
View Count: 1162
[2020-05-13 19:41:04] |
User236880 - Posts: 15 |
hi, im trying to set up an alert that shows when a price/subgraph is close to the highest high/lowest low over N bars (ie. price/subgraph is 80% of the way to the N bars high/low) i see the example: Alert when Close Within 25 Percent of Bottom of Chart Bar: Enter the following Alert Condition Formula on a Color Bar Based on Alert Condition study: AND(C >= L, C <= ((H - L) * .25 + L) ), but am having a hard time applying it to the highest high/lowest low over N bars study. or is there another study that can show this (70, 80, 90% to the high/low)? |
[2020-05-13 19:50:36] |
Ackin - Posts: 1865 |
is there another study that can show this (70, 80, 90% to the high/low)?
The result should be in the numbers? Text? or Lines? |
[2020-05-13 20:00:07] |
User236880 - Posts: 15 |
numbers or text. something i can see in the study summary that the price/subgraph is close to the highest high/lowest low
|
[2020-05-13 20:10:57] |
Ackin - Posts: 1865 |
numbers or text. something i can see in the study summary that the price/subgraph is close to the highest high/lowest low
ok, I'll create study for this. If you want, you can download it tomorrow morningcontact link: https://www.sierrachart.com/UserControlPanel.php?page=StudyStore&SCDLLName=zyp_download_free i see the example: Alert when Close Within 25 Percent of Bottom of Chart Bar: Enter the following Alert Condition Formula on a Color Bar Based on Alert Condition study: AND(C >= L, C <= ((H - L) * .25 + L) ), but am having a hard time applying it to the highest high/lowest low over N bars study.
Alert for the first Colorbar Alert study =AND(C > ID1.SG2,C >= (ID1.SG1-(ID1.SG1 - ID1.SG2) * .20)) Alert for the second Colorbar Alert study =AND(C < ID1.SG1,C <= (ID1.SG1-(ID1.SG1 - ID1.SG2) * .80)) Where ID1 is highest high/lowest low over N bars study |
To post a message in this thread, you need to log in with your Sierra Chart account: