Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
exit if A or B whichever comes first
Collapse
X
-
exit if A or B whichever comes first
I wish to exit a trade if one condition or another occurs, which ever comes first. How can I create this instruction in the strategy wizard?Tags: None
-
-
Should I put conditions A and B in one set in the upper field with the ExitLong or ExitShort in the lower field or should I put A and B in separate sets with their respective exits below?
Comment
-
Let me change topics for a moment. How would I use a proprietary indicator with SuperDom? I would like to create an ATM strategy using the indicator to enter and exit trades based on the indicator's identification of events. Is this possible?
Comment
-
Hello TurnSignalJim,
Unfortunately this is not supported. The Superdom is used for discrectionary entries and the management of targets and stop losses with ATM. ATM can be used to adjust your stop loss value, but only after a profit trigger expressed in ticks (not an indicator).
If you would like to base trade conditions on an indicator value then this requires a NinjaScript automated strategy.Ryan M.NinjaTrader Customer Service
Comment
-
Thanks Ryan. Can I use third party indicators to create a custom ATM strategy in the Chart Trader?
Comment
-
ATM strategies cannot use 3rd party indicators.
Stop loss adjustments can only be expressed in number of ticks, and the stop loss price is relative to either the entry price (for breakeven stop strategies) or the current traded price (for autotrail).
See here for more information on ATM stop strategies.
AutoBreakeven
AutoTrailRyan M.NinjaTrader Customer Service
Comment
-
ok tks.
Now back to the Strategy Wiz. Can you explain the relationship between "conditions and actions" and "stops and targets"? I create an entry in the "conditions and actions" but the "stops and targets" dont seem to get me out as I expected.
Comment
-
Let us know what you're seeing when using the stops and targets in the strategy wizard.
This page offers an overview of the different strategy wizard screens.
The Conditions and Actions Screen
This screen allows you to set conditions and subsequent actions that control the flow of your strategy.
Conditions - Take the speficied action when true
Actions - Execute an action (submit orders, draw objects on the chart etc...) based on its parent condition evaluating to true
Via the wizard, you can have up to ten different condition sets with related actions. If you require more than ten condition sets then you should self code your strategy via the NinjaScript Editor. Conditions are created using the Condition Builder. Actions are specified by the Strategy Action window.
The Stops and Targets Screen
This screen allows you to set stop loss, trail stop and profit target orders that are automatically submitted and managed once your strategy opens a position.
Ryan M.NinjaTrader Customer Service
Comment
-
Ryan,
I set up an entry condition and action for both short and long and then set up a stop and a limit in the stops and limits section. The strategy enters a trade each day and stays in the trade until close. Is there somerthing I have to do to get the stategy to see the stops and limits?
Comment
-
I have an entry strategy set up in the wizard with profit target and stop loss configured with ticks and [MyInput0]. I have been using the analyzer to optimize with 20;700;1 in the [MyInput0] parameter window. I am getting the top 10 results but I'm not sure what this test is optimizing. Can you pls clarify?
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
647 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
368 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
108 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
571 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
573 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment