Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Changing variables within an Indicator from another indicator with Buttons

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

    #31
    Hello Xiongl80,

    Yes that is due to it being inside an indicator the method you are using is a strategy method.

    To be able to place orders from an indicator you need to use the addon framework to find an account and then the accounts submit method.



    Comment


      #32
      Hello Jesse,

      Do you have any sample code of using the addon framework and submitting orders from an indicator?

      Comment


        #33
        Hello Xiongl80,

        There are samples in the help guide pages under the addon section that i linked. The first step is to find an account and save it to a variable like the sample on that page. After that you can use your account variable with any of the methods listed under the Account section in the addon section of the help guide. You can use the left side to navigate to each of the sub sections to see samples for each concept.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        81 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        42 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        64 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        68 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        55 views
        0 likes
        Last Post CarlTrading  
        Working...
        X