Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

variables - strategy - instruments

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

    variables - strategy - instruments

    Hello,

    during my live-trading with script-strategies it occurs that an entry is not realized in an instrument even conditions are filled. In my strategies I work with variables, eg the strategy "A" sets variable1 to "1" once a position is entered (and of course one of the conditions to the trade is variabele1 is "0"). I have the strategy enabled for eg 3 instruments.

    Can it happen that the entry in strategy "A" for GPB/USD is not realized because strategy "A" is already in a trade with EUR/USD (this means that variable1 is "1" in the strategy?). So I have to "build" own strategies for each instrument so that variable1 is "free" to use and to work when a trade is running in another instrument?


    Thanks
    Tony
    Last edited by tonynt; 11-09-2011, 10:52 AM. Reason: translating error

    #2
    Hi Tony,

    You will need to monitor the TraceOrders output. If an order method is processed but is never placed, TraceOrders output will tell you important messages about the order. Please see here for help using TraceOrders.



    If the order is never processed, then you need to debug the condition logic for order placement.

    Strategies are completely independent of each other. If you run the strategy 3 times, there is no conflict with one strategies Variable1 and another strategies Variable1. Each strategy is a unique instance, all with their own values.
    Ryan M.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by jxs_xrj, 01-12-2020, 09:49 AM
    6 responses
    3,290 views
    1 like
    Last Post jgualdronc  
    Started by Touch-Ups, Today, 10:36 AM
    0 responses
    8 views
    0 likes
    Last Post Touch-Ups  
    Started by geddyisodin, 04-25-2024, 05:20 AM
    8 responses
    61 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by Option Whisperer, Today, 09:55 AM
    0 responses
    8 views
    0 likes
    Last Post Option Whisperer  
    Started by halgo_boulder, 04-20-2024, 08:44 AM
    2 responses
    24 views
    0 likes
    Last Post halgo_boulder  
    Working...
    X