Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to set trailing stop after trade is in the black
Collapse
X
-
SetTrailStop??Originally posted by relogical View PostNo ATM, just trying to code a simple automated strat.
Comment
-
So add a conditional that if the current price > entry price, then SetTrailStop...Originally posted by relogical View PostThanks but that's not what I need. I need to set the trailing stop after a trade is profitable. I do not want to set it as a stop that trails. I want it to set as a profit that trails.
Maybe you post some code of what you have? It will be probably be easier to fix that up.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SalmaTrader, 07-07-2026, 10:26 PM
|
0 responses
49 views
0 likes
|
Last Post
by SalmaTrader
07-07-2026, 10:26 PM
|
||
|
Started by CarlTrading, 07-05-2026, 01:16 PM
|
0 responses
22 views
0 likes
|
Last Post
by CarlTrading
07-05-2026, 01:16 PM
|
||
|
Started by CaptainJack, 06-17-2026, 10:32 AM
|
0 responses
15 views
0 likes
|
Last Post
by CaptainJack
06-17-2026, 10:32 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:15 AM
|
0 responses
21 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:15 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:06 AM
|
0 responses
23 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:06 AM
|

Comment