![]() |
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 |
|
Member
Join Date: Jan 2011
Posts: 67
Thanks: 7
Thanked 1 time in 1 post
|
Hello Ninjatrader team,
I am trying to setup a very simple system... everytime the price hits S1(support one) an order to go long should be excuted. When I go into stratgy wizard and choose Pivots = Value (S1) go long nothing happens is there some other way I can setup ninjatrader to go long when price hits S1 |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Mar 2012
Location: Denver, CO
Posts: 1,196
Thanks: 134
Thanked 181 times in 180 posts
|
Hello wallsteeking,
The method of seeing if two values are equal will be the same inside the Set statements. Note that when using NinjaScript code the, CalculateOnBarClose(COBC) can vastly effect how your code functions. Which means that if COBC is true, then the strategy will be calculated at the close of each bar. If your strategy is set to COBC is false, then it will be calculated on each tick. See the following link for more info on COBC. http://www.ninjatrader.com/support/h...onbarclose.htm You could set Plot on Chart to true inside the Pivot so that you can see the Pivot points on the chart to see where the S1 will be equal to the price data that you have it set to. See attached image. Please let me know if I can be of further assistance.
JC
NinjaTrader Customer Service |
|
|
|
|
The following user says thank you to NinjaTrader_JC for this post: |
|
![]() |
| Tags |
| pivots, trading system |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| anyway to use ninjatrader to trade on metatrader's system? | MoreYummy | Miscellaneous Support | 2 | 03-06-2011 02:51 PM |
| looking for programmer for auto trade system | cwl17 | Automated Trading | 2 | 05-24-2010 09:51 PM |
| NinjaTrader now supports the KRAINERT™ 1.0 auto-trade system by Matin Investments LLC | NinjaTrader_Ray | News and Announcements | 0 | 12-29-2009 02:02 PM |
| System won't do another trade when target/stop in place | lawyse | Strategy Development | 5 | 12-15-2008 05:06 AM |
| RSI MACD trade system | zelli | Strategy Development | 3 | 11-28-2006 05:03 AM |