![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Feb 2008
Location: Paris
Posts: 713
Thanks: 10
Thanked 10 times in 7 posts
|
Hi I'm new to NT and I've followed the strategy examples using the wizard. All that makes sense to me. But now I'd like to make a simple strategy using bollinger bands and I can't figure out how to do it. For example, buy at the lower band and sell at the top. It's a lot of fun trying to code up basic strategies and back test them. Which leads to my second question:
How can I backtest futures, for example YM. The contract is for x months so if I want to backtest for a year I don't see a way to do this. Thanks in advance for the help. |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
Hi cunparis,
To do the bollinger bands please check out the attached picture. To do the reverse case, change the "Plot" to "Upper" and change the CrossBelow to CrossAbove. To backtest for a year you could try using the ##-## contract. so YM ##-## instead of YM 03-08.
Josh
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Bollinger Band Squeeze | npperez | NinjaScript File Sharing Discussion | 3 | 01-07-2008 11:58 PM |
| error when create strategy | draime | Strategy Development | 16 | 12-07-2007 08:23 AM |
| Create New Strategy | mgbloomfield | ATM Strategies (Discretionary Trading) | 1 | 09-14-2007 01:02 PM |
| Custom Indicator hangs NT on New Strategy Create | zoltran | Miscellaneous Support | 4 | 06-20-2007 04:30 PM |
| Create Strategy Functionality | SellUmHi | Miscellaneous Support | 1 | 01-04-2006 01:55 AM |