Login Page - Create Account

Support Board


Date/Time: Fri, 24 Jan 2025 00:54:09 +0000



[Programming Help] - Difference between EMA's

View Count: 903

[2018-12-16 10:18:38]
User604531 - Posts: 4
Hello!
Is there way to make formula for "Color bar based on alert",
where is alert is the difference between EMA's >=1.5 points ?
For example: value of 5 ema is 2600
value of 10 ema is 2601.5
Thanks in advance.
[2018-12-16 17:48:47]
Sawtooth - Posts: 4162
You would need to specify the difference in ticks, not points, e.g. the ES, where a point is 4 ticks:

=ABS(ID1.SG1-ID2.SG1)>=TICKSIZE*6

where one EMA is ID1 and the other is ID2; edit as needed.
[2018-12-17 06:27:26]
User604531 - Posts: 4
Thank you Tom!

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

Login

Login Page - Create Account