Treek BL checks candle body sizes, price ranges relative to extremes, and indicator boundaries on the five-minute timeframe. Trade management incorporates an initial stop loss, dynamic trailing stop adjustments, delayed exits after a specified count of open bars, active hours controls, and lot size adjustments based on balance drawdown thresholds. The repository includes several code variations but lacks README documentation.
Read from TKBL-v3.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
Lots
double
0.05
每次下单的初始手数
Timeframe
ENUM_TIMEFRAMES
PERIOD_M5
选择的时间周期,默认5分钟
SL_Points1
int
50
初始止损点数(基点)
SL_Points2
int
30
动态调整止损点数(基点)
StartDelay
int
10
当前K线开盘后延迟秒数
BarsToWait
int
5
相隔的K线数量,默认5根
BuyPriceRangeMin
int
300
做多时收盘价与最低价的最小基点范围
BuyPriceRangeMax
int
700
做多时收盘价与最低价的最大基点范围
SellPriceRangeMin
int
300
做空时收盘价与最高价的最小基点范围
SellPriceRangeMax
int
700
做空时收盘价与最高价的最大基点范围
TradeStartHour
int
0
允许交易的开始时间(小时)
TradeEndHour
int
24
允许交易的结束时间(小时)
Show all 19 inputs
Name
Type
Default
Description
DrawdownPercentage
double
5.0
资金回撤百分比,默认10%
DrawdownLots
double
0.05
资金回撤时的手数调整,默认初始手数
MinBalanceForDrawdown
double
500.0
回撤策略生效的最低资金水平
BollingerPeriod
int
10
布林带周期,默认20
BollingerDeviation
double
1.5
布林带标准差倍数,默认2.0
BufferPoints
int
10
缓存基点,用于布林带条件的判断
MinBodyPoints
int
30
最小实体基点(新增参数)
How to Install It
1Download the sourceUse "Download source (.zip)" above, or clone konomo1010/treek-bl from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
3Copy the filesCopy the .mq5 file into Experts, and any .mqh files into the Include folder the code expects.
4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
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.
This repository is a collection of educational expert advisors for MetaTrader 5, developed as part of an introductory MQL5 programming series. It includes multiple standalone robots utilizing common technical indicators such as moving average crossovers, Bollinger Bands, and the Relative Strength Index. The primary exp
This repository contains a diverse collection of automated trading robots for the MetaTrader 5 platform. The strategies range from trend-following systems using True Strength Index (TSI) and Moving Average crossovers to mean-reversion tools utilizing Relative Strength Index (RSI) and Bollinger Bands. Most experts inclu
This repository contains a collection of MetaTrader 5 Expert Advisors and scripts developed for educational and testing purposes. It includes various automated robots based on technical indicators such as the Stochastic Oscillator, RSI, and Moving Average crossovers. The primary Stochastic EA manages entries using over
This repository is a substantial collection of nearly five hundred Expert Advisors for the MetaTrader 5 platform. The library includes various automated strategies such as divergence detection using RSI and MACD, moving average crossovers, and zone recovery systems. It features a mix of trading robots, indicator-based
This collection provides MetaTrader 5 Expert Advisors sourced from MQL5 programming documentation. The primary tool, Unity Martingale, implements a multi-currency reversal strategy using breakout or pullback signals. It employs a martingale lot-scaling system that increases positions after losses based on a user-define
This repository is a diverse collection of MetaTrader 5 Expert Advisors, featuring nearly 100 different scripts sourced from various origins. The library includes automated robots based on standard indicators like Bollinger Bands, MACD, Stochastics, and moving average crossovers, as well as channel trading systems and