Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 02:00:22 +0000



Post From: alert based on slope of EMA

[2016-04-01 00:07:45]
Sawtooth - Posts: 4000
One way to do it is to use the Study Angle study to get the angle of the EMA in degrees:
Add the Study Angle study.
-set the 'Based On' to the EMA study,
-the 'Input Data' to 'Avg.

Then add the Color Bar Based On Alert Condition study,
-Set the Based On to the EMA study
-Set the Chart Region to 1
-Set the 'Output When Condition True' to 'Use Input Data'
-Set the 'Input Data' to 'Avg'
-Set the Draw Style to 'Line - Skip Zeros'
-Use a formula like this on the Alerts tab:
=ID2.SG1>10
where the Study Angle study is ID2.

Add another color bar study for negative angles, with this formula:
=ID2.SG1<-10