NexusFi: Find Your Edge


Home Menu

 





NinjaTrader Namespaces Classes Methods etc


Discussion in NinjaTrader

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




 
Search this Thread

NinjaTrader Namespaces Classes Methods etc

  #1 (permalink)
 tornadoatc 
Ft. Lauderdale Florida
 
Experience: Intermediate
Platform: Tradestation
Posts: 17 since Apr 2010
Thanks Given: 31
Thanks Received: 3

Hello All,

I am relatively new to NinjaTrader and C#. So excuse me if this is a simple question.

I am trying to put some reasonable Exception Handling in my code.

I see that Ducman used the following "Log" method:
 
Code
NinjaTrader.Strategy.StrategyBase.Log("Exception Message", NinjaTrader.Cbi.LogLevel.Error)
Is there some way to look inside the Namespaces / Classes / Methods to help identify such methods?

I appreciate your help!!

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
How to apply profiles
Traders Hideout
MC PL editor upgrade
MultiCharts
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
Exit Strategy
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
33 thanks
Just another trading journal: PA, Wyckoff & Trends
26 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
19 thanks
  #3 (permalink)
 
vvhg's Avatar
 vvhg 
Northern Germany
 
Experience: Intermediate
Platform: NT
Trading: FDAX, CL
Posts: 1,583 since Mar 2011
Thanks Given: 1,016
Thanks Received: 2,824



tornadoatc View Post
Hello All,

I am relatively new to NinjaTrader and C#. So excuse me if this is a simple question.

I am trying to put some reasonable Exception Handling in my code.

I see that Ducman used the following "Log" method:
 
Code
NinjaTrader.Strategy.StrategyBase.Log("Exception Message", NinjaTrader.Cbi.LogLevel.Error)
Is there some way to look inside the Namespaces / Classes / Methods to help identify such methods?

I appreciate your help!!

You would have to sniff around in NinjaTrader .Core.dll. You could use NetReflector or something similar for that, but it's not really a beginners project. For most simple stuff Print statements are quite good, but they are expensive, so don't use them excessively unless debugging.

vvhg

Hic Rhodos, hic salta.
Reply With Quote
Thanked by:




Last Updated on April 11, 2013


© 2024 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 - Privacy Policy - Downloads - Top
no new posts