Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Buy - BuyToCover

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

    Buy - BuyToCover

    Hello,

    my stops from the scripts are plotted in charttrader with "BuyToCover" (for shorts) and when doing a short with ChartTrader then there is the stop plottted with "Buy".

    I thought that both are market orders.

    (script: stopOrder1 = ExitShortStop(0, true, 1, execution.Order.AvgFillPrice -10 * TickSize, "Stop", "Short")

    Are both market orders?

    Thank you.

    Tony

    #2
    Hello Tony,

    The names of the orders are just going to be how they are entered and they are not going to be related if they are a market order or not, it will depend on the context of the order.

    So in your script for "ExitShortStop" will send a market order yes, but it will be named "BuyToCover" because you are in short position and you are "Buy"ing contracts to "Cover" your position towards a "Flat" state.

    The "Buy" name on Chart trader just means that you placed a "Buy" order, it can be a "Market", "Limit", "Stop Limit", or "Stop Market" order. You would have to look in your Orders tab or your Account Performance tab to see what type of order it was.

    Happy to be of further assistance.
    JCNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    29 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    117 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    69 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    227 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    309 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X