Importing a .cs - file indicator / strategy - NinjaTrader Programming | futures io social day trading
futures io futures trading


Importing a .cs - file indicator / strategy
Updated: Views / Replies:27,752 / 39
Created: by max-td Attachments:4

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
 4  
 
Thread Tools Search this Thread
 

Importing a .cs - file indicator / strategy

  #11 (permalink)
Elite Member
Frankfurt
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 917 received

my way would be now :

- delete your jtEconNews2 in the ninja-script - Indicator-folder.
>> Control Center > Tools - Edit NinjaScript - Indicator - choose file - delete

- delete all your jtEconNews2 - files you have downloaded yet (for not getting mixed up with all these / diff version)

then download the one you like to have fresh again + do the following :


Saroj View Post
  • copy or save your .cs.file to My Documents\NinjaTrader 6.5\bin\Custom\Indicator (or ...\Strategy if a strategy cs file).
  • from the Control Center, Tools - Edit NinjaScript - Indicator (or ...-Strategy if that)
  • double click (open ) on any file name in the list that is displayed - it doesnt matter wich one
  • when it opens to show the code, press F5 to compile it.

This works because when any cs file is compiled in NinjaTrader, it compiles any and all other cs files that have been changed since the last time it did so.

this should work.

max-td
Reply With Quote
The following user says Thank You to max-td for this post:
 
  #12 (permalink)
Elite Member
London, UK
 
Futures Experience: None
Platform: NinjaTrader
Favorite Futures: ES, CL
 
sleepy's Avatar
 
Posts: 114 since Sep 2010
Thanks: 2,173 given, 109 received

..

Reply With Quote
 
  #13 (permalink)
Elite Member
London, UK
 
Futures Experience: None
Platform: NinjaTrader
Favorite Futures: ES, CL
 
sleepy's Avatar
 
Posts: 114 since Sep 2010
Thanks: 2,173 given, 109 received


...deleted .cs file
Readded ... and did as you suggested but still does not appear in indicator list.

Wonder if its becasuse im using NinjaTrader 7 on Windows 7 Home edition.

sleepy

Reply With Quote
 
  #14 (permalink)
Elite Member
Frankfurt
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 917 received

hm, sorry, no more ideas to this - must be another issue somehow.
maybe open another thread to ask some users of this inidcator.

max-td
Reply With Quote
 
  #15 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,352 given, 83,231 received

Attach the indicator here so we can see the name of it in the code and NT7 users can test it.

Mike

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.
6)
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.

Reply With Quote
 
  #16 (permalink)
Elite Member
London, UK
 
Futures Experience: None
Platform: NinjaTrader
Favorite Futures: ES, CL
 
sleepy's Avatar
 
Posts: 114 since Sep 2010
Thanks: 2,173 given, 109 received

Hi Mike,

I was using the one from this post:

jtEconNews2.cs

https://futures.io/elite-group-trading-methods/59...verage-12.html#post76303

sleepy

Reply With Quote
 
  #17 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,352 given, 83,231 received

Open up the indicator code in Ninja editor, go to line 53 -- the description block where it says "jtEconNews2a - Display upcoming......". Change the text inside the quotes to something like "Sleepy Indicator". Don't use any punctuation or non-standard characters.

F5/re-compile, check again.

Also check your Log tab in Control Center.

Mike

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.
6)
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.

Reply With Quote
 
  #18 (permalink)
Elite Member
London, UK
 
Futures Experience: None
Platform: NinjaTrader
Favorite Futures: ES, CL
 
sleepy's Avatar
 
Posts: 114 since Sep 2010
Thanks: 2,173 given, 109 received

Using ZTR's version of this indicator solved the problem. Thanks for everyones help.

sleepy

https://futures.io/platforms-indicators/6815-jteconnews-stopped-working.html#post78546


Reply With Quote
The following 2 users say Thank You to sleepy for this post:
 
  #19 (permalink)
Elite Member
Philadelphia, Pa
 
Futures Experience: Advanced
Platform: Ninja 7
Broker/Data: Amp/CQG
Favorite Futures: CL, ES
 
longboat's Avatar
 
Posts: 137 since Jun 2009
Thanks: 887 given, 188 received


sleepy View Post
Hi max-td,

When I go ....
Edit NinjaScript > Indicator > Edit Indicator
The file jtEconNews2 already exists
I doubleclick and it opens ... I then run compile and resave as jtEconNews2

However when I go onto Chart and select indicators (CTrl I) it doesnt appear in my list of indicators

At no stage do I get any errors.

sleepy

Sleepy did you find it? I had the same problem but found it. When you go to add an indicator to your chart I found it as a blank white indicator (no name) at the very beginning of all my indicators listed in NT7. Maybe you already found it, but that was where mine was! It is just invisible to the list of indicators.

Reply With Quote
 
  #20 (permalink)
 R.I.P. 1960-2010 
 
Futures Experience: Advanced
Platform: NinjaTrader7
Broker/Data: Mirus RCG/Zen-Fire
Favorite Futures: CL & 6e, looking at ES, ZB and AU again.
 
ZTR's Avatar
 
Posts: 2,099 since Nov 2009
Thanks: 1,104 given, 1,390 received



sleepy View Post
Using ZTR's version of this indicator solved the problem. Thanks for everyones help.

sleepy

https://futures.io/platforms-indicators/6815-jteconnews-stopped-working.html#post78546


JT Puts in blank names under this.Name in the Initialize method section of the .cs file.

So there is no name listed in the indicator chooser, as it is the top one and is displayed as blank.

The fix, search for this section:

protected override void Initialize()
{
this.Name=" ";

Change to:

protected override void Initialize()
{
this.Name="jt Economic News 2";

Or what ever you want in the quotes.

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

R.I.P. Andy Zektzer (ZTR), 1960-2010.
Please visit this thread for more information.
Reply With Quote

Reply



futures io > > > > > 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)

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
Need Zip file please (_Lin_Reg_Rev_Paint_v01.cs) tickvix NinjaTrader 5 March 29th, 2011 11:03 AM
downloading & importing .cs and .xml files hector24 NinjaTrader 3 March 8th, 2011 04:05 AM
Importing data as .txt file in Multicharts arjfca The Elite Circle 2 January 31st, 2011 07:15 PM
How to change a .cs file into NinjaTrader 7 zip micdup NinjaTrader 15 January 7th, 2011 08:57 PM
CS file greatsky NinjaTrader 6 December 23rd, 2010 11:27 AM


All times are GMT -4. The time now is 01:21 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-14 in 0.14 seconds with 20 queries on phoenix via your IP 54.234.255.29