BURSATRENDBANDCHART

bursamalaysianonshariah

Library "bursamalaysianonshariah"

List of non-Shariah stock for Bursa Malaysia as of Oct 2021
No parameter required
status() will return 1 if ticker in the list, 0 if ticker not in the list and 2 if ticker not from Bursa Malaysia

Example usage :
//@version=5

indicator("My Script", overlay = true)
import BURSATRENDBANDCHART/bursamalaysianonshariah/1 as b

bgcolor(status() == 1 ? color.new(color.red, 90) : status() == 0 ? color.new(color.green, 90) : color.new(color.blue, 90))

Special thanks to
wmsafwan
RozaniGhani-RG
Release Notes:
Library "bursamalaysianonshariah"
: List of non-Shariah stock for Bursa Malaysia as of Oct 2021
: fixed error
Release Notes:
Library "bursamalaysianonshariah"
: Update ! List of Shariah stock for Bursa Malaysia as of Oct 2021

status()
Now all list are shariah compliant. Up to date 974 stock including warrant.
: status() will return 0 if in the list (shariah), 1 if not in the list (non-shariah) and 2 if ticker not from Bursa Malaysia
I will keep this library name as "bursamalaysianonshariah"
Release Notes:
Latest v4
- update List of Shariah-Compliant Securities (Bursa Malaysia) as at 26 November 2021
Release Notes:
v6
Update up to 29 DIS 2021
- add ATECH
- change securities name as per Bursa Announcement
Release Notes:
v6
Update list as of 30 JAN 2022 - change name of ticker and new IPO (listed as Shariah Compliant by Bursa Malaysia)
Release Notes:
v7
add CAPITALA, SIAB into shariah list
Release Notes:
v8
Update 5 JUN 2022
Release Notes:
v9
Update 22 SEPT 2022
Release Notes:
v10
Update 17 DEC 2022
Release Notes:
Library "bursamalaysianonshariah"
: Update 27 DEC 2022 ! List of Shariah stock for Bursa Malaysia
Compiling took too long. I divided the array element into two groups.

status()

Pine library

In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in a publication is governed by House Rules.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this library?

Copy the following line and paste it in your script.