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 2,723 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread

Exposing variables

  #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?
MC PL editor upgrade
MultiCharts
Trade idea based off three indicators.
Traders Hideout
How to apply profiles
Traders Hideout
Better Renko Gaps
The Elite Circle
REcommedations for programming help
Sierra Chart
 
  #3 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103



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


© 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