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 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
20 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
29 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
46 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
38 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment