Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Help with Autobreakeven and trigger for entry script
Collapse
X
-
Hello ace2240,
If you haven't added a breakeven yet I would suggest looking at the following sample. In its OnBarUpdate it shows a simple break even logic and condition.
Comment
-
Hi Jesse,
I tried following the sample script but seems like it couldn't set the breakeven within the same candle as the entry candle, even if I have set `Calculate = Calculate.OnPriceChange`. Or at least that's what I see in the backtest and historical chart. The OnBarUpdate() method is always delayed by 1 candle right?
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
43 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
21 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
30 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
50 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
40 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment