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 Balage0922, Today, 07:38 AM
    0 responses
    2 views
    0 likes
    Last Post Balage0922  
    Started by JoMoon2024, Today, 06:56 AM
    0 responses
    6 views
    0 likes
    Last Post JoMoon2024  
    Started by Haiasi, 04-25-2024, 06:53 PM
    2 responses
    19 views
    0 likes
    Last Post Massinisa  
    Started by Creamers, Today, 05:32 AM
    0 responses
    6 views
    0 likes
    Last Post Creamers  
    Started by Segwin, 05-07-2018, 02:15 PM
    12 responses
    1,786 views
    0 likes
    Last Post Leafcutter  
    Working...
    X