Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Change parameters of the built-in MAEnvelopes indicator

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

    Change parameters of the built-in MAEnvelopes indicator

    Please tell me how I can change the parameters of the built-in MAEnvelopes indicator. Can you give me a link to a detailed instruction for this? I have already tried to change the parameters, but I have not succeeded.

    #2
    Hello FOKS_444,

    Thank you for the message.

    To be able to change the MA envelope's settings, you have to double-click and add it to the 'Configured' list.
    • Right-click the Chart > Select Indicators
    • Scroll down to MA envelopes > Double-click it to add it to the "Configured" section
    • Now, the settings will un-gray and allow you to edit them.
    • Click Apply and/or OK to see the changes.
      • Click image for larger version

Name:	image.png
Views:	20
Size:	58.8 KB
ID:	1338593
    Please let us know if we may provide any further assistance.
    Clayton G.NinjaTrader Customer Service

    Comment


      #3
      ​Uh, sorry... I would like to know how to change the parameters in NinjaScriptEditor. This one (Range 0.01) like the screenshot ))
      I want to reduce this parameter to 0.001.

      One more question please... In Custom Strategy Parameters I don't want to activate Stoploss ever, how do I set it up?
      Attached Files
      Last edited by FOKS_444; 03-24-2025, 10:01 AM.

      Comment


        #4
        Hello FOKS_444,

        I am moving this thread from the Platform Technical Support section of the forums to the Indicator Development section of the forums as this inquiry is about NinjaScript development.

        Make a copy of the MAEnvelopes script.
        Control Center > New > NinjaScript Editor
        Indicators > double click to open MAEnvelopes > right-click within the editor > Save as > new unique name > OK

        Modify line 116. Change:
        [Range(0.01, int.MaxValue), NinjaScriptProperty]

        To:
        [Range(0.001, int.MaxValue), NinjaScriptProperty]


        Unfortunately, Atm strategy templates cannot remove the stop loss.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by raysinred, Today, 10:32 AM
        1 response
        15 views
        0 likes
        Last Post rockmanx00  
        Started by cbadr, Today, 08:19 PM
        0 responses
        4 views
        0 likes
        Last Post cbadr
        by cbadr
         
        Started by DayTradingDEMON, Today, 07:23 PM
        0 responses
        7 views
        0 likes
        Last Post DayTradingDEMON  
        Started by XXfea, Today, 07:01 PM
        0 responses
        9 views
        0 likes
        Last Post XXfea
        by XXfea
         
        Started by RedPothos, Today, 05:07 PM
        0 responses
        12 views
        0 likes
        Last Post RedPothos  
        Working...
        X