NexusFi: Find Your Edge


Home Menu

 





Error when trying to install indicator


Discussion in NinjaTrader

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




 
Search this Thread
  #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?
Trump Media to sell instant access to market-moving soci …
Traders Hideout
Daytrading to swingtrading
Traders Hideout
Thanks Mike. Godspeed.
The Elite Circle
Netherlands & Germany Surge as World Cup Field Narro …
Prediction Markets & Event Contracts
Iran Lebanon Problem Kills Switzerland Talks, Brent at $ …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Want your NinjaTrader indicator created, free?
5 thanks
Afternoon-close session
1 thanks
Franks Trading Journey
1 thanks
Denied 20K payouts: Alpha Futures
1 thanks
FootPrintV2 Chart for NT8
1 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 X 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


© 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