Trading robot · MT5

Advanced KT Trader

by Valenteeno

Advanced KT Trader is a price action robot for MetaTrader 5 that specializes in trading the Kangaroo Tail candlestick pattern.

GitHub stars1
Forks0
Last update4 months ago14 Jun 2026
LicenceCustom licence

Overview

Advanced KT Trader employs a sophisticated scoring system to filter entries based on tail-to-body ratios and candle positioning. The strategy integrates support and resistance zone confluence alongside 200 EMA trend filters on daily and higher timeframes. Risk controls include an ATR volatility filter, spread protection, and a news event blocker. Users can also set daily gain and loss targets to preserve equity and manage trading activity through a detailed hourly session scheduler.

Details

Author

Valenteeno on GitHub

Type

Trading robot

Markets

Any symbol

Timeframes

M15-H1, H4 and above

Risk Profile

No grid, martingale or hedging logic was found in its code or README. That says nothing about how it performs: backtest it first.

Input Parameters

Read from AdvancedKTTrader_FIXED.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
MagicNumberintEXPERT_MAGICMagic Number
KT_TimeframeENUM_TIMEFRAMESPERIOD_H1Kangaroo Tail Timeframe
SR_TimeframeENUM_TIMEFRAMESPERIOD_H4S/R Zones Timeframe
UseChartTimeframebooltrueUse Chart Timeframe Instead
Kt_ModeKTModeBASICKT Mode (Basic/Advanced)
TailToBodyRatiodouble2.0Tail to Body Ratio (minimum)
BodyPositionFractionint3Body Position Fraction (1/3 of range)
KT_ExpiryBarsint100KT Expiry (bars)
Kt_CandleDirectionKTCandleDirectionEITHER_DIRECTIONKT Candle Type
Preceeding_CandleTypeKTPreceedingTypeEITHER_PRECEEDINGPreceeding Candle Type
KeepKtVisiblebooltrueRetain past KT on Chart
Enable_AdvancedFeature1booltrue[1] KT within S/R Zone Cluster
Show all 40 inputs
NameTypeDefaultDescription
Feature1_ProximityPointsdouble10.0Feature 1: Proximity Extension (points)
Enable_AdvancedFeature2booltrue[2] KT Body within Preceeding Candle Range
Enable_AdvancedFeature3booltrue[3] KT Range >= % of Context
Feature3_PercentThresholddouble50.0Feature 3: Context % Threshold
Feature3_ContextBarsint20Feature 3: Context Bars
Feature3_ContextTypeint0Feature 3: Context Type (0=Bars, 1=ATR)
Enable_AdvancedFeature4booltrue[4] KT Tail Tip Absence Check
Feature4_TailPercentdouble50.0Feature 4: Tail % from Tip
Feature4_LookbackBarsint50Feature 4: Lookback Bars
AdvancedScoreThresholddouble75.0Advanced Score Threshold (%)
EnableDailyEMAbooltrueEnable Daily 200 EMA
DailyEMAPeriodint200Daily EMA Period
EnableEMASlopeboolfalseEnable EMA Slope Check
EMASlopeLookbackint5EMA Slope Lookback
EnableHigherEMAbooltrueEnable Higher TF EMA
HigherTimeframeENUM_TIMEFRAMESPERIOD_H1Higher Timeframe
HigherEMAPeriodint200Higher TF EMA Period
EnableHigherEMASlopeboolfalseEnable Higher EMA Slope
HigherEMASlopeLookbackint3Higher EMA Slope Lookback
EnableATRFilterbooltrueEnable ATR Filter
ATRPeriodint14ATR Period
ATRMultiplierdouble1.5ATR Multiplier
EnableSpreadFilterbooltrueEnable Spread Filter
MaxSpreadPointsdouble50.0Max Spread (points)
EnableNewsFilterboolfalseEnable News Filter
NewsBeforeMinsint30Minutes Before News
NewsAfterMinsint30Minutes After News
NewsCloseMinsint0Close Trades Before News (0=disabled)

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone Valenteeno/AdvancedKTTrader from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
  3. 3Copy the filesCopy the .mq5 file into Experts.
  4. 4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
  5. 5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.

Similar Expert Advisors

Simba Sniper EA

by oriokie
6 stars

This MetaTrader 5 expert advisor focuses on XAUUSD using a multi-timeframe scalping approach based on Smart Money Concepts. It identifies institutional market structures by analyzing H4 trends, H1 supply and demand zones, and M5 entries. The logic incorporates order block detection, Fair Value Gaps (FVG), and liquidity

MT5 Trading robot SMC / ICT / price actionScalpingTrend following High risk
Updated 9 months ago Custom licence GitHub repository of Simba Sniper EA

ICT System EA

by 26730023-PhamPhuNguyenHung
5 stars

This MetaTrader 5 expert advisor automates trading strategies based on Inner Circle Trader (ICT) and Smart Money Concepts (SMC). It utilizes a confluence engine to evaluate market structure, PDA zones, fair value gaps, order blocks, and SMT divergence against correlated symbols like the DXY. Designed specifically for p

MT5 Trading robot SMC / ICT / price actionTrend followingMean reversion
Updated 7 months ago None stated GitHub repository of ICT System EA
4 stars

This MetaTrader 5 expert advisor utilizes a combination of Bollinger Bands, Relative Strength Index, and Average Directional Index to identify entries. It supports multi-timeframe analysis for trend confirmation and provides optional filters for Average True Range and price action patterns such as hammers. Risk managem

MT5 Trading robot Trend followingMean reversionSMC / ICT / price action High risk
Updated 1 year ago None stated GitHub repository of Alif BB RSI ADX MTFA

EA SMC Engine

by Pauloeduspbr
3 stars

This automated trading robot for MetaTrader 5 implements Smart Money Concepts (SMC) and ICT principles using a hybrid architecture. Trading logic and signal detection are processed within a native C++ DLL, while the MQL5 bridge handles trade execution and data feeding. The system identifies market structure shifts, inc

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following
Updated 7 months ago MIT GitHub repository of EA SMC Engine

3711 Single EA

by hakimibob
2 stars

This expert advisor for MetaTrader 5 utilizes a multi-timeframe technical approach, scanning H1, M30, M15, and M5 periods simultaneously. It generates signals using a stochastic stack combined with RSI and stochastic divergence detection. The system incorporates a formula pack for market structure analysis, including B

MT5 Trading robot Indicator crossoverMean reversionSMC / ICT / price action
Updated 2 months ago None stated GitHub repository of 3711 Single EA
2 stars

This MetaTrader 5 expert advisor focuses on institutional-style trading across forex, indices, and other assets. It utilizes market structure analysis, including liquidity sweeps and market structure shifts, to identify entries on a M15 timeframe guided by H1 trends. The robot categorizes market states into range, tren

MT5 Trading robot SMC / ICT / price actionTrend followingMean reversion

More SMC / ICT EAs

Related on ForexR

Need a Broker for MT5?

Compare regulated brokers that support MT5, with spreads, minimum deposits and leverage side by side.

Compare MT5 brokers