TradingView
ll21LAMBOS21
3 mai 2019 05:14

KDJ 

Bitcoin Cash / United States DollarCoinbase

Description

KDJ indicator + bullish/bearish background
Commentaires
DEESHA009
Here is the Fix for version 4,5.

bcwsma(s,l,m) =>
_s = s
_l = l
_m = m
var _bcwsma = 0.0
_bcwsma := (_m*_s+(_l-_m)*nz(_bcwsma[1]))/_l
_bcwsma
khoavpptc
@DEESHA009, Mình đã Fix được lỗi này, bạn bổ sung _bcwsma = 0.0 trước dòng _s=s là ok
ScottYip
Why I have the problem : Undeclared identifier `_bcwsma`?
tallymiracle
@ScottYip, how ?
Fulvio78
@tallymiracle, I think it's because with Pine Script v5, there is something wrong, I have the same issue
Sambape
@Fulvio78, did u fix it ?
kd5zxh
@Fulvio78, There's a problem with the way that variable is declared even starting in PS v3.
mysms0312
좋은 지표 감사합니다~^^
Plus