Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Buy and Hold in strategy builder
Collapse
X
-
Buy and Hold in strategy builder
I've been trying to do a buy and hold strategy in strategy builder. I can get the cumulative profit but I want to see maximum drawdown on a daily basis as trade progresses. Is this possible to do in strategy builder?Tags: None
-
Hello Karl Armstrong,
Thanks for your post.
There is not a "good" way to do this in the Strategy Builder due to the limited ability to perform some math operations.
You could approximate it in the Strategy Builder by using a double variable and comparing the Close price minus (offset) the Strategy.AveragePrice and if less to then store that value in the variable. The variable value can then be displayed with Drawing>TextFixed. However, the value would be in points and would be - when the trade is positive.
Otherwise, your best bet would be to unlock the strategy and work directly in code.
- Likes 1
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
428 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
279 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 12:02 AM
|
||
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
241 views
1 like
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
327 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
290 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|

Comment