Please help! Import ninja script error! - NinjaTrader Programming | futures io social day trading
futures io futures trading


Please help! Import ninja script error!
Updated: Views / Replies:1,218 / 23
Created: by LMF871128 Attachments:9

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 9  
 
Thread Tools Search this Thread
 

Please help! Import ninja script error!

  #1 (permalink)
Trading Apprentice
hong kong
 
Futures Experience: None
Platform: NinjaTrader
Favorite Futures: futures
 
Posts: 3 since Mar 2015
Thanks: 0 given, 0 received

Please help! Import ninja script error!

Hi everybody, did anyone encounter the case like me?

When i import ninjascript, ninja trader shows "you have custom ninjascript files on your PC that...."

and then i found some solution from this forum, but still can't solve it, please see my attachment, it shows

"NinjaTrader.Indicator.SMA is a type but is used like a variable"

i try to delete the corresponding .cs, but it will appear another errors...

how to solve it...help... /_\

Attached Thumbnails
Please help! Import ninja script error!-123.png  
Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
Omer עומר / Israel י
 
Futures Experience: Master
Platform: NinjaTrader, Proprietary,
Broker/Data: Ninjabrokerage/IQfeed + Synthetic datafeed
Favorite Futures: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
 
rleplae's Avatar
 
Posts: 2,503 since Sep 2013
Thanks: 1,706 given, 3,715 received
Forum Reputation: Legendary



LMF871128 View Post
Hi everybody, did anyone encounter the case like me?

When i import ninjascript, ninja trader shows "you have custom ninjascript files on your PC that...."

and then i found some solution from this forum, but still can't solve it, please see my attachment, it shows

"NinjaTrader.Indicator.SMA is a type but is used like a variable"

i try to delete the corresponding .cs, but it will appear another errors...

how to solve it...help... /_\

I have been in such similar case and been able to solve it.
the easiest way is to return to the previous working situation
you can already remove the latest added indicator
and focus on getting the indicators to compile, before trying to add anything

SMA is a standard indicator, did you overwrite it ?

C:\Users\XXX\Documents\NinjaTrader 7\bin\Custom\Indicator\@SMA.cs

If you have two computer, or already a second ninjatrder (same version)
you can take the file there.

Before doing anything best is to copy everything in reserve folder

Reply With Quote
 
  #4 (permalink)
Trading Apprentice
hong kong
 
Futures Experience: None
Platform: NinjaTrader
Favorite Futures: futures
 
Posts: 3 since Mar 2015
Thanks: 0 given, 0 received


rleplae View Post
I have been in such similar case and been able to solve it.
the easiest way is to return to the previous working situation
you can already remove the latest added indicator
and focus on getting the indicators to compile, before trying to add anything

SMA is a standard indicator, did you overwrite it ?

C:\Users\XXX\Documents\NinjaTrader 7\bin\Custom\Indicator\@SMA.cs

If you have two computer, or already a second ninjatrder (same version)
you can take the file there.

Before doing anything best is to copy everything in reserve folder


Thanks for your help!

In "Edit Ninjascript" -> indictors" page, the latest added indicator haven't be shown in this list, therefore i can't remove it.

And, you mention the @SMA.cs, i can't find it in the list! (but the sma function is worked in the chart)

Is it the cause of the errors??

And, i no two computers, who can give the @SMA.cs file to me, please~~ /_\

Attached Thumbnails
Please help! Import ninja script error!-edit-indicators-list.png  
Reply With Quote
 
  #5 (permalink)
Elite Member
Omer עומר / Israel י
 
Futures Experience: Master
Platform: NinjaTrader, Proprietary,
Broker/Data: Ninjabrokerage/IQfeed + Synthetic datafeed
Favorite Futures: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
 
rleplae's Avatar
 
Posts: 2,503 since Sep 2013
Thanks: 1,706 given, 3,715 received
Forum Reputation: Legendary


LMF871128 View Post
Thanks for your help!

In "Edit Ninjascript" -> indictors" page, the latest added indicator haven't be shown in this list, therefore i can't remove it.

And, you mention the @SMA.cs, i can't find it in the list! (but the sma function is worked in the chart)

Is it the cause of the errors??

And, i no two computers, who can give the @SMA.cs file to me, please~~ /_\


This is how it looks in my NT (versions 7.0.1000.30)

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).



Attached is the indicator

Be sure to make a copy of your directory before doing anything

Attached Files
Register to download File Type: cs @SMA.cs (6.3 KB, 5 views)
Reply With Quote
 
  #6 (permalink)
Trading Apprentice
hong kong
 
Futures Experience: None
Platform: NinjaTrader
Favorite Futures: futures
 
Posts: 3 since Mar 2015
Thanks: 0 given, 0 received

Wow! Thank you very much!!!! After pasted your file, It is solved!!

Reply With Quote
 
  #7 (permalink)
Elite Member
Omer עומר / Israel י
 
Futures Experience: Master
Platform: NinjaTrader, Proprietary,
Broker/Data: Ninjabrokerage/IQfeed + Synthetic datafeed
Favorite Futures: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
 
rleplae's Avatar
 
Posts: 2,503 since Sep 2013
Thanks: 1,706 given, 3,715 received
Forum Reputation: Legendary

you're welcome
happy to help you

Reply With Quote
 
  #8 (permalink)
Elite Member
Marietta, Oh USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Zenfire
Favorite Futures: Euro
 
Posts: 173 since Mar 2010
Thanks: 431 given, 204 received

Ninjascript Error

Hi,
Can anyone please help. I have never seen this issue before. I cannot import or compile because I get a message that says I have Ninjascript errors on my computer that must be fixed first. But when I try to find which Ninjascript is causing the problem, I see the attached.

I would certainly appreciate any help that anyone can provide. Thanks.

Attached Thumbnails
Please help! Import ninja script error!-ninjascript_error_7-29-17.png  
Reply With Quote
 
  #9 (permalink)
 Vendor: www.innovative-trading-solutions-online.com 
Hartford, CT. USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: AMP/CQG, Kinetick
Favorite Futures: TF
 
RJay's Avatar
 
Posts: 677 since Jun 2009
Thanks: 726 given, 740 received


eminitrdr View Post
Hi,
Can anyone please help. I have never seen this issue before. I cannot import or compile because I get a message that says I have Ninjascript errors on my computer that must be fixed first. But when I try to find which Ninjascript is causing the problem, I see the attached.

I would certainly appreciate any help that anyone can provide. Thanks.


If you double click on any of the Orange errors, it will take you to the script with the errors.

Reply With Quote
The following user says Thank You to RJay for this post:
 
  #10 (permalink)
Elite Member
Marietta, Oh USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Zenfire
Favorite Futures: Euro
 
Posts: 173 since Mar 2010
Thanks: 431 given, 204 received

NinjaScript Error


@RJay,

I tried to double click on the orange, in various places and on a few indicators, with no luck. Do you have any other ideas? Thanks for your help.

Has anyone else ever seen this issue? Thanks in advance.

Attached Thumbnails
Please help! Import ninja script error!-ninjascript_error_double-click_7-29-17.png  
Reply With Quote

Reply



futures io > > > > > Please help! Import ninja script error!

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
EDSLevel2_v1 Import Error message multiclean The Elite Circle 14 August 9th, 2013 01:25 PM
Ninja indicator script error maxwelltrader NinjaTrader 2 January 30th, 2013 05:16 PM
Indicator import error!! Joseph689 NinjaTrader 5 December 2nd, 2012 03:10 PM
TradersStudio ASCII import error fxHense Platforms and Indicators 1 September 21st, 2011 02:48 AM
Ninja Script Import Problem jdella NinjaTrader 5 November 6th, 2009 10:57 AM


All times are GMT -4. The time now is 08:56 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts
Page generated 2017-12-16 in 0.13 seconds with 20 queries on phoenix via your IP 54.160.245.121