NexusFi: Find Your Edge


Home Menu

 





joeHAOindicator fails to compile with error code cs0542


Discussion in NinjaTrader

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




 
Search this Thread
  #1 (permalink)
joemiller
Annapolis, Md/USA
 
Posts: 7 since Apr 2013
Thanks Given: 3
Thanks Received: 0

joeHAOindicator fails to compile with error code cs0542. Clicking for info gives no further info.

I have not a clue what is meant by the error description "joeHAOindicator' member names cannot be the same as their enclosing type".

Any help will be greatly appreciated.

A program listing is attached


Attached Files
Elite Membership required to download: joeHAOindicator.cs
Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Kharg Island at 6%, Regime Fall at 1.5% -- The Black Swa …
Prediction Markets & Event Contracts
Trump Lands in Beijing on CPI Day: Iran Peace Expires To …
Prediction Markets & Event Contracts
Double Deadlock: Rubio Calls Hormuz Tolls "Unfeasib …
Traders Hideout
400 Million Barrels to Address Middle East Supply Disruption
Commodities
Energy Futures Shatter All-Time Daily Volume: 8.3 Millio …
Commodities
 
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
7 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #3 (permalink)
 
Tasker_182's Avatar
 Tasker_182 
Cedar Rapids, iowa
Legendary Market Wizard
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Ninjatrader - Continuum
Posts: 716 since Aug 2009
Thanks Given: 476
Thanks Received: 1,405



joemiller View Post
joeHAOindicator fails to compile with error code cs0542. Clicking for info gives no further info.

I have not a clue what is meant by the error description "joeHAOindicator' member names cannot be the same as their enclosing type".

Any help will be greatly appreciated.

A program listing is attached



Google the error code:

Compiler Error CS0542 (C#)


Reply With Quote
Thanked by:




Last Updated on May 27, 2013


© 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