I am trying to update an old Turtle strategy that I found on this forum.
After reading Van K. Tharps thoughts on money management, I have decided to code the strategy to risk 2 percent of total capital per order.
My question is, how do I get the value of the account size?

Is there an Ninja Trader API somewhere? (I looked, but could'nt find one)
I am going to try to implement the following:
1. Get the actual ATR (14 days)
2. Set a stoploss Close[0] - 2 * ATR
3. Calculate (2 percent of total capital) / 2 * ATR = Number of shares
4. Place the order.
Wish me luck

Ps. At what performance rating do you guys consider yourself to have a good and sound strategy?
Thanks!


Comment