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!
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!
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
NinjaTrader
Noob question
Collapse
X
-
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.Tags: None
-
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
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Kaledus, Today, 01:29 PM
|
0 responses
3 views
0 likes
|
Last Post
by Kaledus
Today, 01:29 PM
|
||
Started by PaulMohn, Today, 12:36 PM
|
1 response
16 views
0 likes
|
Last Post Today, 01:23 PM | ||
Started by yertle, Yesterday, 08:38 AM
|
8 responses
37 views
0 likes
|
Last Post
by ryjoga
Today, 01:22 PM
|
||
Started by rdtdale, Today, 01:02 PM
|
1 response
6 views
0 likes
|
Last Post Today, 01:13 PM | ||
Started by alifarahani, Today, 09:40 AM
|
3 responses
19 views
0 likes
|
Last Post Today, 12:47 PM |
Comment