Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Chart Trader Questions

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

    Chart Trader Questions

    Hello,

    I'd like to use the chart trader for trading and have some questions:

    1. Is it possible, to fill the order quantity field in the chart trader from a script (custom indicator/strategy)?
    2. If I use an ATM within the chart trader with two profit targets, is there a way how to set the first target to half of the the total order quantity and the second half to the second profit target? Since I do use different order quantities all the time I don't like to adapt the profit stop quantities all the time for every single order by hand. Is there a way to automize this?

    Thanks.

    #2
    Bosstrader,

    Unfortunately there is no supported way of changing the order quantity field with a script.

    You could do this in an automated strategy by modifying ATM strategies, however otherwise you must set this manually at this time.

    Please let me know if you have any other questions.
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      If I use an ATM within the chart trader with two profit targets, is there a way how to set the first target to half of the the total order quantity and the second half to the second profit target? Since I do use different order quantities all the time I don't like to adapt the profit stop quantities all the time for every single order by hand. Is there a way to automize this?

      Comment


        #4
        Artumus,

        Let's go through an example. If I setup a ATM strategy as follows :

        Target 1 : 1 quantity, stop loss 10, profit target 20
        Target 2 : 2 quantity, stop loss 10, profit target 30

        Then I submit an order for 6 contracts using this ATM strategy, it will automatically submit :

        4 contracts for Target 1
        2 contracts for Target 2

        Unfortunately the ATM strategy would lump the extra contracts onto the first target in this case, so there is no way to do what you ask thus far.

        The best solution I can think of would be to create an automated strategy that has some tool bar buttons to submit orders. Then, you can have the automated strategy automatically calculate order quantity and submit protective orders internally. If you are not a programmer you would likely either need to learn or to hire a NinjaScript consultant to develop this however.

        Adam P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by elirion, Today, 09:32 PM
        0 responses
        5 views
        0 likes
        Last Post elirion
        by elirion
         
        Started by cre8able, Today, 09:15 PM
        1 response
        7 views
        0 likes
        Last Post bltdavid  
        Started by cummish, Today, 08:43 PM
        0 responses
        13 views
        0 likes
        Last Post cummish
        by cummish
         
        Started by Option Whisperer, Today, 07:58 PM
        4 responses
        21 views
        0 likes
        Last Post Option Whisperer  
        Started by ETFVoyageur, 05-07-2024, 07:05 PM
        13 responses
        87 views
        0 likes
        Last Post ETFVoyageur  
        Working...
        X