Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Break out
Collapse
X
-
Please check out the "Entries per direction" parameter on the strategy properties dialog.
-
Break out
I have tried to set buy/sell stop orders just outside the high/low of the previous bar, the most basic of breakout strategies, using the wizard.
I have Position.MarketPosition == MarketPosition.Flat for both entries with the entries as follows.
EnterShortStop(DefaultQuantity,Low[0]+-1*TickSize,"")
EnterLongStop(DefaultQuantity,High[0]+1*TickSize,"")
The exits are just 2 ticks each way.
When I test each entry by themselves they worked fine. However when I put them together, only one order would be active at a time. I was expecting to see both up at the same time.
Is this beyond the scope of the Wizard, or am I jsut not doing it correctly?
ThanksLast edited by maninjapan; 05-13-2008, 06:27 AM.Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by nicthe, Today, 02:58 PM
|
1 response
7 views
0 likes
|
Last Post
by nicthe
Today, 03:23 PM
|
||
Started by percy3687, Yesterday, 12:28 AM
|
3 responses
30 views
0 likes
|
Last Post
by percy3687
Today, 02:53 PM
|
||
Started by SilverSurfer1, Today, 01:33 PM
|
0 responses
9 views
0 likes
|
Last Post Today, 01:33 PM | ||
Started by ETFVoyageur, Today, 10:27 AM
|
2 responses
18 views
0 likes
|
Last Post
by ETFVoyageur
Today, 01:30 PM
|
||
Started by CommonWhale, Today, 01:12 PM
|
0 responses
10 views
0 likes
|
Last Post
by CommonWhale
Today, 01:12 PM
|
Leave a comment: