Login Page - Create Account

Support Board


Date/Time: Fri, 24 Jan 2025 21:24:08 +0000



Post From: Tics distance from a moving average

[2019-01-25 15:05:37]
ForgivingComputers.com - Posts: 990
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)