Description: The indicator allows to display different moving averages and price levels from any timeframe. Instead of setting each plot one by one, you can specify all of them in one expression.
Inputs: There's only one input, which is a text area where you can specify each plot as an expression. Each expression must be on a new line. Each expression can specify the source of the displayed values, the plot color and the timeframe from which that value is taken.
Here's an example expression that will plot SMA(20) of Close price from Daily timeframe, and the plot is going to be red. This will also plot an EMA(50) of High price from current timeframe, and the plot is going to be green (notice that you can specify the color as one of the standard Pinescript colors, or using a HEX color, and even using transparency if needed):
You can also specify the color to be "chart.fg" which is the Foreground Color of current chart (it depends on whether the "Dark Theme" is enabled in Tradingview). The available moving averages are: SMA, EMA, WMA, HMA, RMA, VWMA. The available sources are: open, high, low, close, hl2, hlc3, hlcc4, ohlc4.
Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.