Mis à jour
utils

Library "utils"
ma_smooth(alg, src, len) Calculates various moving averages
Parameters:
alg: Smoothing algorithm to use [RMA, SMA, EMA, WMA]
src: Source data
len: Length of moving average
ma_smooth(alg, src, len) Calculates various moving averages
Parameters:
alg: Smoothing algorithm to use [RMA, SMA, EMA, WMA]
src: Source data
len: Length of moving average
Notes de version
Update displayed chartNotes de version
v3Notes de version
v4Added:
vma(alg, src, len) Calculates various moving averages
Parameters:
alg: Smoothing algorithm to use [RMA, SMA, EMA, WMA]
src: Source data
len: Length of moving average
Removed:
ma_smooth(alg, src, len) Calculates various moving averages
Notes de version
v5Added:
sig(val) Clamps a value between 0 and 1 on a sigmoid curve
Parameters:
val: Input data
siga(val) Clamps a value between -1 and 1 on a sigmoid curve
Parameters:
val: Input data
Notes de version
v6Added:
sigaw(val, weight)
Clamps a series between -1 and 1 on a sigmoid curve with a tunable weight
Parameters:
val (float): Input series
weight (float): Sigmoid weight
Updated:
vma(alg, src, len)
Calculates various moving averages
Parameters:
alg (string): Smoothing algorithm to use (opt: ["SMA", "EMA", "RMA", "WMA", "DEMA", "TEMA", "VWMA", "HMA", "LSMA"])
src (float): Source data
len (simple int): Length of moving average
sig(val)
Clamps a series between 0 and 1 on a sigmoid curve
Parameters:
val (float): Input series
siga(val)
Clamps a series between -1 and 1 on a sigmoid curve
Parameters:
val (float): Input series
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.