If you tell me which you prefer (like swing trading or day trading) or which indicators you like most, I can write a custom MetaStock formula specifically for your strategy.
{Adaptive Volatility Breakout} Period := Input("ATR Period", 5, 50, 14); Mult := Input("ATR Multiplier", 1, 5, 2.5); UpperBand := mov(C, 20, S) + (Mult * ATR(Period)); VolumeConfirm := V > mov(V, 20, S) * 1.5; Cross(C, UpperBand) AND VolumeConfirm 2. The Multi-Timeframe Momentum Signal
Use + , - , > , < , and AND/OR for logical conditions. metastock formulas new
Give it a descriptive name (e.g., "2024 Volatility Breakout"). Copy/Paste: Enter the code into the formula box.
Do not add too many variables (inputs). A formula that works perfectly on past data with 10 variables is likely to fail in live markets. If you tell me which you prefer (like
The foundation of any new MetaStock formula is its proprietary functional language. While it shares some logic with Excel, it is specifically designed for time-series data. Key Syntax Reminders
As markets become more algorithmic, traditional indicators often need "smoothing" or "adaptive" components to remain effective. Here are three new formula concepts for the current year. 1. The Adaptive Volatility Breakout (AVB) Copy/Paste: Enter the code into the formula box
Use ref(c,-1) to reference the previous day's closing price. New Formula Concepts for Modern Markets
Standard indicators like mov(c,20,s) for a 20-period simple moving average.
💡 When writing formulas, always use the Input() function for your periods. This allows you to tweak the settings on the fly without rewriting the code.
The name is an abbreviation for "short link", but if you get the words "shrink" and "link" together, the result is shlink too. It is also the sound made by a sword being unsheathed.
Shlink is a PHP-based open source project, distributed under
the MIT license and hosted
on Github.
It is built with cutting edge technologies, such
as Mezzio, Doctrine and Symfony.