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 > ATM Strategies (Discretionary Trading)

ATM Strategies (Discretionary Trading) Support for Advanced Trade Management, AutoTrail, AutoBreakeven, Stop Strategy and Simulated Stops etc...

Reply
 
Thread Tools Display Modes
Old 06-15-2012, 12:44 PM   #1
Jakub
Member
 
Join Date: Jun 2012
Posts: 35
Thanks: 8
Thanked 2 times in 2 posts
Default Entry Price from past data

Hi ,

Could somebody help me with this ?

I trying created gap up/down strategy but I cant set entry price point
If I see gap up (Open[0] > High[1]) with bar closed ,my entry point level for short position , should be when price is lower 1tick than High[1] . (Its mean , if actual price cross price from past at the same day ) .

Thanks for any issues
Best regards
JakeSnake

Last edited by Jakub; 06-15-2012 at 12:46 PM.
Jakub is offline  
Reply With Quote
Old 06-15-2012, 12:53 PM   #2
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

Hi JakeSnake,

You can submit orders to a specific price using stop or limit orders. Please see this page which details supported order methods with NinjaScript:
http://www.ninjatrader.com/support/h...er_methods.htm

You will not be able to change historical order timings which always submits orders to the next bar after the condition evaluates true.

In a real time strategy with CalculateOnBarClose = false, the condition is evaluated while the bar is forming, and orders are submitted as soon as the condition is true.
NinjaTrader_RyanM is offline  
Reply With Quote
The following user says thank you to NinjaTrader_RyanM for this post:
Old 06-15-2012, 01:55 PM   #3
Jakub
Member
 
Join Date: Jun 2012
Posts: 35
Thanks: 8
Thanked 2 times in 2 posts
Default

Hi , I have already back test with limit orders but Price with high[1] level doesnt work on it. I have screenshot for better explain , but I don't know how to upload it here.
Jakub is offline  
Reply With Quote
Old 06-15-2012, 02:01 PM   #4
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

To attach images: You can click the paper click icon when writing a post. There is also a button called "Manage Attachments" that does the same thing.

For your limit orders in backtested, what is the Historical Fill Processing setting you have selected for the strategy?
NinjaTrader_RyanM is offline  
Reply With Quote
Old 06-15-2012, 02:31 PM   #5
Jakub
Member
 
Join Date: Jun 2012
Posts: 35
Thanks: 8
Thanked 2 times in 2 posts
Default Reply

I have historical fill end of the day.
Please see attachment.

I am used Sierra Chart software before , and there was command for this "Price if Touch" .
I could found something similar in NT.

Thanks !
Last edited by Jakub; 06-16-2012 at 07:49 AM.
Jakub is offline  
Reply With Quote
Old 06-15-2012, 02:39 PM   #6
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

Thanks for the screenshot. I see what you're going for. For that situation you can likely achieve your desired results by using an EnterShortStop() order. The price of the order could be the Close plot of indicator PriorDayOHLC(). You could use the high of that specific bar but it will require coding and the close of the prior day is the closest you can get in the strategy wizard condition builder.
NinjaTrader_RyanM is offline  
Reply With Quote
Old 06-15-2012, 03:01 PM   #7
Jakub
Member
 
Join Date: Jun 2012
Posts: 35
Thanks: 8
Thanked 2 times in 2 posts
Default

OK , Thanks I will see , what can I do
Jakub is offline  
Reply With Quote
Reply

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
Missing data for past Fridays mjmoneybags Charting 4 06-20-2011 02:18 AM
Can't draw lines past high price of chart YanCanCook Charting 3 01-21-2011 09:26 AM
Display of past TICK data Trader108 Charting 6 07-13-2010 03:41 PM
ATM strategies: signal price instead of average entry price mario73 ATM Strategies (Discretionary Trading) 1 01-02-2009 02:49 AM
How to paint a past price bar? ooppie Indicator Development 1 05-20-2008 10:13 PM


All times are GMT -6. The time now is 04:59 AM.