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
Ninjascript coding 2 indicators but with 2 different values
Collapse
X
-
Ninjascript coding 2 indicators but with 2 different values
I have 2 indicators on the same panel with1 justification left and 1justification right.One plot is in the hunderd of thousands while the other is in the thousands. When the plots do cross I want a flag to notify me. Visualy on the screen it works well but how can one do it in ninjascript since the values are so much off.Tags: None
-
Hello ballboy11,
Thank you for your note.
There wouldn't really be a supported way to set this up in NinjaScript without normalizing the values between a range and then comparing those normalized values. You would need to normalize or translate one indicator's values so they are relative on the same scale in order to detect the cross and fire an alert.
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 Stanfillirenfro, Today, 07:23 AM
|
1 response
4 views
0 likes
|
Last Post Today, 07:37 AM | ||
Started by cmtjoancolmenero, Yesterday, 03:58 PM
|
2 responses
21 views
0 likes
|
Last Post Today, 07:24 AM | ||
Started by olisav57, Yesterday, 07:39 PM
|
1 response
9 views
0 likes
|
Last Post Today, 07:23 AM | ||
Started by cocoescala, 10-12-2018, 11:02 PM
|
7 responses
944 views
0 likes
|
Last Post
by Jquiroz1975
Today, 07:21 AM
|
||
Started by oviejo, Today, 12:28 AM
|
1 response
12 views
0 likes
|
Last Post Today, 07:20 AM |
Comment