NexusFi: Find Your Edge


Home Menu

 





Multi Timeframe Function in ninjatrader ??


Discussion in NinjaTrader

Updated
    1. trending_up 1,663 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
fxtraders
connaught, DL
 
Posts: 11 since Sep 2016
Thanks Given: 1
Thanks Received: 0

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() );



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


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Fabrication or Framework? Irans Denied MOU Explains the …
Prediction Markets & Event Contracts
Sundays Verdict: Lebanon Locked at 99.85% as Iran June 7 …
Prediction Markets & Event Contracts
Saylors 41-Month HODL Breaks: Strategy Sells 32 BTC as $ …
Prediction Markets & Event Contracts
Day 96 Missiles Hit Kuwait and Bahrain: June 15 Peace at …
Prediction Markets & Event Contracts
Czechia Live at 52.5% as England Rides 4-2 Wave to Co-Fa …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
10 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #2 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,759 since Jun 2009
Thanks Given: 3,828
Thanks Received: 4,645

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


Success requires no deodorant! (Sun Tzu)
Reply With Quote
Thanked by:
  #3 (permalink)
fxtraders
connaught, DL
 
Posts: 11 since Sep 2016
Thanks Given: 1
Thanks Received: 0



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.


Reply With Quote




Last Updated on October 20, 2016


© 2026 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 - Downloads - Top
no new posts