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:	118
Size:	58.8 KB
ID:	1338593
    Please let us know if we may provide any further assistance.

    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 charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        68 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        150 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        162 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        100 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        288 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X