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.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.