Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to trail using unmanaged approach
Collapse
X
-
Hello ttrader23,
Thanks for your post.
The ChangeOrder() method along with custom logic could be used to change the stop loss order.
You could consider creating a condition that checks if the current Close price (Close[0]) is greater than or equal to the previous Close price plus 10 ticks (Close[1] + 10 * TickSize) to detect if the current close price is 10 ticks greater than the previous close price and call ChangeOrder() within the condition.
See this help guide page for more information about ChangeOrder(): https://ninjatrader.com/support/help...hangeorder.htm<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
62 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
134 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
75 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
45 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
50 views
0 likes
|
Last Post
|

Comment