Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Multi time frame indiactor

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Multi time frame indiactor

    trying to get a daily ema 1 on a 5 min chart of the same script, followed all the instructions but still no go. thanks in advance.

    Click image for larger version

Name:	vix multi time frame indicator.JPG
Views:	263
Size:	107.9 KB
ID:	1080379

    #2
    Hello dkbyond,

    Thanks for your post.

    In this case it appears that you want to place a 1 period EMA based on daily bars on a chart that also shows 5 minute bars. While this can be done, in the expanded view you are showing you would not see the plot until you bring in a 2nd daily bar. I've attached an example that shows the the EMA on the 5 minute bars from the daily bars. Note that I also set the indicator to Calculate.OnPriceChange to draw the EMA to the current bar on the 5 minute chart. Other requirements are that you have at least 20 daily bars loaded as the indicator will not draw until 20 bars are loaded.


    Click image for larger version

Name:	dkbyond-2.PNG
Views:	171
Size:	34.2 KB
ID:	1080443
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Belfortbucks, Today, 09:29 PM
    0 responses
    6 views
    0 likes
    Last Post Belfortbucks  
    Started by zstheorist, Today, 07:52 PM
    0 responses
    7 views
    0 likes
    Last Post zstheorist  
    Started by pmachiraju, 11-01-2023, 04:46 AM
    8 responses
    151 views
    0 likes
    Last Post rehmans
    by rehmans
     
    Started by mattbsea, Today, 05:44 PM
    0 responses
    6 views
    0 likes
    Last Post mattbsea  
    Started by RideMe, 04-07-2024, 04:54 PM
    6 responses
    33 views
    0 likes
    Last Post RideMe
    by RideMe
     
    Working...
    X