average sentiment oscillator
Info
The average sentiment oscillator is a Indicator for MetaTrader 4 that average sentiment oscillator momentum oscillator of averaged bull/bear percentages. this is an improvement on the formula we used for the sentiment meter within fx multimeter iii in 2026.
Usage
This tool is typically used for enhancing chart analysis and decision making.
Platform
This Indicator works exclusively on MetaTrader 4 (both build 600+ and newer versions).
Setup
Place the downloaded file in MQL4/Indicators folder via File ? Open Data Folder in MetaTrader 4.
How to Install and Use average sentiment oscillator
1. Installation: Place your file in the MQL/Indicators folder via "Open Data Folder" and restart your terminal.
2. Loading: Find the indicator in the Navigator, drag it onto your chart, and configure the input parameters in the popup window.
3. Customization: Press Ctrl+I to open the indicator list, select your tool, and click "Properties" to change colors, levels, or visual styles.
4. Updating: Replace the old file in the Indicators folder with the new version and restart the platform to apply changes.
Frequently Asked Questions
Q: Why is my indicator not showing? A: Verify the file is in the MQL/Indicators folder, or try right-clicking the "Indicators" tree in the Navigator and clicking "Refresh."
Q: Do custom indicators slow down the platform? A: Too many complex indicators can impact performance; remove unused ones via the "Indicator List" (Ctrl+I).
Q: Can I use MT4 indicators on MT5? A: No, MQL4 and MQL5 are distinct languages; ensure the indicator is compiled specifically for your platform version.
What this tool does
average sentiment oscillator momentum oscillator of averaged bull/bear percentages.
Typical Use Case
This Indicator excels in automated trading and technical analysis on MetaTrader 4.
Compatible Platform & Setup
This Indicator works on MetaTrader 4. Place the file in the MQL4/Indicators folder and restart the terminal.
Description & Settings
Related: Zero Lag Moving Average - another powerful indicator for MetaTrader 4 traders.
average sentiment oscillator momentum oscillator of averaged bull/bear percentages. this is an improvement on the formula we used for the sentiment meter within fx multimeter iii in 2026. we suggest using it as a relatively accurate way to gauge the sentiment of a given period of candles, as a trend filter or for entry/exit signals. it's a combination of two algorithms, both essentially the same but applied in a different way. the first one analyzes the bullish/bearishness of each bar using ohlc prices then averages all percentages in the period group of bars (eg. 10) to give the final % value. the second one treats the period group of bars as one bar and then determines the sentiment percentage with the ohlc points of the group. the first one is noisy but more accurate in respect to intra-bar sentiment, whereas the second gives a smoother result and adds more weight to the range of price movement. they can be used separately as mode 1 and mode 2 in the indicator settings, or combined as mode 0. mode 1 - intra-bar algorithm only - leading mode 2 - group algorithm only - lagging combining the two formulas we get the following result, which is the default mode 0. mode 0 - both algorithms - balanced usage: the blue line is bulls %, red line is bears %. as they are both percentages of 100, they mirror each other. the higher line is the dominating sentiment. the lines crossing the 50% centreline mark the shift of power between bulls and bears, and this often provides a good entry or exit signal, i.e. if the blue line closes above 50% on the last bar, buy or exit sell, if the red line closes above 50% on the last bar, sell or exit buy. these entries are better when average volume is high. it's also possible to see the relative strength of the swings/trend, i.e. a blue peak is higher than the preceding red one. a clear divergence can be seen in the picture as the second bullish peak registers as a lower strength on the oscillator but moved higher on the price chart. by setting up levels at the 70% and 30% mark the oscillator can also be used for trading overbought/oversold levels similar to a stochastic or rsi. as is the rule with most indicators, a smaller period gives more leading signals and a larger period gives less false signals. changing the fixed minimum and maximum values to 20 and 80 increases the oscillator width as pictured. either of the lines can be hidden in the settings.Also recommended: dynamic moving average - similar indicator with strong performance on MetaTrader 4.
You may also like: moving average of oscillator (osma) - excellent alternative for indicator users on MetaTrader 4.
Source Code
#property copyright "robotfx"
#property link "https://robotfx.org"
#property indicator_separate_window
#property indicator_minimum 0
#property indicator_maximum 100
#property indicator_buffers 2
#property indicator_color1 royalblue
#property indicator_color2 red
#property indicator_levelcolor dimgray
#property indicator_width1 1
.......
⚠ Limitations & Risk Warning
- This tool is provided for educational and testing purposes only.
- Past performance does not guarantee future results.
- Trading involves substantial risk of loss. Use on a demo account first.
- Results may vary depending on market conditions, broker, and settings.
- We recommend thorough backtesting and forward testing before using with real funds.