Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Performance SMA

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

    Performance SMA

    Hello !!! i got queston about Performance.AllTrades.LosingTrades
    is any way i can add SMA indicator to Performance.AllTrades.LosingTrades data ?

    #2
    Hello,

    Thank you for the question.

    I wanted to clarify, are you asking if you could use the Performance.AllTrades.LosingTrades as a value for an SMA that you are plotting on a chart?

    If this is not what you were asking can you further clarify what you are trying to do with the value of Performance.AllTrades.LosingTrades?

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Hello !!! no i want start stop trading or change derection if loss > MA of loss
      do i have to calculate MA by my self ?

      Comment


        #4
        Hello,

        Thank you for the reply.

        It seems you are trying to average the loss and then see if the loss is greater than the average, is this correct?

        If so it would likely be easiest to do your own average in this case although you could create a data series of values and pass that to the SMA indicator. Either would work it would just depend on which you want to create.

        To use the SMA indicator you would need to create a data series and supply values to that data series of the loss amount each bar, then this series would need passed to the SMA to do the calculation.

        Instead you could copy the calculation from the SMA and apply it in your own script or use your own average calculation to do this without adding extra parts to the script.

        I look forward to being of further assistance.
        JesseNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Brevo, Today, 01:45 AM
        0 responses
        3 views
        0 likes
        Last Post Brevo
        by Brevo
         
        Started by aussugardefender, Today, 01:07 AM
        0 responses
        3 views
        0 likes
        Last Post aussugardefender  
        Started by pvincent, 06-23-2022, 12:53 PM
        14 responses
        239 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Started by TraderG23, 12-08-2023, 07:56 AM
        9 responses
        384 views
        1 like
        Last Post Gavini
        by Gavini
         
        Started by oviejo, Today, 12:28 AM
        0 responses
        6 views
        0 likes
        Last Post oviejo
        by oviejo
         
        Working...
        X