NexusFi: Find Your Edge


Home Menu

 





A moving average that is easy to review on an end of day chart


Discussion in Platforms and Indicators

Updated
      Top Posters
    1. looks_one podski with 10 posts (0 thanks)
    2. looks_two Fat Tails with 4 posts (13 thanks)
    3. looks_3 Big Mike with 3 posts (0 thanks)
    4. looks_4 MWinfrey with 3 posts (1 thanks)
    1. trending_up 5,466 views
    2. thumb_up 14 thanks given
    3. group 2 followers
    1. forum 20 posts
    2. attach_file 6 attachments




 
Search this Thread

A moving average that is easy to review on an end of day chart

  #11 (permalink)
 
MWinfrey's Avatar
 MWinfrey 
Lubbock TX
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Stage 5 Trading
Trading: CL
Posts: 1,878 since Jul 2009
Thanks Given: 1,450
Thanks Received: 3,335


podski View Post
@MWinfrey
Thanks for the input.

On the picture (attached again for ease of use) the little white + that I have at the open of the bar appears to be right on the moving average. However - when the bar opened .. it wasn't like this it was well below the MA line.

I understand the value of the price at closing and there is some value in having the COBC=False (so that I can see the development of the line) - it is just that when I look back at a chart that has had a big trend move I see lots of entries that looked good value (i.e. within my moving averages) but in reality at the open of those bars they were outside the MA envelope.

podski

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.

Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
How to apply profiles
Traders Hideout
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Better Renko Gaps
The Elite Circle
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Cheap historycal L1 data for stocks
Stocks and ETFs
 
  #12 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,463 since Jun 2009
Thanks Given: 33,239
Thanks Received: 101,661


podski View Post
Or are you saying that an SMA (in this case) takes more reference points if COBC=True. I don't think so .. I think that during the bar it will of course take each tick .. but at the close it just takes the last tick and that's it.

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.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #13 (permalink)
 
podski's Avatar
 podski 
Belgium
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Ninjatrader Brokerage, CQG
Trading: FDAX, FDXM ...maybe
Posts: 388 since Sep 2012
Thanks Given: 499
Thanks Received: 470


@Big Mike, @MWinfrey

Thanks both - I think I've got it !!

regard

podski

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #14 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103

@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)



Attached Files
Elite Membership required to download: PLDots.zip
Elite Membership required to download: MomDots.zip
Reply With Quote
  #15 (permalink)
 
podski's Avatar
 podski 
Belgium
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Ninjatrader Brokerage, CQG
Trading: FDAX, FDXM ...maybe
Posts: 388 since Sep 2012
Thanks Given: 499
Thanks Received: 470

@Fat Tails,

That's a bingo !

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 !!

podski

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #16 (permalink)
 
podski's Avatar
 podski 
Belgium
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Ninjatrader Brokerage, CQG
Trading: FDAX, FDXM ...maybe
Posts: 388 since Sep 2012
Thanks Given: 499
Thanks Received: 470

Hello @Fat Tails,

We are close .. very close.

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)

Do you follow ?

podski

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #17 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103


podski View Post
Hello @Fat Tails,

We are close .. very close.

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)

Do you follow ?

podski

@podski: Just add the SMA(4), set it to COBC = false and Displacement = 1. That should do.

Reply With Quote
  #18 (permalink)
 
podski's Avatar
 podski 
Belgium
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Ninjatrader Brokerage, CQG
Trading: FDAX, FDXM ...maybe
Posts: 388 since Sep 2012
Thanks Given: 499
Thanks Received: 470

@Fat Tails

Not quite ...

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

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #19 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103


podski View Post
@Fat Tails

Not quite ...

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

@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.

Reply With Quote
Thanked by:
  #20 (permalink)
 
podski's Avatar
 podski 
Belgium
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Ninjatrader Brokerage, CQG
Trading: FDAX, FDXM ...maybe
Posts: 388 since Sep 2012
Thanks Given: 499
Thanks Received: 470


If anyone in Western Europe is hearing a strange sound at the moment .. it's just me making huge sighs of relief and releasing a bit of tension.

Issue totally solved.

Displacement ...indeed.

many thanks !!!

podski

Visit my NexusFi Trade Journal Started this thread Reply With Quote




Last Updated on February 7, 2013


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts