• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Time Frame Question

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

    Time Frame Question

    I am trying to create a strategy that uses a 4-hour chart to trigger strategies that take place on a shorter timeframe. Would I able to create a strategy for the 4 hour chart using the wizard that, under certain conditions, would set a variable which can then be used as a condition builder in another strategy that would run in a shorter timeframe? For example, if the conditions to set the Variable0 = 1 are met on the 4-hr strategy, could that variable's value now be used in the condition builder of another strategy that will be running on a different time frame?

    #2
    You can not "cross-code" multiple strategies. However, you can code a single strategy running on multiple timeframes (see SampleMultiTimeFrame strategy).

    You can not code multi time frame strategies by the wizard but would need to get your feet wet by coding these strategies manually.
    DierkNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by jertrade, Today, 02:50 PM
    0 responses
    1 view
    0 likes
    Last Post jertrade  
    Started by Emma1, Today, 02:42 PM
    0 responses
    3 views
    0 likes
    Last Post Emma1
    by Emma1
     
    Started by RedDuke, Today, 01:59 PM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_Kate  
    Started by MarianApalaghiei, Today, 01:18 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Started by williamzz, Today, 01:00 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Jim  
    Working...
    X