Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
new project candle
Collapse
X
-
new project candle
hello, I would like to create a strategy that opens a sell position to 'inside of a candle if the maximum is greater than 7 tick and a long position in a candle if the maximum is less than 7 tick, from the opening. Could you give me advice. Use the wizard creation strategy.Tags: None
-
Hello Helptrade,
I am happy to assist, however, I am uncertain of some of your terminology.
When you mention for the sell order 'if the maximum is greater than 7 tick', are you meaning the high of the most recently closed bar is more than 7 ticks from the low?
When you mention 'the maximum is less than 7 tick, from the opening', are you meaning that the Low of the bar is less than 7 ticks below the open? (Does the close need to be less than the open in this situation?)Chelsea B.NinjaTrader Customer Service
-
Hello Helptrade,
I'm not certain what the rules are. I can see you have marked a bar 7 ticks above the open.
Are you wanting to place a limit order that can fill intra-bar if the price touched the order?
Attached is a screenshot that shows how to place a sell limit order, 7 ticks above the close of the previous bar.
Are you wanting to detect for the current open bar if the price has risen 7 ticks from the entry?
If so, you will need to set your script to run with Calculate on bar close set to false (unchecked). And it would also be best to not allow the strategy to run historically (or add a secondary series of 1 tick so that the script can update on each tick when in historical data).
Attached is a screenshot of detecting the current close is greater than 7 ticks from the open.Chelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
633 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
364 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
105 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
567 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
568 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment