NexusFi: Find Your Edge


Home Menu

 





Help changing from MT4 to NT7 (Functions and testing)


Discussion in NinjaTrader

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




 
Search this Thread

Help changing from MT4 to NT7 (Functions and testing)

  #1 (permalink)
dream3r
Barcelona
 
Posts: 28 since Oct 2012
Thanks Given: 2
Thanks Received: 4

Hello everybody!
I'm looking for a change, because I'm a MT4 programmer but I would like learn more NT7 to develop. I need more documentation of NT7 about.
I'm wondering if it could be possible get a good manual (like the MT4) to get API functions (like current time, timeframe, etc.).

I would like also, to know how I can test a strategy in real time (like MT4, where you can see your algorithm with real data from the broker.
Is it possible? I'm really nervous becuase I have a lot of futures strategies in my mind and I need to develop it! hehe

Could anybody help me (easy questions!).

Thank you in advance!

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Exit Strategy
NinjaTrader
Deepmoney LLM
Elite Quantitative GenAI/LLM
Are there any eval firms that allow you to sink to your …
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
 
  #2 (permalink)
 
Zondor's Avatar
 Zondor 
Portland Oregon, United States
 
Experience: Beginner
Platform: Ninjatrader®
Broker: CQG, Kinetick
Trading: Gameplay Klownbine® Trading of Globex
Posts: 1,333 since Jul 2009
Thanks Given: 1,246
Thanks Received: 2,731

There is no manual other than the Ninjatrader help. Ninjascript is a subset of Visual C# so almost everything carries over. All indicators and strategies are Classes within the Ninjatrader.Indicator and Ninjatrader.Strategy namespaces. You just need to understand the function of Ninjascript's custom events such as Iniitialize, OnStartUp, OnBarUpdate, OnMarketDepth, and OnMarketData to get started.

I learned by hacking existing indicators and copying like crazy. A lot of Ninjascript uses very bad programming practices that need to be un-learned, for which I recommend this thread:



Ninjatrader can bog down when it starts and in Market Replay mode because of hard disk overload. Moving the historical and replay data files into RAM makes it work much better.


Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #3 (permalink)
 Cloudy 
desert CA
 
Experience: Intermediate
Platform: NT7, various
Broker: various, TDA
Trading: NQ,ES
Posts: 2,124 since Jul 2011
Thanks Given: 2,396
Thanks Received: 1,748


It would be nice if there was a "fan" list and descriptions of "discovered" overload-able functions that works through C# on NT chart windows. But I guess not having that information readily available helps the vendor indicator business where they keep their coding proprietary. The shared indicators and code on futures.io (formerly BMT) downloads seems to be the best info there is available for now.

Visit my NexusFi Trade Journal Reply With Quote
  #4 (permalink)
dream3r
Barcelona
 
Posts: 28 since Oct 2012
Thanks Given: 2
Thanks Received: 4


Zondor View Post
There is no manual other than the Ninjatrader help. Ninjascript is a subset of Visual C# so almost everything carries over. All indicators and strategies are Classes within the Ninjatrader.Indicator and Ninjatrader.Strategy namespaces. You just need to understand the function of Ninjascript's custom events such as Iniitialize, OnStartUp, OnBarUpdate, OnMarketDepth, and OnMarketData to get started.

I learned by hacking existing indicators and copying like crazy. A lot of Ninjascript uses very bad programming practices that need to be un-learned, for which I recommend this thread:



Ninjatrader can bog down when it starts and in Market Replay mode because of hard disk overload. Moving the historical and replay data files into RAM makes it work much better.


Thank you a lot! I'm checking this links right now!

Do you know how I can see the strategy actions with real data? I mean, like MT4: you see the market in real time (like manual trading) but you use the strategy to trading and you can see how entry into market, print some information on display, etc.

Thank you again!

Reply With Quote
  #5 (permalink)
dream3r
Barcelona
 
Posts: 28 since Oct 2012
Thanks Given: 2
Thanks Received: 4


Cloudy View Post
It would be nice if there was a "fan" list and descriptions of "discovered" overload-able functions that works through C# on NT chart windows. But I guess not having that information readily available helps the vendor indicator business where they keep their coding proprietary. The shared indicators and code on futures.io (formerly BMT) downloads seems to be the best info there is available for now.

Yes, I agree with you! It would be the best option!

Thanks for replay me!

Reply With Quote




Last Updated on November 8, 2012


© 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