Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

scripts interdependencies

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

    scripts interdependencies

    Hello,

    when having working eg 3 strategies in one chart (enabled in the same chart) do the Variables and orders refer only to each strategy or will have "Variable5" used in all 3 strategies cause problems? Or eg "entryOrder1" needs to be changed to "entryOrder1b" and "entryOrder1c" in the other strategy because "entryOrder1" in all 3 strategies will cause problems (eg if all 3 strategies are in a trade same time, so that "Variable5" or "stopOrder1" will have impact to the other strategy maybe? (I have to cange the system of orders then before adding and adding... and to get back afterwards to resolve problems)

    Thanks
    Tony

    #2
    Hello Tony,

    Thank you for your note.

    In short no, the orders and variables name although using the same names across strategies are only specific to the instance of the strategy running.

    So StrategyA running it's first instance will not have issues with it's variable1 and entry1 even though StrategyA running the second instance has the same name for it's variable and entry.

    Please let me know if you have any questions.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by kujista, Today, 05:44 AM
    0 responses
    6 views
    0 likes
    Last Post kujista
    by kujista
     
    Started by ZenCortexCLICK, Today, 04:58 AM
    0 responses
    8 views
    0 likes
    Last Post ZenCortexCLICK  
    Started by sidlercom80, 10-28-2023, 08:49 AM
    172 responses
    2,281 views
    0 likes
    Last Post sidlercom80  
    Started by Irukandji, Yesterday, 02:53 AM
    2 responses
    18 views
    0 likes
    Last Post Irukandji  
    Started by adeelshahzad, Today, 03:54 AM
    0 responses
    11 views
    0 likes
    Last Post adeelshahzad  
    Working...
    X