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.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.