The Dynamic Market Lab The Dynamic Market Lab right border
KnowledgeBase » Examples and Formulas

We have posted some examples here, but we are now trying to move the formulas and questions about them to the new forum, found here.


Examples and Tools

General Loop Conversion Technique (Intermediate) - Gives step-by-step instructions on how to convert complex loops into a Metastock formula with ASI functions.

Summation Loop (Novice) - Shows how to do a simple summation loop using the ASI Sum() function.

Min/Max Loop (Novice) - Shows how to turn a loop to find a min or max using the ASI.LLV() or HHV() function.

Loop Conversion 1 (Intermediate) - An example of using the General Loop Conversion to convert a loop to an ASI function.

Loop Conversion 2 (Advanced) - Another example with a more complex loop that requires the use of more than one ASI function.


Indicator Formulas - useful "end" indicators contructed with ASI and ADSI.

Detrended Price Oscillator (DPO) - Although the DPO is a popular indicator, ASI does not come with an Adaptive DPO. However, you can easily construct one using the SMA() and the Ref() function.

(Adaptive) Ehlers' Non-linear Filter - First shows how an EasyLanguage formula requiring loops can be achieved in a much shorter and cleaner ASI formula. Next, this ASI formula is "made adaptive" by substituting a constant period with the Cybernetic Cycle Period.

DML - Ehlers Adaptive Bands (version 1.0) - A set of adaptive bands created with Ehlers' Instantaneous Trendline and the Adaptive Standard Deviation Indicator. Click HERE for a screenshot.