The Concept
Multi-Timeframe Analysis (MTF) uses multiple timeframes to identify confluence — when signals from different time perspectives agree on market direction.
Using the Multi Endpoint
Query indicators across all timeframes in a single API call:
GET /v1/multi?symbols=EURUSD&indicators=RSI_14,MACD_hist,ADX,SMA_200&timeframe=M30,H1,H4,D1 Python Implementation
import requests
def mtf_analysis(symbol, api_key):
"""Multi-timeframe analysis using 4 timeframes."""
url = "https://tickatlas.com/v1/multi"
headers = {"X-API-Key": api_key}
# /v1/multi takes ONE timeframe per call, so loop the four you want.
analysis = {}
for tf in ["D1", "H4", "H1", "M30"]:
params = {
"symbols": symbol,
"indicators": "RSI_14,MACD_hist,ADX,SMA_200",
"timeframe": tf
}
response = requests.get(url, headers=headers, params=params)
# {"success": true, "data": {"timeframe": ..., "data": {SYMBOL: {...}}}}
# Every indicator comes back as a bare float, not a nested object.
tf_data = response.json()["data"]["data"].get(symbol, {})
rsi = tf_data.get("RSI_14", 50)
macd = tf_data.get("MACD_hist", 0)
adx = tf_data.get("ADX", 0)
bias = "BULLISH" if rsi > 50 and macd > 0 else "BEARISH" if rsi < 50 and macd < 0 else "NEUTRAL"
trending = adx > 25
analysis[tf] = {"bias": bias, "trending": trending, "rsi": rsi, "adx": adx}
# Confluence check: higher TFs must agree
d1_bias = analysis["D1"]["bias"]
h4_bias = analysis["H4"]["bias"]
h1_bias = analysis["H1"]["bias"]
if d1_bias == h4_bias == h1_bias and d1_bias != "NEUTRAL":
signal = "STRONG_" + d1_bias
elif d1_bias == h4_bias and d1_bias != "NEUTRAL":
signal = d1_bias
else:
signal = "NO_TRADE"
return {"symbol": symbol, "signal": signal, "timeframes": analysis}
result = mtf_analysis("EURUSD", "YOUR_API_KEY")
print(f"Signal: {result['signal']}")
for tf, data in result["timeframes"].items():
print(f" {tf}: {data['bias']} (RSI: {data['rsi']:.1f}, ADX: {data['adx']:.1f})") Recommended Timeframe Combinations
| Trading Style | Higher TF | Trading TF | Entry TF |
|---|---|---|---|
| Scalping | H1 | M15 | M1–M5 |
| Day Trading | H4 | H1 | M15–M30 |
| Swing Trading | D1 | H4 | H1 |
| Position Trading | D1 | D1 | H4 |
Production hardening
The code above is the happy path. These are the concerns that decide whether it survives contact with a real deployment.
Related Resources
Everything this guide touches, linked directly — so it never dead-ends.