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 trendisyourfriend, 05-25-2023, 09:54 AM
        10 responses
        166 views
        0 likes
        Last Post Curerious  
        Started by iantriestrading, Today, 04:12 PM
        0 responses
        14 views
        0 likes
        Last Post iantriestrading  
        Started by Adamel, Today, 03:47 PM
        0 responses
        10 views
        0 likes
        Last Post Adamel
        by Adamel
         
        Started by raysinred, 04-06-2025, 01:52 PM
        15 responses
        137 views
        0 likes
        Last Post NinjaTrader_Helom  
        Started by Str8boominit, 04-14-2025, 06:03 PM
        7 responses
        95 views
        0 likes
        Last Post NinjaTrader_Eduardo  
        Working...
        X