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 NullPointStrategies, Today, 05:17 AM
    0 responses
    50 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    126 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    69 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    42 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X