A Quantower indicator that plots a Simple Moving Average calculated from daily bars onto any intraday chart.
5-period Daily SMA displayed on a 1-minute MNQ chart.
Intraday charts lack context from higher timeframes. This indicator solves that by overlaying a daily-calculated SMA directly onto any chart timeframe, eliminating the need to switch between charts to see where price sits relative to the daily trend.
The indicator automatically fetches daily bar data regardless of your chart's timeframe and plots the SMA as a continuous line.
| Parameter | Default | Description |
|---|---|---|
| Period | 5 | Number of daily bars for SMA calculation |
| Price Type | Close | Price used for calculation (Close, Open, High, Low, Typical, Median, Weighted) |
| Logging Level | Error | Set to Trading for verbose diagnostics |
To run:
- Quantower v1.145.17+ with an active connection
- Windows 10+ x64
- .NET 8 x64 Runtime (bundled with Quantower)
To build from source:
- .NET 8 x64 SDK
Option 1: Installer (recommended)
Download DailySimpleMovingAverage-Setup-x.x.x.exe from Releases.
Run the installer -- it auto-detects your Quantower installation path.
Restart Quantower.
Note: Windows Defender SmartScreen may flag the installer as an unrecognized app since it is a new, unsigned release. Click "More info" and then "Run anyway" to proceed with the installation.
Option 2: Manual Install (ZIP)
- Download
DailySimpleMovingAverage-x.x.x.zipfrom Releases. - Crucial: Right-click the downloaded
.zip-> Properties -> check the Unblock box at the bottom -> click OK. (Windows silently blocks downloaded plugins by default). - Extract the contents into
C:\Quantower\Settings\Scripts\Indicators\DailySimpleMovingAverage. - Restart Quantower.
Option 3: Build from source
git clone https://github.com/moravsky/dsma-quantower.git
cd dsma-quantower
dotnet build DailySimpleMovingAverage.sln -c Release
.\deploy.ps1 -Config ReleaseIndicator not appearing in Quantower
- Verify the compiled
.dllis inC:\Quantower\Settings\Scripts\Indicators\DailySimpleMovingAverage - Restart Quantower after adding new indicators
Indicator shows 0.0000 or no line
- Set Logging Level to Trading in the indicator settings
- Open Quantower's Log panel and filter for
[DSMA] - Common causes: insufficient historical data for the requested period (e.g. 200-day SMA on a futures contract with limited history)
Petr Moravsky (petr@structuredtrading.co) -- futures trader and developer.
If this indicator is useful to you -- star the repo and leave a tip.