Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 10:32:10 +0000



Post From: Is this a correct Alert Formula for Open Bar 3 times greater than ATR?

[2018-09-08 21:24:49]
Sawtooth - Posts: 4000
Add the Color Bar Based On Alert Condition study, and put the formula in its Alerts tab.
(You must include the ID# of the ATR study; edit as needed):
=O*3>ID1.SG1
This will allow you to see the colored price bars when it is TRUE. (You won't have to use Replay to see if it is working.)

How do you adjust that formula so that it will only consider the X number of previous bars?
The way to do this with a Simple Alert is to use the Color Bar Based On Alert Condition study and set the 'Number of Bars To Calculate' to your requirements.