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:	97
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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        40 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        20 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        27 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        45 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        37 views
        0 likes
        Last Post CarlTrading  
        Working...
        X