Posted in Indicator on May 19th, 2009
UPDATE : This script has been rendered inoperable as of 12 Dec 09 due to changes in the TOS ZigZag function. I will leave it posted as a reference for coders to examine the script methodology. This very basic script plots a close approximation of the cycle point moving average. You enter in the required [...]
Read Full Post »
Posted in Indicator on Mar 31st, 2009
(Update 29 Dec 2009: There is a bug in the current build of TOS which makes the Vervoort Crossover lines go ape at the beginning of the chart. Commenting out the line signal.assignValueColor(if buySignal then color.green else color.red); appears to fix the problem….for now. – Eric Thanks to Reader Randy H. for suggesting this one. [...]
Read Full Post »
Posted in Indicator on Mar 15th, 2009
Here’s a variable moving average, the VIDYA, as described in The New Technical Trader by Tushar Chande and Stanley Kroll. # VIDYA # http://thinkscripter.wordpress.com # thinkscripter@gmail.com # Last Update 15 MAR 2009 input sigmaperiod = 10; input length = 20; def sigmaConstant = 2/(sigmaperiod+1); def absCMO = absValue(ChandeMomentumOscillator(length))/100; rec cV = compoundValue(1, (sigmaConstant*absCMO*close)+(1-(sigmaConstant*absCMO))*cV[1],close); plot VIDYA [...]
Read Full Post »
Posted in Indicator on Mar 15th, 2009
Here’s a real simple script that will plot the moving average of your choice with the color of the line based on the slope of the line. If you want different colors, just change the two color constants in the line of code: ave.AssignValueColor(if ave > ave[1] then color.cyan else color.dark_red); to your preference. # [...]
Read Full Post »