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.
-
This solved what I was looking for! Thanks!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
which works exactly as planned as seen below. For this image if I were to print the value of the lips, it would return 4143.36.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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
157 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
91 views
1 like
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
143 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
131 views
1 like
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
107 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Leave a comment: