Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 07:20:17 +0000



Post From: Alert condition to draw a Vertical line on New High/Lows using the Daily OHLC study

[2024-10-30 16:00:52]
User357489 - Posts: 72
for example, when
=AND(ID23.SG1[0] > ID23.SG1[-1], ID23.SG41[0]<ID23.SG41[-1],L[0]<L[-1],ID23.SG10<0,OR(AND(ID23.SG1[0]>ID23.SG1[-1],ID23.SG10[0]>ID23.SG10[-1]),AND(ID23.SG12[0]>ID23.SG12[-1],ID23.SG13[0]>ID23.SG13[-1])))
is true, a white triangle is displayed.

Likewise when,
=AND(ID23.SG1[0] < ID23.SG1[-1],ID23.SG41[0] > ID23.SG41[-1],H[0] > H[-1],ID23.SG10 >0,OR(AND(ID23.SG1[0<ID23.SG1[-1],ID23.SG10[0<ID23.SG10[-1]),AND(ID23.SG12[0]>ID23.SG12[-1],ID23.SG13[0]>ID23.SG13[-1])))
is true a purple triangle is displayed, as per the CBBOAC.

When either of these alert conditions are met, i want the study to auto draw an extending rectangle drawstyle around the range of the candle in which the alert conditions are true.

Please see attached a manually drawn example, note where i colored the areas green this is "active" or the most recent instance of my alert condition, i want this to turn "blue" when new alert conditions are met, ie instead of resetting the drawing, turn diff color to indicate the area being "older", likewise for red being active and orange older.
imageScreenshot 2024-10-30 091347.png / V - Attached On 2024-10-30 16:00:43 UTC - Size: 81.46 KB - 14 views