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.
candlesTrend Analysis

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer