Login Page - Create Account

Support Board


Date/Time: Thu, 23 Jan 2025 21:23:06 +0000



[Programming Help] - Difference between EMA's

View Count: 902

[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