NexusFi: Find Your Edge


Home Menu

 





Switching from ThinkScript to NinjaScript


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one iantg with 2 posts (1 thanks)
    2. looks_two caleb with 2 posts (0 thanks)
    3. looks_3 cshields with 1 posts (0 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 2,651 views
    2. thumb_up 1 thanks given
    3. group 3 followers
    1. forum 5 posts
    2. attach_file 0 attachments




 
Search this Thread

Switching from ThinkScript to NinjaScript

  #1 (permalink)
caleb
Vancouver WA
 
Posts: 13 since Jun 2017
Thanks Given: 5
Thanks Received: 2

Hi

I currently use ThinkOrSwim and am pretty familiar with ThinkScript. Would switching to NinjaTrader and NinjaScript be pretty straight forward or are they too dissimilar.

Also, I'm a software developer, so picking up new languages is something I can do pretty quickly.

Thanks

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
Better Renko Gaps
The Elite Circle
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
Exit Strategy
NinjaTrader
NexusFi Journal Challenge - April 2024
Feedback and Announcements
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
60 thanks
Funded Trader platforms
43 thanks
NexusFi site changelog and issues/problem reporting
24 thanks
GFIs1 1 DAX trade per day journal
22 thanks
The Program
19 thanks
  #3 (permalink)
 iantg 
charlotte nc
 
Experience: Advanced
Platform: My Own System
Broker: Optimus
Trading: Emini (ES, YM, NQ, ect.)
Posts: 408 since Jan 2015
Thanks Given: 90
Thanks Received: 1,147


caleb,

NinjaTrader uses C# as the programming language. They have their own class libraries with their own trading related objects, methods, variables, etc. But these are largely universal between any trading software platform in terms of their use cases. For example, Open, Close, Enter, Exit are all fairly easy to translate from one platform to another. The mechanics of how these work are the same.

NinjaTrader has more bang for your buck in terms of event handlers, and NT 8 is multi-threaded so you can move through various event handlers quicker which is a huge plus.

If you are a developer than you should be fairly comfortable with C#. .Net or Java Developers will feel right at home here. I am a professional developer as well and I picked up NinjaTrader over a weekend my first time hacking around with it.

I think you will do fine.

Best of luck!

Ian



caleb View Post
Hi

I currently use ThinkOrSwim and am pretty familiar with ThinkScript. Would switching to NinjaTrader and NinjaScript be pretty straight forward or are they too dissimilar.

Also, I'm a software developer, so picking up new languages is something I can do pretty quickly.

Thanks


In the analytical world there is no such thing as art, there is only the science you know and the science you don't know. Characterizing the science you don't know as "art" is a fools game.
Visit my NexusFi Trade Journal Reply With Quote
  #4 (permalink)
caleb
Vancouver WA
 
Posts: 13 since Jun 2017
Thanks Given: 5
Thanks Received: 2


iantg View Post
caleb,

NinjaTrader uses C# as the programming language. They have their own class libraries with their own trading related objects, methods, variables, etc. But these are largely universal between any trading software platform in terms of their use cases. For example, Open, Close, Enter, Exit are all fairly easy to translate from one platform to another. The mechanics of how these work are the same.

NinjaTrader has more bang for your buck in terms of event handlers, and NT 8 is multi-threaded so you can move through various event handlers quicker which is a huge plus.

If you are a developer than you should be fairly comfortable with C#. .Net or Java Developers will feel right at home here. I am a professional developer as well and I picked up NinjaTrader over a weekend my first time hacking around with it.

I think you will do fine.

Best of luck!

Ian

Hi Ian

Well lucky me...My day job is as a C# developer. I worked through a couple tutorials this morning and am liking it very much so far.

On another note, coming from TDA I'm not familiar with the trading model where you bring your own data feed, CFM, broker and trading platform. If you don't mind my asking, what data feed/CFM/broker do you use with NinjaTrader? With all the options out there, it is a bit overwhelming.

Thanks for the info.

Caleb

Reply With Quote
  #5 (permalink)
 iantg 
charlotte nc
 
Experience: Advanced
Platform: My Own System
Broker: Optimus
Trading: Emini (ES, YM, NQ, ect.)
Posts: 408 since Jan 2015
Thanks Given: 90
Thanks Received: 1,147

Caleb,

That is awesome that you are a C# developer, you will do quite well with NinjaTrader in this case. You can extend the ninjascript to import just about any standard C# reference / library such as a linq, SQL, or any other helpful classes to use for your objects.

As for the Broker and Data Feed with NinjaTrader: This is very easy to cover...

1. Data Feeds: There are a handful of retail data feeds that you can pick from:

A: CQG / Continuim: This is a good option, they charge .10 cent per contract. They have data centers in Chicago so you will be close to the CME and have fairly good speed.
B: Rythmic: This is also another option by NinjaTrader that is near the exchange (CME) so you will have good speed. But they have a higher cost per trade. They are .25 cents per contract. There may be other reasons why they are .15 cents per trade more than CGQ but the main one I can think of is that they are located close to the actual CME exchange data center in Aurora whereas CGQ is in Chicago. What this means in a practical sense to a trader is that you may be microsecond or two quicker in some cases with Ryhmic, but this will only beniifit you if you are also co-locating near the CME, and you are in the HF world. For 99% of retail traders this difference would not have an impact.
C: There may be a few others, but these are less commonly used.

In terms of brokers, there are only really a few brokers that new NinjaTrader customers can work with.

1. NinjaTrader Brokerage: They have their brokerage. They have a very competitive commission structure and they have good executions, and are quick to respond to customer questions, issues if they arise.
2. Interactive Brokers: They are one of the largest players in this space. They are fairly well respected in the industry and often discussed on this forum, so you can do your own research fairly easily.
3. MB Trading: They are the other main option you have with futures trading with NinjaTrader. They have a really cool phone App that allows you to track your trading, and they also have similar commissions to IB / NT.
4. There are a few other ones that are related to FX, but for new users, the 3 I have listed are the main ones they still work with for new customers.

I think overall you will do better with NT Brokerage as far as commissions. They are transparent, and slightly lower than the others starting out (Non volume based). All 3 have some component of volume based discounts that kick in at different intervals with different lined in the sand. You can easily see these if you do a search. Depending on where you draw lines in the sand, you may find one cheaper than another.

All this being said, I go with CQG / NT Brokerage. It's the cheapest option and they have been fairly reliable thus far.

Best of luck!

Ian



caleb View Post
Hi Ian

Well lucky me...My day job is as a C# developer. I worked through a couple tutorials this morning and am liking it very much so far.

On another note, coming from TDA I'm not familiar with the trading model where you bring your own data feed, CFM, broker and trading platform. If you don't mind my asking, what data feed/CFM/broker do you use with NinjaTrader? With all the options out there, it is a bit overwhelming.

Thanks for the info.

Caleb


In the analytical world there is no such thing as art, there is only the science you know and the science you don't know. Characterizing the science you don't know as "art" is a fools game.
Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #6 (permalink)
cshields
boise idaho
 
Posts: 1 since Jun 2018
Thanks Given: 0
Thanks Received: 0

Hey Caleb,

I found the forum you were writing on about your transition over to ninjatrader from thinkorswim. I to am looking at the switch. I am not a programmer so the code editing to me is a little foreign. do you think you could assist me in transferring some indicators over?

Best Regards,
Chase

Reply With Quote




Last Updated on June 13, 2018


© 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