OPEN-SOURCE SCRIPT

Open Equals Low/High and Close above VWAP

Aggiornato
Explanation of additional and updated elements in the script:

vwap(): This function computes the Volume Weighted Average Price. It’s used here to create a series of VWAP values.
closeAboveVWAP: A Boolean series that checks if the close price is above the VWAP.
Updated bgcolor() and plotshape() logic: These now include the new condition closeAboveVWAP. The markers and background colors will only show when open is equal to low or high and the close is above the VWAP.
Additional plot command for VWAP: It’s often helpful to visualize the VWAP on the chart, so I've included a plot line for the VWAP in blue color.

With these updates, when added to a TradingView chart, the script will mark and color the background of bars that satisfy both conditions (open equal to low/high and close above VWAP). It will also plot the actual VWAP line on the chart for better visual reference. The shapes will include texts specifying both criteria for clarity.
Note di rilascio
Explanation of additional and updated elements in the script:

vwap(): This function computes the Volume Weighted Average Price. It’s used here to create a series of VWAP values.
closeAboveVWAP: A Boolean series that checks if the close price is above the VWAP.
Updated bgcolor() and plotshape() logic: These now include the new condition closeAboveVWAP. The markers and background colors will only show when open is equal to low or high and the close is above the VWAP.
Additional plot command for VWAP: It’s often helpful to visualize the VWAP on the chart, so I've included a plot line for the VWAP in blue color.

With these updates, when added to a TradingView chart, the script will mark and color the background of bars that satisfy both conditions (open equal to low/high and close above VWAP). It will also plot the actual VWAP line on the chart for better visual reference. The shapes will include texts specifying both criteria for clarity.
Volume Weighted Average Price (VWAP)

Script open-source

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?

Declinazione di responsabilità