MiniBull Session SR MTF

  • Göstergeler
  • Yusuf Levent Aksun
    Yusuf Levent Aksun
    20 yılı aşkın yazılım geliştirme, bulut mimarisi ve DevOps dönüşümü deneyimine sahip
    Platform Mühendisi & AWS Sertifikalı Profesyonel.
    Şu anda Londra'da World Wide Technology bünyesinde platform mühendisliği girişimlerini
  • Sürüm: 4.20
  • Güncellendi: 31 Ağustos 2026
  • Etkinleştirmeler: 5
# MiniBull Session S/R MTF

**Version:** 4.0
**Platform:** MetaTrader 5 (custom indicator, `.mq5`)
**Type:** Visual reference overlay — no trading logic, no signals, no orders
**File:** `MiniBull_Session_SR_MTF.mq5`

## Overview

MiniBull Session S/R MTF is a multi-timeframe support/resistance and session-level
overlay for MT5. It draws the previous trading session's high/low, the current
session's open, the US cash market open, rolling support/resistance from three
higher timeframes (4H / 1H / 15M-intraday), two Kaufman Adaptive Moving Averages
(KAMA), and a compact info panel with % distance to key levels and the Daily
Wilder ATR — all computed automatically, with no manual timezone configuration
required.

It is a from-scratch MQL5 implementation inspired by a "Session & Prev-Day
Levels" style TradingView (Pine Script) tool, adapted and extended for MT5's
object/event model.

## What it draws

| Element | Style | Notes |
|---|---|---|
| Previous session High | Solid green line + label | Anchored at the actual bar that set the high |
| Previous session Low | Solid red line + label | Anchored at the actual bar that set the low |
| Current session Open | Solid white line + label | Drawn at the first bar of the current session |
| US cash open (09:30 NY) | Dashed white line + label | Standard instrument mode only |
| R / S (4H, x120 bars) | Solid, width 3 | ~4 weeks lookback by default |
| R / S (1H, x120 bars) | Dashed, width 2 | ~1 week lookback by default |
| R / S (15M, current day) | Dotted, width 1 | Rebuilt every session, current day only |
| R / S (30M, x120 bars) | Dash-dot, width 1 | **Off by default** — enable from inputs; ~2.5 days lookback |
| R / S (5M, x120 bars) | Dash-dot-dot, width 1 | **Off by default** — enable from inputs; ~10 hours lookback |
| R / S (1M, x120 bars) | Dotted, width 1 (distinct colors) | **Off by default** — enable from inputs; ~2 hours lookback |
| AMA #1 / AMA #2 | Solid lines (white / yellow by default) | Kaufman KAMA, periods configurable (default 200 / 9) |
| Info panel | Top-right corner | % vs Prev High, % vs Prev Low, Daily ATR (Wilder) |

Every S/R line is anchored **at the exact candle that produced the high or low**,
not at the edge of the lookback window — so a level that formed 3 days into a
20-day scan starts exactly 3 days back, not 20. Resistance and support within
the same timeframe are tracked independently, since the bar that set the high is
rarely the same bar that set the low.

Line thickness decreases with timeframe: 4H (3) → 1H (2) → 15M (1), on top of
the existing solid / dashed / dotted style distinction, so the timeframe
hierarchy is visible at a glance even in monochrome.

## Session logic

- **Standard mode**: a new "trading day" begins at **18:00 New York time**
  (the standard forex/CFD rollover), matching how most retail platforms define
  a trading session for FX and metals.
- **Brent mode**: a new "trading day" begins at **00:00 UTC** (fixed), which
  suits energy/futures-style instruments that don't follow the FX rollover.
- Weekend gaps are handled naturally: since no new session boundary occurs
  while the market is closed, the session that was open at Friday's close
  simply continues through the gap into Monday, exactly as a trader would
  expect.

## Timezone handling (fully automatic)

- The broker server → UTC offset is **auto-detected at runtime** by comparing
  `TimeGMT()` (the PC's real UTC clock) against `TimeTradeServer()` (the
  broker's server clock). This works regardless of the trader's own location
  or which broker/server is in use — it only requires the PC's own clock to be
  correctly set, which is standard on any modern OS.
- US Daylight Saving Time is computed from the **actual US DST calendar rule**
  (2nd Sunday of March → 1st Sunday of November), so New York's UTC offset is
  always correct for the current year without ever needing a manual update.
- A manual fallback offset input exists only for edge cases where `TimeGMT()`
  is unavailable, such as the Strategy Tester.

## Inputs

**Session & Prev-Day Levels**
- `InpShowSessionLevels` — show/hide prev high/low + session open
- `InpInstrumentMode` — `Standard` (NY rollover) or `Brent` (00:00 UTC rollover)
- `InpShowCashOpen` — show the 09:30 NY cash-open marker (Standard mode only)
- `InpShowSessionPanel` — show/hide the info panel

**Timezone**
- `InpAutoDetectBrokerOffset` — auto-detect broker↔UTC offset (recommended, default on)
- `InpManualBrokerOffsetHours` — fallback offset, used only if auto-detect is off or fails

**Support/Resistance**
- `InpShowSR4H` / `InpLookback4H` — 4H S/R on/off + lookback in bars (default 120 ≈ 4 weeks)
- `InpShowSR1H` / `InpLookback1H` — 1H S/R on/off + lookback in bars (default 120 ≈ 1 week)
- `InpShowSR15M` — 15-minute intraday S/R on/off (always scoped to the current session)
- `InpShowSR30M` / `InpLookback30M` — **optional, off by default.** Rolling 30-minute S/R, same model as 4H/1H (default lookback 120 ≈ 2.5 days)
- `InpShowSR5M` / `InpLookback5M` — **optional, off by default.** Rolling 5-minute S/R (default lookback 120 ≈ 10 hours)
- `InpShowSR1M` / `InpLookback1M` — **optional, off by default.** Rolling 1-minute S/R (default lookback 120 ≈ 2 hours)

**Adaptive Moving Average**
- `InpShowAMA` — show/hide both AMA lines
- `InpAmaPeriod1` / `InpAmaPeriod2` — KAMA periods (default 200 / 9)
- `InpAmaFastEMA` / `InpAmaSlowEMA` — KAMA smoothing-constant bounds (default 2 / 30)
- `InpAmaColor1` / `InpAmaColor2` — line colors

**Wilder ATR**
- `InpShowATRPanel` — show/hide the ATR row in the panel
- `InpAtrLength` — ATR period (default 14). **ATR is always computed on the
  Daily timeframe**, regardless of the timeframe the chart is currently
  showing.

## Design notes / things fixed along the way

This is a living document of the more subtle correctness issues addressed
during development, kept here for anyone maintaining the code later:

- **Label collision avoidance.** Nearby levels (e.g. a 4H resistance and a
  15-minute "today" resistance a few points apart) are queued and resolved by
  pixel distance before being drawn, so overlapping text is nudged apart. Only
  the printed label moves — the underlying line is always drawn at the exact
  price.
- **Lines drawn in front of candles, not behind.** On a volatile instrument,
  dense candle bodies can fully obscure a "behind the price action" line even
  though the object exists — all reference lines render in front instead.
- **Panel anchoring.** A corner-anchored label with a small offset from the
  edge needs to be *right*-anchored so its text grows inward, or it renders
  mostly off-screen — an easy mistake that makes a working panel look like it
  never rendered at all.
- **"Today" session detection is anchored to the chart's own current time**,
  not to whichever bar a separately-fetched intraday series happens to return
  as "latest" — avoiding a stale/mismatched read locking the day's range to
  the wrong session.
- **KAMA computation is O(n)**, not O(n·period): the volatility sum inside the
  efficiency-ratio calculation is maintained as a sliding window instead of
  being re-summed from scratch for every historical bar, which matters a lot
  with a 200-period AMA over a long history.

## Known limitations

- First load on a fresh chart/timeframe/symbol can take a few seconds while
  MT5 syncs the H4/H1/M15 history series it depends on — this is normal MT5
  history-sync behavior, not indicator overhead, and is faster once those
  timeframes have been opened once for that symbol.
- Designed as a visual aid only. It does not place trades, generate alerts, or
  make any trading recommendation.
- For best readability, enabling **Chart Shift** (right-click chart → 
  Properties → Common) gives labels room to breathe on the right edge instead
  of crowding against the last candle.

## Disclaimer

This indicator is a visual reference tool only. It does not constitute
financial advice, and past levels holding as support/resistance is not a
guarantee they will do so in the future. Use at your own risk alongside your
own analysis and risk management.

Yazarın diğer ürünleri
MTF MA Analiz: 11 zaman diliminde fiyatın SMA/EMA/KAMA pozisyonunu tek panelde görün. ### Full Description: ** Artık farklı TF'lerde grafik izlemeye son!** MiniBull Periscope - Çoklu Zaman Dilimi Hareketli Ortalama Pozisyon Analizörü Birden fazla grafik açmadan büyük resmi görün! MiniBull Periscope, Aylık (MN1)'dan 1 Dakika (M1)'ya kadar 11 zaman diliminde fiyatın hareketli ortalamalara göre pozisyonunu aynı anda gösterir. **TEMEL ÖZELLİKLER:** • Tek Görünümde 11 Zaman Dilimi: MN1, W1,
MTF Bileşik Sinyal Analizi: 11 TF'de 9 indikatör, puanlama sistemi (-9 ile +9 arası). ### Full Description: ** Artık farklı TF'lerde grafik izlemeye son!** MiniBull MTF Observer - Çoklu Zaman Dilimi Bileşik Sinyal Analizörü Nihai çoklu indikatör paneli! 11 zaman diliminde 9 farklı teknik indikatörü aynı anda analiz eder ve her zaman dilimi için -9'dan +9'a kadar bileşik puan sağlar. **ANALİZ EDİLEN 9 İNDİKATÖR:** • RSI (Göreceli Güç Endeksi) • MACD (Hareketli Ortalama Yakınsama/Iraksama
MiniBull Logical v21 — Sembol & Zaman Dilimi Rehberi   Tüm backtest sonuçları (222 dosya): https://drive.google.com/drive/folders/1-1QefUiJ1lm6Se0HYCpAmYIbERZ8xjR8 Strateji: MN1/W1 Trend + D1 Sahte Kırılım + Çoklu-TF MA Dönüş Backtest: 2024.07.01 – 2026.02.03 | $10,000 | 1:10 | 26,784 İşlem | 10/20 Kârlı BT→FWD Doğrulama: 56/110 TF onaylandı, 22 aşırı uyum Kriz Dayanıklılığı: 11 olayda $2,755 ️  TÜM TESTLER EMA(20) İLE YAPILMIŞTIR. SMA v
BullBOP13 — Güçler Dengesi | Altın vs ABD Endeksleri BullBOP13, Altın (XAUUSD) ile üç ABD hisse endeksi (NAS100, US500, US30) arasındaki geçici sapmaları tespit eder. 4 varlıktan 3'ü aynı yöne hareket ederken 1'i ters yöne hareket ediyorsa, bu aykırı varlık geri dönüş eğilimi gösteren bir "sahte hareket" yaşamaktadır. ÇALIŞMA PRENSİBİ — 4 Katmanlı Sinyal Filtresi: 1. Faz Filtresi — D1 zaman diliminde piyasa rejimi analizi (Hizalı / Sapma / Güçlü Sapma) 2. Sahte Hareket Tespiti — 3'e 1 kuralı:
Minibull Sniper Ama
Yusuf Levent Aksun
Minibull AMA Sniper v7.30, NAS100 (Nasdaq 100) için optimize edilmiş profesyonel bir trend takip Expert Advisor'ıdır. US30 (Dow Jones), SPX500 (S&P 500) ve DAX40 ile de uyumludur. EA, brokerinizin sembol adını otomatik olarak algılar — NAS100, US100, NASDAQ100, USTEC, NQ100, US30, NYA30, NYSE30, SPX500, US500 veya diğer yaygın varyasyonlar — ve buna göre çalışır. Strateji, günlük (D1) grafik üzerinde hesaplanan iki Uyarlanabilir Hareketli Ortalama — AMA(200) ve AMA(9) — üzerine kurulmuştur. Gi
Minibull Logical Pro
Yusuf Levent Aksun
**MiniBull Logical EA**, Aylık (MN1) ve Haftalık (W1) trend yönünü belirleyerek günlük (D1) bar kırılma noktalarını ve çoklu zaman diliminde (M15→D1) hareketli ortalama geri dönüşlerini takip eder. Grafik üzerindeki etkileşimli panel; ON/OFF, AUTO/MANUAL, Çıkış Modu ve N-Bar kuralı butonlarını tek tıkla değiştirme imkânı sunar. Üç çıkış seçeneği (N-Bar Kapanış, 3 Kademeli Kısmi Kapanış, SL+Zaman) ve ATR tabanlı felaket durdurması ile pozisyon yönetimi tamamen esnektir.
### BullBOP19 Live EA — Altın ve ABD Endeksleri Arasında "Sahte Hareket" Tespiti BullBOP19, MetaTrader 5 için geliştirilmiş, Altın ile başlıca ABD borsa endeksleri (NASDAQ 100, S&P 500, US30/DJIA) arasındaki güç dengesi (Balance of Power) ilişkisi üzerine kurulu, tamamen otomatik çalışan bir Uzman Danışman (EA)'dır. Altının fiyat hareketini bu endekslerle karşılaştırarak, gerçek bir ivme taşımayan "sahte hareketleri" tespit eder ve piyasaya girmeden önce güvenilmez sinyalleri filtreler. **Öne
**Minibull AMA Sniper — Repaint Yapmayan Sinyal İndikatörü** Minibull AMA Sniper, iki Kaufman Uyarlanabilir Hareketli Ortalaması — AMA200 ve AMA9 — etrafında kurulmuş bir trend konumlandırma indikatörüdür. Yatay, kararsız bir piyasada işlem açılmasını engelleyen özgün bir Eğim Teyit (Slope Confirm) filtresiyle birleştirilmiştir. **Nasıl çalışır** İndikatör, fiyatın iki AMA'ya göre nerede olduğunu takip eder: - **BUY (alış)**: fiyat hem AMA200 hem de AMA9'un üzerinde kapandığında - **SELL (sa
**Grafik değiştirmeden, önemli her zaman diliminde fiyatın tam olarak nerede durduğunu görün.** MiniBull LOP, birden fazla zaman dilimini aynı anda takip eden traderlar için tasarlanmış çok zaman dilimli bir dashboard indikatörüdür. MN, W, D, H8, H4, H1, M30, M15, M5 ve M1 için: fiyatın önceki kapanmış bara göre konumunu (yukarı/aşağı kırılım, aralık içinde kapanışın üstü/altı, kapanışta), Kaufman Adaptif Hareketli Ortalaması (AMA) tabanlı bir trend okumasını, ve önceki kapanmış barın tick hac
VAMA Signal Simulator 7 zaman dilimini (M1-D1, %5-%30 ağırlıklı) tarar ve her birini 4 hareketli ortalama ile 6 osilatörle puanlayarak ağırlıklı Strong Buy/Buy/Neutral/Sell/Strong Sell sonucuna dönüştürür. Onaylanan bir sinyal ayrıca volatiliteye uyarlanan H4 hareketli ortalamasıyla (yüksek volatilitede periyot kısalır, sakin piyasada uzar) VE hem M15 hem H1 trend yönüyle aynı olmalıdır. Her onaylanan sinyal, yöne göre renklendirilmiş bir ok ve BUY/SELL etiketiyle grafikte gösterilir; ayrıca gir
MiniBull Algorithmic Signal Engine, MetaTrader 5 için çoklu zaman dilimli bir ticaret sistemidir; hem gösterge hem de Expert Advisor (EA) olarak sunulur. 7 zaman dilimini (M1-D1) 4 hareketli ortalama ve 6 osilatörle puanlar, sonucu volatiliteye uyum sağlayan bir H4 trend ortalamasıyla (VAMA) filtreler, ardından işlem açmadan önce hem M15 hem H1'in yönü onaylamasını şart koşar — kısmi onay kabul edilmez. EA iki mod sunar: Faithful (sabit 0.02 lot, 1:1 risk:ödül, orijinal script'in birebir kopya
Filtrele:
Değerlendirme yok
Değerlendirmeye yanıt