Multi Timeframe Function in ninjatrader ?? - NinjaTrader | futures.io
futures.io futures trading


Multi Timeframe Function in ninjatrader ??
Started: by fxtraders Views / Replies:191 / 2
Last Reply: Attachments:0

Welcome to futures.io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.


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, and we will never resell your private information.

-- Big Mike

Reply
 
Thread Tools Search this Thread
 

Multi Timeframe Function in ninjatrader ??

  #1 (permalink)
Trading Apprentice
connaught, DL
 
Futures Experience: Intermediate
Platform: Ninjatrader,amibroker
Favorite Futures: future,currency
 
Posts: 11 since Sep 2016
Thanks: 1 given, 0 received

Multi Timeframe Function in ninjatrader ??

Hello peoples,
I've few
Questions:

1. Is there function like TimeFrameSet(), TimeFrameRestore(), Timeframeexpand() in Ninjatrader?

2. (Optional question) Is there function like Varset and Varget in NInjatrader?



 
Code
Plot( C, ""+Interval(2), styleCandle );
for( i = 1; i <4 ; i++ ) 
{ 
   TimeFrameSet(i*in1Minute );
   rs = RSI(14);
   TimeFrameRestore();
   m = TimeFrameExpand( rs, i*in1Minute , expandPoint ); 
  // VarSet( "M"+ i, TimeFrameExpand( rs, i*in1Minute , expandPoint ) ); 
//M = VarGet( "M" + i );

   for( b = 0; b < BarCount; b++ )
    {
if(M[b] )   PlotText(" "+(i), b, L[b]-1-(i), colorAqua);
}
}
Plot( C, "Close", ParamColor("Color", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).



Upper Code is merely 10 lines of code,
Is it possible to make such thing in Ninjatrader?


Last edited by fxtraders; October 6th, 2016 at 04:02 AM.
Reply With Quote
 
  #2 (permalink)
Administrator: Retired Backtester
 Vendor: speedytradingservers.com 
Rennes France
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB/Kinetick
Favorite Futures: Futures
 
sam028's Avatar
 
Posts: 3,257 since Jun 2009
Thanks: 3,481 given, 3,847 received

It doesn't work exactly like this, check the @sampleMultiTimeFrame.cs included in the Ninja strategy folder.

Usually in trading, those who know don't talk, and those who talk don't know. (Al Brooks)
success requires no deodorant! (Sun Tzu)
Reply With Quote
The following user says Thank You to sam028 for this post:
 
  #3 (permalink)
Trading Apprentice
connaught, DL
 
Futures Experience: Intermediate
Platform: Ninjatrader,amibroker
Favorite Futures: future,currency
 
Posts: 11 since Sep 2016
Thanks: 1 given, 0 received



sam028 View Post
It doesn't work exactly like this, check the @sampleMultiTimeFrame.cs included in the Ninja strategy folder.

Thx Sam028,
Is it a folder in NinjaTrader 7 ?
I'll search for it.


Last edited by fxtraders; October 20th, 2016 at 09:29 AM.
Reply With Quote

Reply



futures.io > > > > Multi Timeframe Function in ninjatrader ??

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

2016 True Edge Awards: Voting is open until Jan 21!

Now
 

Anthony Drager: Pulling the trigger with confidence

Elite only
 

Leo Murphy: The Art and Science of Technical Analysis

Elite only
 

FuturesTrader71: Ask Me Anything

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi timeframe programming in Easylanguage buylosellhi EasyLanguage Programming 11 December 20th, 2014 05:27 AM
NT Multi Timeframe and multi indicator review eurostoxx NinjaTrader 3 August 29th, 2011 01:07 PM
Multi Timeframe Price Indicator michaelf NinjaTrader 1 March 17th, 2011 01:07 PM
Multi-Timeframe in a strategy max-td NinjaTrader Programming 30 July 22nd, 2010 01:35 PM
sensitivity multi-timeframe trick (small timeframe on bigger one) SARdynamite NinjaTrader Programming 4 July 15th, 2010 03:57 PM


All times are GMT -4. The time now is 07:00 AM.

no new posts
Page generated 2017-01-21 in 0.09 seconds with 20 queries on phoenix via your IP 54.147.241.171