Login Page - Create Account

Support Board


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



Add Exponential Moving Average to a chart, starting on the first bar

View Count: 2198

[2019-01-14 23:53:22]
DarthTrader - Posts: 2
Hello,

I would like to add an EMA to a ES chart that starts on the first bar of the Regular Trading hours session (8:30am Central). I would like this EMA to start fresh on the first bar, in case of a gap in the previous days price action.

Is this possible with Sierra?

Thanks!
[2019-01-15 00:27:52]
DarthTrader - Posts: 2
OK, so I found this:

Reset a Moving Average at the beginnig of each day session ?

This sounds like what I want, but I am not sure what I need to get this to work.

I can have both the MovAvg Exponential and Average - Continuous studies added to the same chart, correct?

Then I need to tell Average - Continuous reference MovAvg Exponential study, right?

In Average - Continuous, I see:

Based on: what?

Input Name Study and Subgraph to Reference: What should I put here?

---

I have tried

Based on: main price graph
Study and Subgraph to Reference: MovAvg - Exp

However, this average is very flat and does not track price action at all.
[2019-01-15 01:10:21]
anpy - Posts: 35
Just an idea: create a new chart, set Session Time to start at 8:30am and Days to Load to 1. Add the EMA. Back to your main chart, add the study "Study/Price Overlay" and reference the second chart's EMA study.

For some reason the resulting EMA is completely different from the one the Average Continuous study produces, not sure why this is.
[2019-01-15 05:27:27]
Sawtooth - Posts: 4162
This custom spreadsheet study might do what you want:
https://www.sawtoothtrade.com/free-stuff-18.html

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

Login

Login Page - Create Account