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 Rogers101, 05-05-2024, 11:30 AM
    15 responses
    42 views
    0 likes
    Last Post Rogers101  
    Started by ninza33, Today, 12:31 PM
    2 responses
    9 views
    0 likes
    Last Post ninza33
    by ninza33
     
    Started by Bobin, 03-12-2024, 08:51 AM
    15 responses
    480 views
    0 likes
    Last Post fiddich
    by fiddich
     
    Started by Skifree, Today, 11:21 AM
    4 responses
    13 views
    0 likes
    Last Post Skifree
    by Skifree
     
    Started by Bogdan097, Today, 03:25 PM
    0 responses
    4 views
    0 likes
    Last Post Bogdan097  
    Working...
    X