Here's a simple script to see the VWAP (Volume weighted average price). To see a good approximation, you need to switch to the one minute chart since TOS doesn't provide tick data.
plot Data = TotalSum(Volume * Close) / TotalSum(Volume);
Wednesday, December 12, 2007
Thursday, November 29, 2007
Market internals
For those of you who follow Peter Reznicek on Shadowtrader broadcast, you should know how to setup the market internals. In case you don't, here's the video to do that.
Before thinkscript was available on the TOS platform, you can only see the Advance/Decline line seperately and try to guess what the net number is. Now, you can just do a very simple script to get the net A/D line to show up on the graph.
For the NYSE AD line, pull up a graph of $ADVN. Edit the studies and create a new study. In the text area, put this in:
Plot AdvDecLine = Close - Close("$DECN");
For the Nasdaq AD line, pull up a graph of $ADVN/Q. Edit the studies and create a new study. In the text area, put this in:
Plot AdvDecLine = Close - Close("$DECN/Q");
Before thinkscript was available on the TOS platform, you can only see the Advance/Decline line seperately and try to guess what the net number is. Now, you can just do a very simple script to get the net A/D line to show up on the graph.
For the NYSE AD line, pull up a graph of $ADVN. Edit the studies and create a new study. In the text area, put this in:
Plot AdvDecLine = Close - Close("$DECN");
For the Nasdaq AD line, pull up a graph of $ADVN/Q. Edit the studies and create a new study. In the text area, put this in:
Plot AdvDecLine = Close - Close("$DECN/Q");
Subscribe to:
Posts (Atom)