Powered by Jitbit Asp.Net Forum free trial version.
home recent topics recent posts search faq  

MicroTrends NinjaTrader Forum



register | lost password   open id
Messages in this topic - RSS

Home » MicroTrends NinjaTrader Framework API » How do i use the API

Questions and Answers about programming the API
07/12/2011 17:28:35

forum
forum
Administrator
Posts: 387
MicroTrends can also assist you so can bind using interfaces to indicators on charts by name - then access generic dataseries at specific elements and process the data. If you have implemented an interface or base class these will be accessible in the same way and indexes. This is how to get around compilation and type differences in NT - whereby an indicator not compiled in MTStrategyBase is accessed in custom code.
edited by forum on 07/12/2011
Something like the pattern attached will allow you to trade any custom indicator via the MT Strategy Generic Signals Trader. It will simply pick up the signals.

you could also just embed that code in a strategy that inherits the MTStrategyBase class see pattern 2 below.
edited by forum on 07/12/2011

0 permalink
22/10/2011 11:06:33

forum
forum
Administrator
Posts: 387
Install the MicroTrends NinjaTrader Framework, then import into NinjaTrader as shown here: http://www.microtrends.co/downloads

You are now able to reference and use the MTNTF7 API.

A strategy will need programming to work with the MTStratgeyBase or will need to be created supporting an interface.
There are several patterns to do it:

1. create an indicator using the signals base class & silver bullet interface:
http://forum.micro-trends.co.uk/topic1074-mt-signals-ma-crossover-indicator.aspx
This can be pickied up on chart by the MT Generic Signals Trader Strategy.

2. Code directly in strategy
http://forum.micro-trends.co.uk/topic1100-atr-breakout-strategy.aspx

3. Hosted signals indicator in strategy
http://forum.micro-trends.co.uk/topic1075-mt-signals-rsi-extremes.aspx
http://forum.micro-trends.co.uk/topic896-microtrends-extreme-rsi.aspx


edited by forum on 22/10/2011
0 permalink

Home » MicroTrends NinjaTrader Framework API » How do i use the API





Powered by AspNetForum 7.0.1.0 © 2006-2011 Jitbit Software