Login Page - Create Account

Support Board


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



[Programming Help] - Tics distance from a moving average

View Count: 802

[2019-01-23 14:36:09]
User469312 - Posts: 95
I am trying to use the color background function for a study. On ZB looking to have an alert when closing price is > than a specific amount of tics over a specific moving average.
[2019-01-25 15:05:37]
bradh - Posts: 859
I am trying to use the color background function for a study. On ZB looking to have an alert when closing price is > than a specific amount of tics over a specific moving average.

Given:
MA = ID1.SG1
Number of ticks above to color background = 4

Study: Color Background Based on Alert Condition

You need an alert formula that compares the close (C) with the MA (ID1.SG1) plus the number of ticks (4) times the Tick Size ("TICKSIZE")

Alert Formula: =C>(ID1.SG1 + 4*TICKSIZE)
[2019-01-25 15:55:51]
User469312 - Posts: 95
Thank You so much.

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

Login

Login Page - Create Account