Insert this into the Filter section of the MetaStock Explorer to find stocks breaking to new highs, ensuring the formula is applied over a substantial number of data points for accuracy 1.2.4. 3. How to Implement New Formulas in MetaStock
Mean Reversion = (C - Mov(C, 20, E)) / StDev(C, 20)
Name: Zero-Lag TEMA Cross FastPeriod:= Input("Fast TEMA Period", 1, 100, 13); SlowPeriod:= Input("Slow TEMA Period", 1, 200, 34); FastTEMA:= (3 * Avg(C, FastPeriod)) - (3 * Avg(Avg(C, FastPeriod), FastPeriod)) + Avg(Avg(Avg(C, FastPeriod), FastPeriod), FastPeriod); SlowTEMA:= (3 * Avg(C, SlowPeriod)) - (3 * Avg(Avg(C, SlowPeriod), SlowPeriod)) + Avg(Avg(Avg(C, SlowPeriod), SlowPeriod), SlowPeriod); FastTEMA; SlowTEMA; Use code with caution. 2. Advanced Dynamic Price-Volume (PV) Rank Oscillator metastock formulas new
We need conditional, adaptive formulas.
3. Normalized Volume-Weighted Average Price (VWAP) Deviation Band Insert this into the Filter section of the
Fixed bandwidth indicators like standard Bollinger Bands fail to adapt when systemic market volatility shifts. This formula alters its width using standard deviations alongside True Range adjustments. MetaStock Formula Language Overview | PDF - Scribd
Indicator
: Calculates moving averages. Methods include Simple ( S ), Exponential ( E ), and Weighted ( W ).
Implementing these formulas is straightforward. Follow these steps: Methods include Simple ( S )
: These represent specific data points for a security.