NexusFi: Find Your Edge


Home Menu

 





Exposing variables


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one kaywai with 2 posts (0 thanks)
    2. looks_two Fat Tails with 1 posts (1 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 eman with 1 posts (0 thanks)
    1. trending_up 3,151 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
kaywai
singapore
 
Posts: 131 since Nov 2009
Thanks Given: 11
Thanks Received: 7

Hi

Could someone help me expose variables from a private abstract class?

I have this variable in a private abstract class called

"public bool t******iscompleted = false;"



I tried the example provided by NT support

 
Code
[Browsable(false)]
[XmlIgnore()]
public bool T******iscompleted
{
get { Update(); return t******iscompleted; }
}
but unfortunately I got this error message:-

" The name 't******iscompleted' does not exist in the current context" CS0103

and NT support unfortunately is unable to support such coding.

Thanks in anticipation!

Regards

Kay Wai


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Orban at 29pct as Hungary Votes Tomorrow -- McIlroy Surg …
Prediction Markets & Event Contracts
Wood Mackenzie Drops $200 Oil Forecast -- Airspace Expir …
Prediction Markets & Event Contracts
After $87M Settles NO: Irans Nuclear Redline Sets Up the …
Prediction Markets & Event Contracts
Al Arabiya: US-Iran Draft Deal Within Hours Contains Hor …
Prediction Markets & Event Contracts
Rubios Good News Within Hours and the 30-Day Math: Why H …
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
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
2026 Fire Horse
5 thanks
  #3 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,114



kaywai View Post
Hi

Could someone help me expose variables from a private abstract class?

I have this variable in a private abstract class called

"public bool t******iscompleted = false;"



I tried the example provided by NT support

 
Code
[Browsable(false)]
[XmlIgnore()]
public bool T******iscompleted
{
get { Update(); return t******iscompleted; }
}
but unfortunately I got this error message:-

" The name 't******iscompleted' does not exist in the current context" CS0103

and NT support unfortunately is unable to support such coding.

Thanks in anticipation!

Regards

Kay Wai


If you wish some help, you should post your indicator or strategy. That makes it easier. If the name t******iscompleted does not exist, it is likely that you did not declare it.


Reply With Quote
Thanked by:
  #4 (permalink)
 eman 
Galveston ,TX
 
Experience: Intermediate
Platform: NT7
Broker: Zaner
Trading: Futures
Posts: 386 since Mar 2010
Thanks Given: 364
Thanks Received: 435


kaywai View Post
Hi

Could someone help me expose variables from a private abstract class?

I have this variable in a private abstract class called

"public bool t******iscompleted = false;"



I tried the example provided by NT support

 
Code
[Browsable(false)]
[XmlIgnore()]
public bool T******iscompleted
{
get { Update(); return t******iscompleted; }
}
but unfortunately I got this error message:-

" The name 't******iscompleted' does not exist in the current context" CS0103

and NT support unfortunately is unable to support such coding.

Thanks in anticipation!

Regards

Kay Wai

have you tried putting everything in the single indicator class first?

like @fattails said, you can also post the entire zip archive here for debugging assistance.

cheers,
-e


Reply With Quote
  #5 (permalink)
kaywai
singapore
 
Posts: 131 since Nov 2009
Thanks Given: 11
Thanks Received: 7

Posting the code may result in legal notices issued...trying to avoid that.


Reply With Quote




Last Updated on April 14, 2011


© 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