NexusFi: Find Your Edge


Home Menu

 





Coding Multi Time Frame (MTF) Indicators with NinjaTrader


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 180 posts (562 thanks)
    2. looks_two Zondor with 19 posts (29 thanks)
    3. looks_3 madLyfe with 16 posts (10 thanks)
    4. looks_4 BankRobberNT with 14 posts (16 thanks)
      Best Posters
    1. looks_one gomi with 3.7 thanks per post
    2. looks_two Fat Tails with 3.1 thanks per post
    3. looks_3 Zondor with 1.5 thanks per post
    4. looks_4 BankRobberNT with 1.1 thanks per post
    1. trending_up 188,819 views
    2. thumb_up 743 thanks given
    3. group 87 followers
    1. forum 424 posts
    2. attach_file 166 attachments




 
Search this Thread

Coding Multi Time Frame (MTF) Indicators with NinjaTrader

  #401 (permalink)
 
fesx's Avatar
 fesx 
Georgia
 
Experience: Intermediate
Platform: Ninja
Broker: AMP/CQG
Trading: ZN, ES, FGBL, FESX
Posts: 133 since Jul 2009
Thanks Given: 874
Thanks Received: 113

Not a programming question but more of a question what am i not seeing....Find attached 3 charts of Silver, Crude Oil and FESX. I used the drop down menu from the same chart to switch to each future's contract. On the FESX chart, I can not get the visualema to color the bars correctly. I can pull any symbol up and it colors the bars correctly. For some strange odd reason that I am stumped, I can't pull up FESX. I normally wouldn't fret on this, but I love this indicator and FESX to trade. I have tried opening a new chart, same results. I have tried reloading ninjascript for the chart, same results. I am totally stumped why this is only happening on this one particular future's contract. Any suggestions will be appreciated.

Attached Thumbnails
Click image for larger version

Name:	FESX.png
Views:	488
Size:	59.3 KB
ID:	184045   Click image for larger version

Name:	CL.png
Views:	409
Size:	68.4 KB
ID:	184046   Click image for larger version

Name:	SI.png
Views:	412
Size:	66.7 KB
ID:	184047  
Reply With Quote

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
Better Renko Gaps
The Elite Circle
MC PL editor upgrade
MultiCharts
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Diary of a simple price action trader
26 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
23 thanks
My NQ Trading Journal
16 thanks
HumbleTraders next chapter
9 thanks
  #402 (permalink)
 
fesx's Avatar
 fesx 
Georgia
 
Experience: Intermediate
Platform: Ninja
Broker: AMP/CQG
Trading: ZN, ES, FGBL, FESX
Posts: 133 since Jul 2009
Thanks Given: 874
Thanks Received: 113


fesx View Post
Not a programming question but more of a question what am i not seeing....Find attached 3 charts of Silver, Crude Oil and FESX. I used the drop down menu from the same chart to switch to each future's contract. On the FESX chart, I can not get the visualema to color the bars correctly. I can pull any symbol up and it colors the bars correctly. For some strange odd reason that I am stumped, I can't pull up FESX. I normally wouldn't fret on this, but I love this indicator and FESX to trade. I have tried opening a new chart, same results. I have tried reloading ninjascript for the chart, same results. I am totally stumped why this is only happening on this one particular future's contract. Any suggestions will be appreciated.


Problem resolved ...I hope!! When in doubt, always reboot your computer!!!

Reply With Quote
  #403 (permalink)
 BeMoreFree 
Jacksonville, FL
 
Experience: Advanced
Platform: NinjaTrader, IRT
Broker: Rithmic
Trading: NQ
Frequency: Several times daily
Duration: Minutes
Posts: 13 since Dec 2013
Thanks Given: 7
Thanks Received: 40


I have an indi that plots a series of levels on a 5 min chart that I'd like to display on all charts of the same instrument, like NT allows a built-in horizontal line to do. Haven't been able to get this working though for an indi. Is this possible?

Thanks!

Reply With Quote
  #404 (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,102


BeMoreFree View Post
I have an indi that plots a series of levels on a 5 min chart that I'd like to display on all charts of the same instrument, like NT allows a built-in horizontal line to do. Haven't been able to get this working though for an indi. Is this possible?

Thanks!

This is the wrong thread to ask questions like this. Please repost your question in an appropriate thread, for example



https://forum.ninjatrader.com/showthread.php?t=50886

Started this thread Reply With Quote
  #405 (permalink)
 
zxxaxz's Avatar
 zxxaxz 
Springfield
 
Experience: Intermediate
Platform: Ninjatrader, TOS
Trading: eMicros
Posts: 125 since Sep 2009
Thanks Given: 10
Thanks Received: 80

Would it be possible to construct a multi time frame SuperTrend. A SuperTrend based on higher time frame could filter out wipsaws on a native time frame SuperTrend

Reply With Quote
  #406 (permalink)
 
TheWizard's Avatar
 TheWizard 
Houston, TX
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Optimus Futures, AMP, CQG
Trading: 6E
Posts: 1,731 since Jun 2009
Thanks Given: 517
Thanks Received: 4,224


zxxaxz View Post
Would it be possible to construct a multi time frame SuperTrend. A SuperTrend based on higher time frame could filter out wipsaws on a native time frame SuperTrend

@zxxaxz, Try setting anaSuperTrendU11 to offset multiplier of 4.5!

After all, it's what you learn AFTER you know it all, that counts!
Reply With Quote
Thanked by:
  #407 (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,102


zxxaxz View Post
Would it be possible to construct a multi time frame SuperTrend. A SuperTrend based on higher time frame could filter out wipsaws on a native time frame SuperTrend


You can often create a higher time frame version of an indicator by simply changing the parameters. This solution is technically superior to loading secondary bars from a different bar series.

The SuperTrend uses 3 parameters

- the period for the baseline
- the period for the offset smoothing
- the offset multiplier

If you wish to calculate the SuperTrend for a higher timeframe, say a timeframe (x3), then you would need

- multiply the baseline period by 3
- multiply the offset period by 3
- multiply the offset multiplier by SQRT(3)

The chart attached shows a dual SuperTrend with a lower and a higher timeframe. The higher timeframe was chosen as (x3). The blue areas show an uptrend for both timeframes. The red areas show a downtrend for both time frames. The gray areas show where higher and lower timeframe are in contradiction.


Started this thread Reply With Quote
  #408 (permalink)
 
zxxaxz's Avatar
 zxxaxz 
Springfield
 
Experience: Intermediate
Platform: Ninjatrader, TOS
Trading: eMicros
Posts: 125 since Sep 2009
Thanks Given: 10
Thanks Received: 80

Thanks to the Wizard and the Lizard

Reply With Quote
  #409 (permalink)
 
teee's Avatar
 teee 
Sydney Australia
 
Experience: Beginner
Platform: CQG,NinjaTrader
Trading: Oil, ES, Bund, Currencies
Posts: 47 since Nov 2014
Thanks Given: 134
Thanks Received: 103

Hi @Fat Tails

Thanks for your amazing work! I juz got my hands on your indicators as I'm new to NT and I'm already loving it!

Can the Visual EMA/SMA access Daily Bar type? or is there a way to achieve having different time periods of Daily EMA/SMAs on same chart?

I went through the thread and did not seem to get the answer, sorry if i missed it

thanks!

Visit my NexusFi Trade Journal Reply With Quote
  #410 (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,102



teee View Post
Hi @Fat Tails

Thanks for your amazing work! I juz got my hands on your indicators as I'm new to NT and I'm already loving it!

Can the Visual EMA/SMA access Daily Bar type? or is there a way to achieve having different time periods of Daily EMA/SMAs on same chart?

I went through the thread and did not seem to get the answer, sorry if i missed it

thanks!


You can set the VisualEMA / VisualSMA to 1440 min, and it will display a daily SMA or EMA.

In that case SMA or EMA will be calculated from the last traded prices as per session template.

Started this thread Reply With Quote
Thanked by:




Last Updated on April 19, 2022


© 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