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 Mariawilcoxi, Today, 01:32 AM
|
0 responses
1 view
0 likes
|
Last Post
by Mariawilcoxi
Today, 01:32 AM
|
||
Started by gleichnerany, Today, 01:17 AM
|
0 responses
4 views
0 likes
|
Last Post
by gleichnerany
Today, 01:17 AM
|
||
Started by WHICKED, 03-27-2024, 12:33 PM
|
4 responses
45 views
0 likes
|
Last Post Today, 12:28 AM | ||
Started by f.saeidi, Today, 12:12 AM
|
0 responses
6 views
0 likes
|
Last Post
by f.saeidi
Today, 12:12 AM
|
||
Started by Conall, Today, 12:06 AM
|
0 responses
9 views
0 likes
|
Last Post
by Conall
Today, 12:06 AM
|
Comment