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:	84
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 NullPointStrategies, Yesterday, 05:17 AM
        0 responses
        54 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        131 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        73 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        44 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        49 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X