Hello,
Is there a way, to increase position size, according to a certain condition become true ?
Is there a way, to increase position size, according to a certain condition become true ?
Rename
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.
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;
Thank you
Your Response
Post
Edit Post
Login is required