Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Account code in Initialize area

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

    Account code in Initialize area

    Hello,

    I need to be able to specify account name in the code rather than going into parameter and set specific account up. Like "Account = Sim101;" in the initialize part. Is it possible?

    Thanks,
    -traderjh

    #2
    traderjh, you could unfortunately not hardcode in an account - however as further safeguard you could return for exampe out of OnBarUpdate() if the account selected did not match a specific one -

    if (Account.Name != "Sim101") return;

    Comment


      #3
      Great.

      Is it possible for NT7 to be linked to multiple accounts? If so, is there a special way to code to work with accounts?

      Thanks again,
      -traderjh

      Comment


        #4
        Generally NT7 could create so called Account Groups, however you could not run NinjaScript's on those unfortunately.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        650 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        370 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        109 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        574 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        577 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X