• 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 ericson, Today, 08:14 PM
    0 responses
    2 views
    0 likes
    Last Post ericson
    by ericson
     
    Started by user1986, Today, 07:28 PM
    1 response
    6 views
    0 likes
    Last Post user1986  
    Started by jertrade, Today, 06:57 PM
    0 responses
    5 views
    0 likes
    Last Post jertrade  
    Started by Emma1, Today, 02:42 PM
    1 response
    17 views
    0 likes
    Last Post NinjaTrader_DrewO  
    Started by fx.practic, Today, 03:10 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X