TradingView
BURSATRENDBANDCHART
2021年10月6日午前10時29分

bursamalaysianonshariah 

POH HUAT RESOURCES HOLDINGSMYX

詳細

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

リリースノート

Library "bursamalaysianonshariah"
: List of non-Shariah stock for Bursa Malaysia as of Oct 2021
: fixed error

リリースノート

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"

リリースノート

Latest v4
- update List of Shariah-Compliant Securities (Bursa Malaysia) as at 26 November 2021

リリースノート

v6
Update up to 29 DIS 2021
- add ATECH
- change securities name as per Bursa Announcement

リリースノート

v6
Update list as of 30 JAN 2022 - change name of ticker and new IPO (listed as Shariah Compliant by Bursa Malaysia)

リリースノート

v7
add CAPITALA, SIAB into shariah list

リリースノート

v8
Update 5 JUN 2022

リリースノート

v9
Update 22 SEPT 2022

リリースノート

v10
Update 17 DEC 2022

リリースノート

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()
コメント
amdshah
error, Add to Chart operation failed, reason: line 8: Could not find function or function reference 'status'.
BURSATRENDBANDCHART
@amdshah, pastikan guna //@version=5 dan ada line import dan kalau untuk cuba, ikut contoh yang saya tunjuk kat atas
BURSATRENDBANDCHART
@amdshah, maaf, saya test hari ni tak jalan pulak..nanti saya update..rasanya ada salah dalam library tu
M_Akmal
@BURSATRENDBANDCHART, yup sy pun try ade error
BURSATRENDBANDCHART
@M_Akmal, saya dah terangkan dalam ni
Dr_Bayu
6:14:16 PM — Kompilasi ralat. Traceback (most recent call last): Unable to compile the 'BURSATRENDBANDCHART/bursamalaysianonshariah/10' library: Pine compilation was timed out. Attempts before blocking: 1.

salam. maaf tuan. saya punya jadi macam ni lepas masukkan version 10. Version 9 hari tu ok lagi, lepas masukkan yang 10 yang skrip saya yang guna 9 pun jadi tak boleh guna. Minta bantuan, terima kasih.

*skrip saya guna pricevolume, cuma tukar part calculation ja. Dari lib tuan version 7 saya guna tak pernah jadi macam ni.
//calculation
val = close * volume
dnvma = ta.sma(val,50)
DNVR = (val/dnvma)
volcolor = close > open and DNVR >= 10 ? color.green: close <= open and DNVR >= 10 ? color.red: close > open ? color.silver : color.gray
plot(val, title='Volume', color=volcolor, transp=0, linewidth=0, style=plot.style_columns)
plot(dnvma, title="DNV MA", style=plot.style_line, color=color.orange, transp=0)
// DNV RATIO
plot(DNVR, color=color.purple, style=plot.style_line,transp=100)
BURSATRENDBANDCHART
@Dr_Bayu, masalah jadi sejak minggu lepas selepas penambahan senarai stock yang bertukar jadi syariah..nampak gaya tradingview seakan menghadkan array.push() ataupun array.includes()..script jadi lambat compile..saya takda sebarang solusi kecuali tunggu dan lihat..cara lain, kena kurangkan senarai stock yang ada dalam list..yang saya dah cuba, stock warrant terpaksa dikeluarkan dari senarai
Dr_Bayu
@BURSATRENDBANDCHART, noted. Terima kasih tuan.
Dr_Bayu
@BURSATRENDBANDCHART, versi 11 cemerlang. 👍👍
RozaniGhani-RG
Thank you bro.
詳細