PDA

View Full Version : Capabilities / Sample Code


longi
05-17-2007, 06:24 AM
Hello, I am trading my own strategies via IB. Now I am wondering if it would be possible to migrate my trading to NT 6. I need:

- A strategy that places stops intraday after opening based on daily data
- Ths system will be resetted every day
- The same strategy running in different markets with different parameters
- Close out at market close. MOC orders are possible?

Is there maybe a sample code around that might help me in understanding how it could work?

I have already tried to code this in NT 6. However when I attach my successfully compiled strategy to a chart NT 6 crashes.

What I not totally clear to me is the difference between a strategy and a ATM strategy.

Thank you in advance
longi

NinjaTrader_Ray
05-17-2007, 06:59 AM
Hi longi,

1) Yes this can be done if you use a multi-time frame strategy where the main series is an intraday resolution and the daily data is the secondary series
2) Yes
3) Yes
4) Yes (We call it Exit on close)

I would start here - http://www.ninjatrader-support.com/HelpGuideV6/MultiTimeFrameInstruments.html

An ATM strategy automatically submits stops and targets after manually entering an order. NinjaScript strategy is fully automated.

Would you mind sending us the strategy that is crashing NT? Can you reproduce this each time? If yes, please send to ray at ninjatrader dot com and reference this post.

Thanks.