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.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.