RomanoRnr

Position size optimizer RNR_0

RomanoRnr Обновлено   
// 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")
```
Информация о релизе:
Optimizing position size by trend strength

Скрипт с ограниченным доступом

Доступ к этому скрипту разрешён только для пользователей, авторизованных автором, и для этого обычно требуется оплата. Вы можете добавить скрипт в список избранных, но использовать его можно будет только после запроса на доступ и получения разрешения от автора. Свяжитесь с RomanoRnr, чтобы узнать больше, или следуйте инструкциям автора ниже.

TradingView предлагает не платить за скрипт и не использовать его, если вы на 100% не доверяете автору и не понимаете, как этот скрипт работает. Во многих случаях вы можете найти хорошую альтернативу с открытым кодом бесплатно в наших Скриптах сообщества.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Инструкции от автора

Message me on Twitter

Хотите использовать этот скрипт на графике?

Внимание: прочтите это перед тем, как запросить доступ.