Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Using "beta" in an indicator
Collapse
X
-
Using "beta" in an indicator
Can we access the "beta" (e.g. the beta that we can add to a Market Analyzer) from within an indicator? If so, how would we do that?Tags: None
-
Hello AntiMatter,
Thank you for your post.
Yes, this is possible to do from within an indicator.
You will need to use OnFundamentalData() -
http://www.ninjatrader.com/support/h...mentaldata.htm
Let me know if I can be of further assistance.Cal H.NinjaTrader Customer Service
-
if (e.FundamentalDataType == FundamentalDataType.Beta) {
Print("The current beta is " + e.DoubleValue);
instrumentBeta = e.DoubleValue;
}
}
This doesnt seem to get called until I'm on the final bar, but I need to know the beta on historic/old bars!
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
175 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
331 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
253 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
356 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
183 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|

Comment