MetaStock Code for the Standard MIDAS S/R Curves

Andrew Coles

The token MetaStock code below is for the adjustable (O, H, L, C, Average Price) version of the standard MIDAS support/resistance curves for intraday and higher timeframe charts. The application to intraday charts differs due to the need for hour and minute functions. I've refrained from supplying further code here because of the tedium for the reader in having to retype the code and there are also risks of syntax errors. Instead, most of the code is available on our web site,, where it is simply a matter of copying and pasting.

Readers interested in the nominal curve versions of the standard S/R curves should replace the “v” (volume) in the formula ...

Get MIDAS Technical Analysis: A VWAP Approach to Trading and Investing in Today's Markets now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.