NinjaTrader Support Forum  
X

Attention!

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


Go Back   NinjaTrader Support Forum > Application Technical Support > Automated Trading

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.

Reply
 
Thread Tools Display Modes
Old 07-17-2012, 02:43 PM   #1
wallsteetking
Member
 
Join Date: Jan 2011
Posts: 67
Thanks: 7
Thanked 1 time in 1 post
Default Pivot Trade system

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
wallsteetking is offline  
Reply With Quote
Old 07-17-2012, 03:27 PM   #2
NinjaTrader_JC
NinjaTrader Customer Service
 
NinjaTrader_JC's Avatar
 
Join Date: Mar 2012
Location: Denver, CO
Posts: 1,196
Thanks: 134
Thanked 181 times in 180 posts
Default

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.
Attached Images
File Type: png ConditionBuilderPlotOnChartPivot.png (67.5 KB, 20 views)
NinjaTrader_JC is offline  
Reply With Quote
The following user says thank you to NinjaTrader_JC for this post:
Reply

Tags
pivots, trading system

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -6. The time now is 12:47 PM.