MetaStock Code for the Standard MIDAS S/R Curves
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, www.midasmarketanalyis.com, 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 ...