Thanos AI Level Strength: Identifying Significant Support and Resistance
Info
The Thanos AI Level Strength: Identifying Significant Support and Resistance is a Indicator for MetaTrader 5 that not every support or resistance line deserves the same attention. Thanos AI Level Strength draws the unbroken swing highs and lows of a timeframe you choose (1 hour by default) and shades each one by its strength: pale levels are weak, deep and thick levels are strong.
Usage
This tool is typically used for enhancing chart analysis and decision making.
Platform
This Indicator works exclusively on MetaTrader 5 (both build 600+ and newer versions).
Setup
Place the downloaded file in MQL5/Indicators folder via File ? Open Data Folder in MetaTrader 5.
How to Install and Use Thanos AI Level Strength: Identifying Significant Support and Resistance
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
Not every support or resistance line deserves the same attention.
Typical Use Case
This Indicator excels in automated trading and technical analysis on MetaTrader 5.
Compatible Platform & Setup
This Indicator works on MetaTrader 5. Place the file in the MQL5/Indicators folder and restart the terminal.
Description & Settings
Related: Previous Day and Week Levels with Round Numbers - another powerful indicator for MetaTrader 5 traders.
Not every support or resistance line deserves the same attention.Also recommended: Daily Pivot Points: Classic, Fibonacci, and Camarilla Levels - similar indicator with strong performance on MetaTrader 5.
Thanos AI Level Strength draws the unbroken swing highs and lows of a timeframe you choose (1 hour by default) and shades each one by its strength: pale levels are weak, deep and thick levels are strong. The score comes from two simple facts about each level, its age and the number of times it has held, both explained below.Figure 1. Thanos AI Level Strength on XAUUSD H1. The deep red line at the top is a 25-day-old level with 3 holds (S5).
Strength score
Age.
A level older than a day earns a point. A level older than a week earns a second point.
Holds.
Each time price came back to the level and was clearly turned away counts as a hold. One hold earns a point, two or more earn a second.
Score.
Every unbroken level starts at 1, so the total runs from 1 (pale) to 5 (deep).
The label at the right edge shows the score as text. For example, S4 6d 2 holds means strength 4, six days old, two holds. Hover over any level to see its exact price, age, holds and score. A level is removed as soon as price closes clearly through it, so everything on the chart is still intact.
How it works
Swing:
a bar whose high (or low) is the extreme of the bars on both sides (Swing bars each side, default 5).
Test:
a later bar comes within 0.1 ATR of the level from the inside.
Hold:
after a test, price closes 0.7 ATR away from the level within 12 bars, before it closes 0.3 ATR through it.
Broken:
a close 0.3 ATR through during a test, or 0.5 ATR through at any other time. Broken levels disappear.
ATR
is the 14-bar average true range of the level timeframe. Levels closer together than about a third of an ATR are merged, and the stronger one is kept.
Closed bars only:
a level never changes because of the bar that is still forming, so the indicator does not repaint.
Why age and holds?
We studied more than 17,000 one-hour swing levels on gold, from 2004 to 2026, and how price reacted each time it returned to them. Levels that had already held were turned away more often on the next test than levels being tested for the first time, and levels older than a week did better than swings less than a day old. The same ordering appeared in each of the four periods we checked (2004-09, 2010-14, 2015-19 and 2020-26), so the common belief that
You may also like: Round-Number / Psychological Level Magnet - excellent alternative for indicator users on MetaTrader 5.
Source Code
#property copyright "RobotFX"
#property version "1.00"
#property description "This code is educational. Feel free to use, modify and upgrade as you wish. Visit ROBOTFX.ORG for professional trading tools"
#property indicator_chart_window
#property indicator_buffers 0
#property indicator_plots 0
input ENUM_TIMEFRAMES Level_TF = PERIOD_H1;
input int Swing_Bars = 5;
input int History_Bars = 2000;
input int Max_Levels = 5;
.......
⚠ 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.