Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Setting Brokerage Rates using Code, Percent Break even in ATM Strategy

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

    Setting Brokerage Rates using Code, Percent Break even in ATM Strategy

    Hi,

    1)I have percent brokerages based on turnover. I need to set this through code. Now brokerage is different for day trades and positional trades. How can I achieve this?

    2)In the ATM strategies, I want to set Stop Loss and Profit target based on %. Then further I want to move my stops based on % only as I calculate my break even based on % brokerage. Now I know that I can use % to set initial Stop Loss and Profit tgts. But how can change the ticks to % in Stop Strategies?

    3)Is there any documentation on how to use ATM strategies in code?

    #2
    Hello abhayt,
    1. Unfortunately you cannot change the commissions via the code as per day trades / positional trades.

    2. If you change the parameter type to Percentage then the stops, including the stop strategy will be calculated in Percentage.
    • Right click on the SuperDom
    • In the context menu click on Properties
    • In the SuperDom properties dialog set the field Parameter type to Percentage


    3. Please refer to our help guide to know more about it
    JoydeepNinjaTrader Customer Service

    Comment


      #3
      Thanks for your reply,

      2) Actually I tried that, I am able to set Profit and StopLoss as %. But if I go to Stop Strategy, I still see everything in Ticks. I want to move my SL based on % only.

      Is this a bug?

      Comment


        #4
        Hello,

        The Stop Strategy parameters can only be configured in terms of ticks at this time. Adding the ability to set your Stop Strategy in terms of other types is on our development teams list of future considerations, however I do not have an ETA on when this may be added.
        MatthewNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        647 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        369 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        108 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        572 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        573 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X