Reply To: Scripting and Anchored VWAP April 24th Blog

Optuma Forums Optuma Scripting Scripting and Anchored VWAP April 24th Blog Reply To: Scripting and Anchored VWAP April 24th Blog

#58001
Darren
  • Topics: 67
  • Replies: 705
  • Posts: 772

Here’s an alternative to the script to automatically plot the AVWAP tool from the YTD high rather than manually place it on the chart:

Note: to turn the formula into a scan change the last line to CLOSE() Crosses R1.

In this example, ALGN’s 2020 high occurred on Jan 9th, so starting the AVWAP on that date gives a value of $121.56, which was crossed yesterday (closed at $215.93):

Capture

Pin It on Pinterest