Thinkscript compoundvalue


I was wondering if anyone could help interpret two lines of ThinkScript code from the VSA indicator. The first is: rec avgVolume = CompoundValue(volume ThinkScript Compund Value in ThinkOrSwim Programming, futures io social day trading May 04, 2009 · ThinkScript How to add a ThinkorSwim Study to you charts 1.Right click on TOS chart 2.Studies a Edit Studies 3.Click the “New Study” button 4.Name the Study “MyStudy” or something like that 5.Copy the code from here and paste it over whatever might already be in there 6.Click Save 7.Now your study is ready to add to any chart The Thinkscript manual describes compoundValue as: compoundValue(int length, IDataHolder visible data, IDataHolder historical data); The default value of the length parameter is 1. May 16, 2014 · i was listening to swimlessons on thinkorswim today and i heard jeff bierman promoting the psar (parabolic-stop-and-reverse) strategy. so i was wondering how this strategy really performs when you add up the wins and losses. this is the inspiration for my new sdi_psarstgy thinkscript strategy and here is what i find with the standard recommended settings of .02 for acceleration factor and .2 ... The Kairi Relative Index is a metric that traders use to to time their purchases of a stock, or to understand trends in the stock market. A momentum oscillator measures the strength of the up or down movement of price instead of the actual price level. The harder and faster a tradable's price... You would use 'CompoundValue' to prevent the longest reference being used by initializing the affected calculation with the 'CompoundValue' function. LINEAR REGRESSION There are several built-in Linear Regression studies in ThinkScript.