Importing a .cs - file indicator / strategy
futures io futures trading

Importing a .cs - file indicator / strategy


Created October 9th 2009 by max-td
Updated November 30th 2016 by Mohammed Akram
Top Posters
looks_one sleepy with 6 posts (2 thanks)
looks_two Big Mike with 4 posts (2 thanks)
looks_3 max-td with 4 posts (32 thanks)
looks_4 Mohammed Akram with 4 posts (1 thanks)
Best Posters
looks_one RJay with 18 thanks/1 posts [18.0 score]
looks_two Saroj with 11 thanks/1 posts [11.0 score]
looks_3 max-td with 32 thanks/4 posts [8.0 score]
looks_4 Silvester17 with 3 thanks/1 posts [3.0 score]
Thread Statistics
trending_up 33,848 views
thumb_up 75 thanks given
forum 39 replies
attach_file 4 attachments

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 100,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

Thread Tools Search this Thread

Importing a .cs - file indicator / strategy

  #31 (permalink)
the coin hunter
Trading Experience: Intermediate
Platform: ninja
Favorite Futures: NQ
cory's Avatar
Posts: 5,968 since Jun 2009
Thanks: 826 given, 7,756 received

Alinghy View Post
No one available to give me a small help ???



I can't compile that cs either but try this version instead

Reply With Quote
The following user says Thank You to cory for this post:

Can you help answer these questions
from other members on futures io?
What variable is used for TS(transaction size) under Times and Sales?
Some questions for my fellow canuck traders, eh.
Traders Hideout
Float Study in Easy Language code but need help converting to thinkscript
Block order question
Emini and Emicro Index
Best Threads (Most Thanked)
in the last 7 days on futures io
ES futures Spoo-nalysis SP500/SPX
493 thanks
Recession? Depression? Bailout!
192 thanks
Is Orderflow An Outdated Concept?
180 thanks
Coronavirus COVID-19
133 thanks
AMP Futures / AMP Global Review
41 thanks
  #32 (permalink)
Monaco - Montecarlo
Trading Experience: Intermediate
Platform: Ninja Trader 8
Broker/Data: Dorman
Favorite Futures: ES 6E ZB YM
Alinghy's Avatar
Posts: 332 since Sep 2009
Thanks: 257 given, 59 received

Hi Cory,

happy to hear from you, but unfortunately the story doesn't seem to change

I'll attach an image , I can't believe

tks so much for your help, appreciate


P.S. : this ninja trader is pretty new just installed a couple of days ago working properly on a " donkey pc " to do testing activity so it's a clean version

absolutely not much manipulated ...

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

What Life is ?
Only two things are infinite: universe and human stupidity, about the first one I am not so sure ... (A. Einstein)

Last edited by Alinghy; June 6th, 2013 at 01:35 PM.
Reply With Quote
  #33 (permalink)
Legendary Market Wizard
Columbus, OH
Trading Experience: None
Platform: NT 8, TOS
Favorite Futures: ES
Silvester17's Avatar
Posts: 3,515 since Aug 2009
Thanks: 4,919 given, 11,112 received

Alinghy View Post
Hi Cory,

happy to hear from you, but unfortunately the story doesn't seem to change

I'll attach an image , I can't believe

tks so much for your help, appreciate


P.S. : this ninja trader is pretty new just installed a couple of days ago working properly on a " donkey pc " to do testing activity so it's a clean version

absolutely not much manipulated ...


did you read the instructions in this thread?

did you first install the gom mp (including gom recorder)? you can find the indicators here:

I strongly suggest to read those threads first before trying to install that indicator. I would also delete the 2 versions you downloaded and make sure you don't have any compiling errors. open any indicator in the editor and press f5.

then if you have installed the necessary gom package, the alto gom mp should be no problem to install.

Reply With Quote
The following 3 users say Thank You to Silvester17 for this post:
  #34 (permalink)
Site Administrator
Manta, Ecuador
Trading Experience: Advanced
Platform: My own custom solution
Favorite Futures: SPX, Emini Futures
Big Mike's Avatar
Posts: 48,255 since Jun 2009
Thanks: 30,855 given, 92,396 received


If you have further questions or problems about Elite indicators such as these, please do not post in this thread. Instead, go back to the actual original Elite thread for the indicator and post there.


Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member (see why)

Follow me on Twitter Visit my Facebook Visit my futures io Trade Journal Reply With Quote
The following 2 users say Thank You to Big Mike for this post:
  #35 (permalink)
Trading Experience: Beginner
Platform: NinjaTrader, Jigsaw
Favorite Futures: ES, FDXM, FDAX
Posts: 7 since Sep 2016
Thanks: 281 given, 11 received

bermarti View Post
The error message is an Import NinjaScript Archive File (.zip) Warning which reads "You have custom NinjaScript files on you PC that have programming errors. These errors must be resolved before you can import a NinjaScript Archive File."

After I remove VolumeStopV5 indicator I am able to import other indicators. I have no problem importing indicators in zip format but importing the cs format gives me problems.

I appreciate your willingness to share thank you for your help.

Dear Bermarti,

Have you found a solution for this problem? I'm facing the same problem, tried the solutions presented in the thread over the years but as soon as I've got the ALTOGomMP file in my folder I get the same message: 'You have custom NinjaScripts files that have programming errors'. When I delete the the ALTOGomMP the problem seems to be solved but I want the ALTOGomMP to be imported in NT. Could you assist me?

Thanks a lot!


Reply With Quote
  #36 (permalink)
Eau Claire, WI USA
Trading Experience: Intermediate
Platform: ninja trader
Broker/Data: Amp Futures/ zen Fire
Favorite Futures: ES, 6E, ZN
Posts: 12 since Jun 2009
Thanks: 50 given, 3 received

Hi VBX1,
That was a long time ago and I don't remember what I did to work around that problem. I no longer use Ninja charts and haven't used them for a long time. I believe that problem along with some others turned me off on them. I've been using Sierra Charts and have found them to be very light as far as programming and quite simple to use and maneuver around in them. I hope you find the solution to your problem.

Reply With Quote
  #37 (permalink)
Bangalore, Karnataka, India
Posts: 4 since Nov 2016
Thanks: 0 given, 1 received

Editing Ninja Script error

Hi max-td, I have done exact same For below said procedure but at last when i compile i got too many errors, Kindly help me for the same.I am using NinjaTrader 8 ( NinjaTrader 7 is working fine)

Mohammed Akram

max-td View Post
here an answer to a FAQ :

How to import a .cs- file into NT (indicator or strategy)

- open the .cs-file in windows editor -- you should see lot of text here.

- do in Ninja > Tools > Edit NinjaSript > Indicator --- and open one indicator - no matter wich one + delete ALL the text there

- now copy the whole text from the .cs-file into the indicator-file

- now - IMPORTANT - copy the indicators name from the file - you find it mostly between line 20 to 30 :

in example public class MaxDots007 : Indicator

    /// <summary>
    /// </summary>
    public class 
MaxDots007 Indicator 
- then rightklick + "save as" .... insert this name here + klick OK

- now compile the indicator ( F5 or compile-button)


that should work.
Have Fun!

Last edited by Mohammed Akram; November 29th, 2016 at 01:01 PM.
Reply With Quote
  #38 (permalink)
Bangalore, Karnataka, India
Posts: 4 since Nov 2016
Thanks: 0 given, 1 received

Copying .cs file

Hello everyone,

Copying .cs files at NT7 is easy OR importing zip file or even Ninja script is easy at NinjaTrader7 but how do i do it at NT8 it always give so many error while compiling,

Can any one give me idea how do i have NT8 .cs file installed ( My requirement is to install NT7 indicators at NT8)

Kindly any one help me,

If any one need any help for NT7 feel free to ask me, I am ready to help any time

Attached Thumbnails
Importing a .cs - file indicator / strategy-nt8-errors.jpg  
Attached Files
Register to download File Type: cs SuperTrend.cs (9.4 KB, 5 views)

Last edited by Mohammed Akram; November 29th, 2016 at 01:56 PM. Reason: NOT able to compaile after copying .cs file
Reply With Quote
  #39 (permalink)
Bangalore, Karnataka, India
Posts: 4 since Nov 2016
Thanks: 0 given, 1 received

copying .cs files

any .cs files can be copied directly to following
My Documents/NinjaTrader 7/Bin/Custom/Indicator/XXXXX.cs

Now open NinjaTrader7 Right click and select Indicator you will find the added .cs file as indicator, Select and enjoy

Login to NinjaTrader7 Control center/File/Utilities/NinjaScript you will get a open window browse your zip file (indicator file) it will ask you do you trust the file say yes ok, you will see imported sucessfully

Last edited by Mohammed Akram; November 29th, 2016 at 01:26 PM.
Reply With Quote
The following user says Thank You to Mohammed Akram for this post:
  #40 (permalink)
Bangalore, Karnataka, India
Posts: 4 since Nov 2016
Thanks: 0 given, 1 received

NinjaTrader8 scripting/compailing

Can any one here who can tell me the error code for NT8 while compailing


Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > Importing a .cs - file indicator / strategy

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

futures io is celebrating 10-years w/ over $18,000 in prizes!

Right now

$250 Amazon Gift Cards with our "Thanks Contest" challenge!

Right now

Social Media Predictive Data for Traders w/Joe Gits @ SMA [and Lime Brokerage]

Apr 9

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Zip file please (_Lin_Reg_Rev_Paint_v01.cs) tickvix NinjaTrader 5 March 29th, 2011 10:03 AM
downloading & importing .cs and .xml files hector24 NinjaTrader 3 March 8th, 2011 03:05 AM
Importing data as .txt file in Multicharts arjfca The Elite Circle 2 January 31st, 2011 06:15 PM
How to change a .cs file into NinjaTrader 7 zip micdup NinjaTrader 15 January 7th, 2011 07:57 PM
CS file greatsky NinjaTrader 6 December 23rd, 2010 10:27 AM

All times are GMT -4. The time now is 12:55 AM. (this page content is cached, log in for real-time version)

Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
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