Login Page - Create Account

Support Board


Date/Time: Tue, 14 May 2024 15:57:56 +0000



Post From: Shortcut for Alert Requiring Multipe Prior Bars in MAX Formula

[2016-09-06 23:04:56]
bhetterick - Posts: 8
My bars actually color, but when I dig into the data, it is not coloring the correct bars. For example, if you have a study volume called ID1 with SG1 being volume, and add a Color Bar Based On Alert Condition study with the formula =ID1.SG1=Max(ID1.SG1:ID1.SG1[-19]), you will get bars that color but if you check closely you will see that it is coloring bars other than just the current bar being the max bar of the most recent 20 bars.