OPEN-SOURCE SCRIPT
Box Trading (Malaysia Stock Market)

1. This indicator is based on the Box Trading technique for Malaysia Stocks Market.
2. The idea of Box Trading is to use high / low of the last Marubozu Candle as a Resistance / Support for the next following candles.
3. If price of next following candle breaks Resistance of high in the last Marubozu Candle, then enter the trade.
4. If price of next following candle breaks Support of low in the last Marubozu Candle, then exit the trade.
5. Hence, this indicator will indicate:
- Last Marubozu Candle in a green bar (preset at 6 bids/pips for Malaysia Stocks Market)
- Resistance Line on the top of the high last Marubozu Candle
- Support Line at the bottom of the low last Marubozu Candle
- T calculation starting from T0 until T+3 (to indicate days before short selling occur at T+4 of Malaysia Stocks Market)
- Blue up triangle to indicate price breakout the Resistance Line
- Red down triangle to indicate price breakout the Support Line
6. However, this indicator is only designed for Malaysian Stocks Market as the script is based on the bids/pips calculation of the Malaysian Stocks Market. Nevertheless, I let the script open for everyone to modify it based on your own preference markets/instruments.
7. Hope you guys enjoy it. Thanks.
2. The idea of Box Trading is to use high / low of the last Marubozu Candle as a Resistance / Support for the next following candles.
3. If price of next following candle breaks Resistance of high in the last Marubozu Candle, then enter the trade.
4. If price of next following candle breaks Support of low in the last Marubozu Candle, then exit the trade.
5. Hence, this indicator will indicate:
- Last Marubozu Candle in a green bar (preset at 6 bids/pips for Malaysia Stocks Market)
- Resistance Line on the top of the high last Marubozu Candle
- Support Line at the bottom of the low last Marubozu Candle
- T calculation starting from T0 until T+3 (to indicate days before short selling occur at T+4 of Malaysia Stocks Market)
- Blue up triangle to indicate price breakout the Resistance Line
- Red down triangle to indicate price breakout the Support Line
6. However, this indicator is only designed for Malaysian Stocks Market as the script is based on the bids/pips calculation of the Malaysian Stocks Market. Nevertheless, I let the script open for everyone to modify it based on your own preference markets/instruments.
7. Hope you guys enjoy it. Thanks.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no pretenden ser, ni constituyen, asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no pretenden ser, ni constituyen, asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.