OPEN-SOURCE SCRIPT
Morgpy Risk Box

The Morppy Risk Box is an intraday breakout strategy based on constructing a price box defined between 5:00 AM and 9:30 AM. During this interval, the highest and lowest prices reached by the asset are recorded, forming a reference range.
Once the box period ends, the strategy waits for the first candlestick that breaks and closes outside these limits. This breakout is interpreted as an entry signal:
- Buy (long): if the first candlestick closes above the box's high.
- Sell (short): if the first candlestick closes below the box's low.
The logic includes a filter that ensures only one trade is executed per day, preventing multiple entries in the same direction.
Once the box period ends, the strategy waits for the first candlestick that breaks and closes outside these limits. This breakout is interpreted as an entry signal:
- Buy (long): if the first candlestick closes above the box's high.
- Sell (short): if the first candlestick closes below the box's low.
The logic includes a filter that ensures only one trade is executed per day, preventing multiple entries in the same direction.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.