Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
A moving average that is easy to review on an end of day chart
I think you will need to adjust the way you are viewing your setup. As you know, with COBC=false, values of all moving averages will adjust as the bar forms. I base all my decisions on bar close values so I can do just as you suggest which is to look at the chart at the end of day and see the same thing on historical bars as I did in real time.
If I understand what you're wanting, it sounds like you want the open value of the moving average at bar close. Try this and see if it helps. I assume you are using NinjaTrader. If so, add another moving average with the same settings as the one you are using except change the Displacement value from 0 to 1. Be sure you select a different color so you can distinguish between the 2. Displacing the moving average by 1 bar may be what you are looking for.
When COBC = true, the indicator will not paint a value for the current bar on the chart until that bar closes. The indicator will be a bar behind, showing only the last completed bar. This is fine for what you want.
@podski: The question you asked is not simple, many users of modern charting programs do not understand it.
The grandfathers of Technical Analysis used charts that were printed, once the session closed. The values shown on those charts always referred to a complete (daily) session.
With charting programs like NinjaTrader you have the option to display the indicator value for the current unstable period, while it is not yet complete.
COBC = true: For the current unstable period no value will be displayed. Right now it is Wednesday morning 10:40 AM EST. If you have a 3-period SMA, the last value will be displayed for yesterday. It will be calculated from the 3 closes from Friday, Monday and Tuesday.
COBC = false: For the current unstable period a preliminary value will be displayed. This value is calculated from the Monday and Tuesday close and the current price at 10:40 AM EST.
Using indicators with COBC = false setting can be entirely misleading. Imagine that you want to calculate the ATR(3). With COBC = false, it is calculated from Monday's true range, Tuesday's true range and the value Zero at the open of Wednesday's session. This means that it is completely distorted, as it will systematically show a value which is by far too small during the morning session.
Why not use the displacement feature?
If you want to judge the open of the current bar against yesterday's final value of the SMA, you can simply displace your moving average by 1 bar. The chart will now show yesterday's indicator value aligned to today's open, and you can visually compare it.
You are not the first to ask this question or to use moving averages in that way. There are three well-known examples.
PLDots: PLDots are calculated as a 3-period SMA calculated from the typical price, which is shifted by 1 period.
MomDots: MomDots are calculated as a 3-period SMA calculated from the typical price, which is shifted by 2 periods.
3X3: 3X3 is a 3-period SMA calculated from the close, which is shifted by 3 periods (see book of Joe DiNapoli)
This is precisely what I mean. This gives me a static snapshot of a moving average at the open that remains static during and after the bar closes.
In many ways it doesn't matter what it represents - only that it is consistent so that my eye and my trigger finger get used to it.
I was working on doing what may one day become podskidots ...
Parameters:
SMA(4)
COBC=False
InputSeries=Open
Custom
Dot
3
They plot closely to the (very cutely named) Mom dots ...
The idea is that when the OPEN (i.e. crunch time) is very close to this SMA then we are close to some sort of inflection point or value for money / high risk reward area.
Thanks all - got it .. its been bugging me for ages !!
I've been trying to get my eyes in tune with this all day but its not quite there. It is an offset related issue but not forward, backward.
I remember your discussion of the MomDots and other fat blokes ... from the Heikin Ashi thread.
In fact what I am looking for is a little similar to what you have done with some modified bollinger bands. The business case is the same in the sense that the value I am looking for is running away from me.
Now - I may be able to get my eye in - but what I am thinking about is the following. It's a bit of a mongrel.
anaPodski Dot:
SMA (or other)
4 (selectable)
COBC=False (i.e. I want the plot visible at the bar open)
Input Series="Close" from the current period -1 (or selectable offset)
The displacement concept is correct - but I don't get the static feature of the Mom Dots ...
Is there a Calculate only on Bar Open Option (and not on bar update)
SMA - based on current bar -1 closing price (4), plotted as a static dot in current bar - giving me that snapshot of what the SMA looked like at crunch time.
@podski: Sorry this was my fault. Just use the indicator in COBC = true with Displacement = 1. It should now plot the value calculated from the prior close for the current candle and not plot the unstable value for the next bar. If you select the plot style "Dot", you should get something similar as the MomDots.