- ago
Hello,
Is there a way, to increase position size, according to a certain condition become true ?
0
344
Solved
2 Replies

Reply

Bookmark

Sort
- ago
#1
Hi,

1. Naturally, many PosSizers from the PowerPack do this automatically, adjusting the position size to the upside (and vice versa) according to some criteria (winning/losing streaks, drawdown/runup, equity curve behavior etc.)
https://www.wealth-lab.com/extension/detail/PowerPack

2. To have complete control in your C# coded strategy, set the Transaction.Quantity programmatically e.g.

CODE:
Transaction t = PlaceTrade(bars, TransactionType.Buy, OrderType.Market); t.Quantity = (RSI.Series(bars.Close,14)[idx] > 30) ? 10 : 100;
1
Best Answer
- ago
#2
Thank you
0

Reply

Bookmark

Sort