Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Access Predicted Indicator
Collapse
X
-
Hello tackaway,
Thanks for your post.
euroq is correct in stating that "The alligator indicator is pushed forward by a period. Hence the blue, red, and green lines being seen ahead of the last/current candlestick."
QuantKey_Bruce is correct in stating that you could supply the .Teeth[0]/.Jaw[0]/.Lips[0] value a prior barsAgo argument, such as .Teeth[1]/.Jaws[1]/.Lips[1] depenting on the displacement of the bars and the value you want to access.
See this help guide page for more information about accessing the WisemanAlligator indicator values in NinjaScript: https://ninjatrader.com/support/help..._alligator.htm
Let us know if we may assist further.Last edited by NinjaTrader_BrandonH; 04-23-2023, 04:13 PM.
-
Originally posted by euroq View PostThe alligator indicator is pushed forward by a period. Hence the blue, red, and green lines being seen ahead of the last/current candlestick. If you change the last 3 parameters to 1, 1, 1 you'll see what I mean.
Leave a comment:
-
Instead of .Teeth[0] try .Teeth[1] or .Jaw[1] or .Lips[1] to get what you are wanting, or [2], or [3] - however much its displacement to the right is in bars.
Leave a comment:
-
The alligator indicator is pushed forward by a period. Hence the blue, red, and green lines being seen ahead of the last/current candlestick. If you change the last 3 parameters to 1, 1, 1 you'll see what I mean.
- Likes 1
Leave a comment:
-
Access Predicted Indicator
Hello,
I apologize in advance if this question seems basic or stupid. I am working on developing a trading strategy that enters a trade based off of the Wiseman Alligator indicator. In the trade, I have the indicator defined as follows
Code:double teeth = WisemanAlligator(13, 8, 5, 8, 5, 3).Teeth[0]; double jaw = WisemanAlligator(13, 8, 5, 8, 5, 3).Jaw[0]; double lips = WisemanAlligator(13, 8, 5, 8, 5, 3).Lips[0];
However, my question is how can I get the values of where the current green line is at? Looking at the chart, it lines up at about 4145ish, yet the value returned is 4143.36, 2 points below. Is there a way to get the value of the green line when printed to show the 4145 where it is at now?
Please let me know if this makes any sense and if this is even possible. Thanks!Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by RosySmit, Today, 01:35 AM
|
0 responses
6 views
0 likes
|
Last Post
![]()
by RosySmit
Today, 01:35 AM
|
||
Started by gmacjapan, Today, 01:27 AM
|
0 responses
4 views
0 likes
|
Last Post
![]()
by gmacjapan
Today, 01:27 AM
|
||
Started by WHICKED, 06-27-2023, 12:07 PM
|
95 responses
1,148 views
1 like
|
Last Post
![]()
by diegocml
Today, 12:38 AM
|
||
Started by gmacjapan, Yesterday, 11:47 PM
|
0 responses
7 views
0 likes
|
Last Post
![]()
by gmacjapan
Yesterday, 11:47 PM
|
||
Started by gregorious13, Yesterday, 11:43 PM
|
0 responses
5 views
0 likes
|
Last Post
![]()
by gregorious13
Yesterday, 11:43 PM
|
Leave a comment: