OPEN-SOURCE SCRIPT

Dark Pool Moving Averages

26
The indicator has five MA sections, each with options to:
Turn the MA on or off.

Choose the MA type (SMA, EMA, WMA, VWMA, or HMA).

Set the period (e.g., 9, 12, 50, 100, 200).

Pick a color.

Adjust the line width (1 to 10).

Select the line style (Line for smooth, Stepline for stepped).

The code uses a function to calculate the chosen MA type based on the closing price and another to map the style input to either a smooth line or a stepped line. Each MA only plots if enabled, using the user’s settings for color, width, and style.
It’s a straightforward tool for traders who want to visualize multiple MAs with different settings on their charts

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.