Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

run many strategies, in the same account name

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

    run many strategies, in the same account name

    Hello, I am developing a strategy that I need to run on several instruments and several different time frames, but I don't want to add Data Series into a single strategy, I want to run each one on a different Chart.

    But with the same account, then I must always Select the same account for all strategies.

    I am running a Filter indicating that if the Selected account is not equal to the account Included in the Strategy, then Return, but for some reason it ignores these lines and is considering the account PlayBack101, when I am in my kinetick connection​
    Attached Files

    #2
    Hello HGTrader,

    Thank you for your post.

    The Account.All collection is a collection of account objects in the database file for the platform. Although you may not be currently connected to it, the Playback101 account is part of your database and is found before Sim101 if you are looking for the first name that contains "101"
    For this reason, you may want to consider using the exact account name rather than looking for a name that contains 101, such as the following:
    Code:
    myAccount = Account.All.FirstOrDefault(a => a.Name == "Sim101");
    Please let us know if we may be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    88 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    134 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    67 views
    0 likes
    Last Post PaulMohn  
    Working...
    X