Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

RSI Setting

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

    RSI Setting

    I would like to know how to change the RSI indicator from a SMA to EMA can you tell me how to do that? Thanks

    #2
    Hi 1chtrader, thanks for your post.

    You could create a copy of the RSI script, then on lines 78 and 79 change the 'SMA' to 'EMA', then compile this new script. This would then reference the EMA indicator rather than the SMA indicator.

    Please let us know if we may be of further assistance.
    <span class="name">Alex C.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      can i make 2 rsi indicators 1 for SMA and another for EMA? thanks

      Comment


        #4
        Hi, thanks for your reply.

        As the original RSI indicator is a system indicator and by default will reference the SMA indicator, this will always be present on your system, as it is not possible to save direct modifications to the default system indicator. Your RSI indicator changed to reference the EMA indicator will be a copy of the original, so it will be present as well. So, just by creating a copy, you'll have both on your system.

        Please let us know if we may be of further assistance.
        <span class="name">Alex C.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by r68cervera, Today, 05:29 AM
        0 responses
        2 views
        0 likes
        Last Post r68cervera  
        Started by geddyisodin, Today, 05:20 AM
        0 responses
        3 views
        0 likes
        Last Post geddyisodin  
        Started by JonesJoker, 04-22-2024, 12:23 PM
        6 responses
        33 views
        0 likes
        Last Post JonesJoker  
        Started by GussJ, 03-04-2020, 03:11 PM
        12 responses
        3,239 views
        0 likes
        Last Post Leafcutter  
        Started by AveryFlynn, Today, 04:57 AM
        0 responses
        6 views
        0 likes
        Last Post AveryFlynn  
        Working...
        X