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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
656 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
371 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
109 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
574 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
579 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment