NexusFi: Find Your Edge


Home Menu

 





Error when trying to install indicator


Discussion in NinjaTrader

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




 
Search this Thread

Error when trying to install indicator

  #1 (permalink)
 DennisA 
Andover CT USA
 
Experience: Advanced
Platform: NT7
Trading: YM
Posts: 16 since Aug 2010
Thanks Given: 2
Thanks Received: 3

I'm fairly new to programming indicators, so this is probably a basic question. I'm trying to load The "Volume Patterns" indicator in NT7. For some reason the software won't let me import indicators the easy way and says there are files that have programming errors (and I should correct them before I can import).

So I extracted and copied the .cs files to the /bin/Custom and /bin.Custom/Indicators folders (not sure which to use) I was told I need to activate (install) the indicator by bringing it up in the editor and F5 compiling it. When I hit compile I get an "Error Generating Indicator" message "The namespace 'Ninjatrader.Indicator' already contains a definition for 'Volume Patterns' " I looked at the Ninjascript but don't see any type of duplicate definition.

As I said I'm new to this, and its probably simple, but I can use some suggestions.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
Increase in trading performance by 75%
The Elite Circle
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
How to apply profiles
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
35 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
19 thanks
GFIs1 1 DAX trade per day journal
16 thanks
Spoo-nalysis ES e-mini futures S&P 500
14 thanks
  #3 (permalink)
 MooreTech 
Orlando, Florida
 
Experience: Advanced
Platform: NinjaTrader, TradeStation, MultiCharts, eSignal, MetaTrader
Trading: ES
Posts: 57 since Aug 2010
Thanks Given: 6
Thanks Received: 73


It is telling you that you already have an indicator named VolumePatterns. I believe this should help you out.

Find this line of code...

 
Code
                            
public class VolumePatterns Indicator 

Change to....

 
Code
                            
public class NewVolumePatterns Indicator 

Press F5 to compile.



DennisA View Post
I'm fairly new to programming indicators, so this is probably a basic question. I'm trying to load The "Volume Patterns" indicator in NT7. For some reason the software won't let me import indicators the easy way and says there are files that have programming errors (and I should correct them before I can import).

So I extracted and copied the .cs files to the /bin/Custom and /bin.Custom/Indicators folders (not sure which to use) I was told I need to activate (install) the indicator by bringing it up in the editor and F5 compiling it. When I hit compile I get an "Error Generating Indicator" message "The namespace 'Ninjatrader.Indicator' already contains a definition for 'Volume Patterns' " I looked at the Ninjascript but don't see any type of duplicate definition.

As I said I'm new to this, and its probably simple, but I can use some suggestions.


Follow me on Twitter Reply With Quote
Thanked by:
  #4 (permalink)
 DennisA 
Andover CT USA
 
Experience: Advanced
Platform: NT7
Trading: YM
Posts: 16 since Aug 2010
Thanks Given: 2
Thanks Received: 3

Thanks MooreTech. There didn't seem to be another indicator with the same name, but changing the code to a new name fixed the problem.

Dennis

Started this thread Reply With Quote




Last Updated on August 18, 2010


© 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