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 SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        28 views
        0 likes
        Last Post SalmaTrader  
        Started by CarlTrading, 07-05-2026, 01:16 PM
        0 responses
        17 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 06-17-2026, 10:32 AM
        0 responses
        9 views
        0 likes
        Last Post CaptainJack  
        Started by kinfxhk, 06-17-2026, 04:15 AM
        0 responses
        10 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 06-17-2026, 04:06 AM
        0 responses
        17 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X