Login Page - Create Account

Support Board


Date/Time: Fri, 19 Apr 2024 17:01:12 +0000



[User Discussion] - -Sloope of EMA

View Count: 1634

[2015-03-28 21:30:12]
tellerbe - Posts: 109
Is there a study that will measure the slope of say the EMA and show it on the screen? The slope would be measured between the last close and say the fourth or fifth from last.
[2015-03-28 22:48:28]
Sawtooth - Posts: 3973
You could do it with a combination of studies. Try this:

1) Add another EMA of the same length, and hide it.
2) Add the Study Subgraphs Difference study
-Set the Input Study 1 to the original EMA
-Set the Input Study 2 to the added EMA
-Set the Study 2 Subgraph Offset to 4 or 5

This will plot a line of the value difference in another chart region.
If you only want the current bar difference displayed as a number, hide the Difference study and add the Text Display for Study study.

[2015-03-29 00:19:11]
i960 - Posts: 360
Wouldn't an EMA over a higher period approach a similar thing?
[2015-03-29 09:23:31]
ehlaban - Posts: 50
You can use a momentum or ROC indicator and instead of price as input, use the EMA.
The Momentum indicator compares where the current price is in relation to where the price was in the past.

http://www.sierrachart.com/index.php?page=doc/doc_TechnicalStudiesReference.html#s35

See also Momentum with Moving Average.
[2015-03-29 14:43:16]
Marmany - Posts: 301
Tellerbe, attached study does what you require. It measures angle between last bar and average of previous 2 closes. Useful for comparing price action in different markets.
You can easily modify to calculate angle over a larger range of bars.
attachmentEMAangle.cpp - Attached On 2015-03-29 14:41:13 UTC - Size: 1.94 KB - 389 views
attachmentEMAangle.dll - Attached On 2015-03-29 14:41:53 UTC - Size: 15 KB - 368 views
[2018-12-06 14:28:00]
pfsthib1 - Posts: 1
Nice
Date Time Of Last Edit: 2018-12-06 14:28:26

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

Login

Login Page - Create Account