Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Trades list

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

    Trades list

    Hi!
    I tryes to make an indicator to listing the active trades.

    I try use
    Code:
    Performance.AllTrades...
    in indicator, but I allways recive errors. It is possible to list active trade on the chart?

    Could someone help with those problem?

    BR
    Tig3r

    #2
    Hello Tig3r,

    Welcome to our forums.

    Accessing trade information isn't possible within an indicator. It's only possible in a strategy and you'll have to expand Performance.AllTrades to display the specific information you're looking for. Something like:
    Code:
     
    Print(Performance.AllTrades.TradesPerformance.GrossProfit);
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_RyanM View Post
      Hello Tig3r,
      Accessing trade information isn't possible within an indicator. It's only possible in a strategy and you'll have to expand Performance.AllTrades to display the specific information you're looking for. Something like:
      Code:
       
      Print(Performance.AllTrades.TradesPerformance.GrossProfit);
      It's very bad information :/

      It its possible in this case make a strategy managing advisor like this:
      - works on all trades (manual trades and all strategy trades) - like close all trades when DD >=10%
      - checking condition on open trade (or befor open) - compare to some indicators in many Time Frames

      Comment


        #4
        Hello tig3r,

        The only trade information that you can access here is the trades that are generated by the strategy.

        works on all trades (manual trades and all strategy trades) - like close all trades when DD >=10%
        The above is not possible because information is not available outside of the strategy that generated it.

        checking condition on open trade (or befor open) - compare to some indicators in many Time Frames
        You can access indicators in multiple time frames:
        Ryan M.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        155 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        90 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        137 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        130 views
        1 like
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        107 views
        0 likes
        Last Post CarlTrading  
        Working...
        X