Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

drawing object on multi time frame

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

  • NinjaTrader_RyanM1
    replied
    Hi ct,

    Yes, you can use GetBar() within a BarsInProgress filter.

    The chart time frame would be BarsInProgress == 0.

    if (BarsInProgress == 0)
    {
    int myBarsAgo = GetBar(new DateTime(2011, 8, 11, 12, 0, 0));
    }

    Leave a comment:


  • ct
    started a topic drawing object on multi time frame

    drawing object on multi time frame

    I have a strategy that has multi time frames.

    Scenario:
    Can I make GETBAR to retrieve the chart time frame bar instead of the time frame being processed bar?
    Last edited by ct; 08-14-2011, 01:04 PM.

Latest Posts

Collapse

Topics Statistics Last Post
Started by Gille1983, Today, 02:14 AM
0 responses
5 views
0 likes
Last Post Gille1983  
Started by Renorail, Today, 01:05 AM
1 response
12 views
0 likes
Last Post ansgrecho  
Started by NeverDownMoney, Yesterday, 08:06 PM
1 response
10 views
0 likes
Last Post NeverDownMoney  
Started by GauthamK, Yesterday, 07:38 PM
0 responses
15 views
0 likes
Last Post GauthamK  
Started by Czarek, Yesterday, 05:42 PM
1 response
7 views
0 likes
Last Post NinjaTrader_ShawnB  
Working...
X