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

Noob question

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

    Noob question

    Hi there!
    I just now started to try to create a custom strategy. But all tutorials are using EMA cross strategies as examples. What i want is to simply trigger a signal when a indicator reaches a certain value. In this case a negative value. How can i do this? I tried making a "input" with this negative number, but i get the message that negative numbers are not allowed, so I'm clearly doing something wrong. Thx!
    Last edited by GKRuubster; 12-23-2019, 06:50 AM.

    #2
    Hello GKRuubster,

    Thank you for your note.

    Here's a link to our help guide that goes over specifically making indicator-value comparisons:



    You should be able to make the input a negative number. Just make sure you set the Min value for the input to something REALLY negative, like -999999.

    Please let us know if we may be of further assistance to you.
    Kate W.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Kaledus, Today, 01:29 PM
    0 responses
    3 views
    0 likes
    Last Post Kaledus
    by Kaledus
     
    Started by PaulMohn, Today, 12:36 PM
    1 response
    16 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by yertle, Yesterday, 08:38 AM
    8 responses
    37 views
    0 likes
    Last Post ryjoga
    by ryjoga
     
    Started by rdtdale, Today, 01:02 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Started by alifarahani, Today, 09:40 AM
    3 responses
    19 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X