NexusFi: Find Your Edge


Home Menu

 





programmatically read the type of unit


Discussion in NinjaTrader

Updated
    1. trending_up 1,488 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 1 posts
    2. attach_file 1 attachments




 
Search this Thread
  #1 (permalink)
 
pintope's Avatar
 pintope 
Madrid, Spain
 
Experience: Beginner
Platform: NinjaTrader + Dendric
Broker: IB/Kinetick
Trading: Futures
Posts: 17 since May 2014
Thanks Given: 5
Thanks Received: 9

Hello everybody,

does anybody know how to programmatically read the type of unit (currency, percent or points) in strategy analyzer? Screenshot attached.

I have located these classes:
 
Code
namespace NinjaTrader.Strategy
{
    public enum PerformanceUnit
    {
        Currency = 0,
        Percent = 1,
        Points = 2,
    }
}



namespace NinjaTrader.MarketAnalyzer
{
	public class NetChange : NinjaTrader.MarketAnalyzer.Column
	{
		private Strategy.PerformanceUnit	unit	 = Strategy.PerformanceUnit.Percent;
	}
}


I cannot find where the object with "PerformanceUnit" is instantiated. I think it's simply unreachable but who knows whether some of you has the key.

Thank you.


Attached Thumbnails
Click image for larger version

Name:	Screen Shot.png
Views:	210
Size:	18.4 KB
ID:	167533  
Follow me on X Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Bookmap Global Plus Lifetime + Lifetime Addons For Sale
Platforms and Indicators
One Wallet Made $200K in Hours: AP Probes Polymarket Cea …
Prediction Markets & Event Contracts
Saylors 41-Month HODL Breaks: Strategy Sells 32 BTC as $ …
Prediction Markets & Event Contracts
CME Launches Bitcoin Volatility Futures June 1 -- First …
Cryptocurrency
Kharg Island at 6%, Regime Fall at 1.5% -- The Black Swa …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 thanks




Last Updated on December 1, 2014


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts