SMA on differnt time chart - futures io
futures io futures trading



SMA on differnt time chart


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 1 posts (5 thanks)
    2. looks_two liorzuk with 1 posts (0 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 choke35 with 1 posts (1 thanks)
    1. trending_up 1,054 views
    2. thumb_up 6 thanks given
    3. group 3 followers
    1. forum 3 posts
    2. attach_file 3 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • 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 and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

SMA on differnt time chart

(login for full post details)
  #1 (permalink)
Israel
 
Experience: Beginner
Platform: NinjaTrader
Trading: es
 
Posts: 72 since May 2013
Thanks: 43 given, 20 received

Hello
I want to ask if i there is a way to add a SMA 200 (for example) of 1 day chart on a 60 min chart

Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
Automating strategies on multiple charts with same symbol
TradeStation
Help Needed: TOS Options Chain IV & IMPL MOVE Calcul …
ThinkOrSwim
ZigZag with Depth and Backstep
EasyLanguage Programming
SimplerOptions
Trading Reviews and Vendors
Automatic pattern research with NT
Elite Algorithmic NinjaTrader Trading
 
 
(login for full post details)
  #3 (permalink)
Germany
 
Experience: Intermediate
Platform: Other
Trading: ES, YM, 6E
 
Posts: 2,668 since Feb 2013
Thanks: 5,099 given, 6,551 received



liorzuk View Post
Hello
I want to ask if i there is a way to add a SMA 200 (for example) of 1 day chart on a 60 min chart

0. File - New Chart
1. Add your 60min data series to the chart (shown as Panel 1)
2. Add the second data series for the same instrument (days to load for 2. must be >200 in order to print SMA-200 values later); shown as Panel 2
3. Add the SMA indicator to the chart
4. Modify SMA indicator properties to: Period: 200; Input: [your instrument] DAILY; Panel: 1
5. Switch COBC to false if you want the current 60min periods to show with SMA (COBC = true will end yesterday)

The result should e.g. look like the attachment for the YM.

P.S.: More sophisticated solutions need Ninjascript/C# coding ...

Attached Thumbnails
Click image for larger version

Name:	YM 03-15 (60 Min) _ YM 03-15 (Daily)  02_01_2015.jpg
Views:	46
Size:	149.2 KB
ID:	170435  
Reply With Quote
The following user says Thank You to choke35 for this post:
 
(login for full post details)
  #4 (permalink)
Market Wizard
Berlin, Europe
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,855 since Mar 2010
Thanks: 4,238 given, 26,728 received

Easiest way:

Make sure that you use a proper session template with a single session per day.

Then add the VisualSMA, set the "Bar Period" to 1440 and the "Period" to 200.


VisualSMA plotting a daily SMA(200): The SMA is calculated from the closing price (full session) of the last 200 business days for which the exchange was open.




SMA(200) applied to a daily chart: The SMA is calculated from the settlement prices (depends on the datafeed) of the last 200 business days for which a settlement price has been determined.




The difference between the two values can be explained as follows:

The VisualSMA(200) uses the last traded price and not the settlement price

The daily SMA(200) does not use the values from Independence Day, Labor Day and Thanksgiving (no settlement price available) and therefore takes an additional three days from June to finish with 200 values.

This explains that the value comes out a few points lower.

Reply With Quote
The following 5 users say Thank You to Fat Tails for this post:


futures io Trading Community Platforms and Indicators NinjaTrader > SMA on differnt time chart


Last Updated on January 2, 2015


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

Journal Challenge w/Jigsaw

April
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts