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

Aroon indicator as condition

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

    Aroon indicator as condition

    I created a very simple script with only two conditions and it is working as long as the conditions are met.
    Indicators used and calculated on each tick as they come .
    • EMA
    • SMA
    • Aroon
    Conditions and Actions
    • For long trade entry : EMA Cross above SMA and Aroon Up Greater equal xy > Action : Enter long and draw green vertical lines.
    • For short trade entry : EMA Cross below SMA and Aroon Down Less equal xy > Action : Enter short and draw red vertical lines
    The script is working as expected as long as conditions are being met.

    The problem is sometimes Aroon isn't triggering trades. There are situations where Aroon would jump from value 25 to 100 without passing through 50 or 60 or 75 therefore
    Entry points at these values aren’t triggered.
    Any idea how to resolve this issue, see attached screen shots.

    Kind Regards.
    Adiano
    Attached Files
    Last edited by akitenge; 06-08-2018, 01:58 PM.

    #2
    Hello akitenge,

    Thank you for your post and welcome to the NinjaTrader Support Forum!

    You can look into our debugging information at the following link: https://ninjatrader.com/support/help...script_cod.htm

    If you would like I can take a look into the strategy if you would like to post it here or attach it to an email to platformsupport[at]ninjatrader[dot]com with 'ATTN: Patrick H' in the subject line and a reference to this thread in the body of the email.

    You can export your strategy by going to Tools > Export > NinjaScript Add On > Add > select your strategy > OK > Export > name the file 'NTsupport' > Save.

    The file will be located under Documents\NinjaTrader 8\bin\Custom\ExportNinjaScript. Please attach the file to your response.

    I look forward to assisting you further.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by funk10101, Today, 12:02 AM
    0 responses
    3 views
    0 likes
    Last Post funk10101  
    Started by gravdigaz6, Yesterday, 11:40 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by MarianApalaghiei, Yesterday, 10:49 PM
    3 responses
    10 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by XXtrader, Yesterday, 11:30 PM
    0 responses
    4 views
    0 likes
    Last Post XXtrader  
    Started by love2code2trade, 04-17-2024, 01:45 PM
    4 responses
    28 views
    0 likes
    Last Post love2code2trade  
    Working...
    X