RomanoRnr

Position size optimizer RNR_0

RomanoRnr Updated   
// 1. When market volatility is severe, the use of equal weight systems is eliminated.
// 2. It is a bad strategy to concentrate bets since they drive the short position, which ultimately influences the whole book of trade.
// 3. Expect your short positions to get squeezed by at least 10% during the next five trading days.
// 4. When there are bear markets, the correlation goes to 1. Allow for the fact that both Longs and Shorts will go against you at the same time.
// 5. Unprofitable trades increase in magnitude rapidly.
// 6. Unlike in an up-trending market, there are no 2-3 wins. Winners shrink and contribute less. So, there is an opposite tendency toward oversized positions.
// 7. In contrast to a bull market, in contrast to the long. The winners shrink in size and contribute less. As a result, there is an inverse trend toward oversized positions.
// 9. The winners shrink in size, while the losers grow exponentially The challenge is to size positions in such a manner that they contribute favorably when successful but do not completely obliterate performance when unsuccessful.

Randomly select enter and exit

```
longCondition = bar_index % 33 == 0
if (longCondition and afterStartDate )
strategy.entry("buy", strategy.long, qty = qty)
shortCondition = bar_index % 44 == 0
if (shortCondition)
strategy.close("buy")
```
Release Notes:
Optimizing position size by trend strength

Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact RomanoRnr for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases you can find a good open-source alternative for free in our Community Scripts.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Author's instructions

Message me on Twitter

Want to use this script on a chart?

Warning: please read before requesting access.