Shawrie

This Pine Script implements a Gaussian Channel + Stochastic RSI Strategy for TradingView. It calculates a Gaussian Weighted Moving Average (GWMA) and its standard deviation to form an upper and lower channel. A Stochastic RSI is also computed to determine momentum. A long position is entered when the price closes above the upper Gaussian band and the Stoch RSI K-line crosses above D-line. The position is exited when the price falls back below the upper band. The script includes commission, capital management, and date filtering.




here is the code

//@version=5 strategy("Gaussian Channel + Stoch RSI Strategy", overlay=true, margin_long=100, margin_short=100, initial_capital=100000, commission_type=strategy.commission.percent, commission_value=0.1, default_qty_type=strategy.percent_of_equity, default_qty_value=100, pyramiding=1) // User Inputs length = input.int(20, "Gaussian Length", minval=5) multiplier = input.float(2.0, "Channel Multiplier", step=0.1) rsiLength = input.int(14, "RSI Length", minval=1) stochLength= input.int(14, "Stoch RSI Length", minval=1) kLength = input.int(3, "Stoch K Smoothing", minval=1) dLength = input.int(3, "Stoch D Smoothing", minval=1) // Gaussian Weighted Moving Average Function f_gaussian(source, length) => half = (length - 1) / 2.0 sum = 0.0 norm = 0.0 // Gaussian standard deviation chosen as length/6 for a smooth curve denom = (length / 6.0) * (length / 6.0) for i = 0 to length - 1 x = i - half w = math.exp(-(x * x) / (2 * denom)) sum += source[i] * w norm += w sum / norm // Gaussian Weighted Standard Deviation Function f_gaussian_std(source, length) => half = (length - 1) / 2.0 gavg = f_gaussian(source, length) sum = 0.0 norm = 0.0 denom = (length / 6.0) * (length / 6.0) for i = 0 to length - 1 x = i - half w = math.exp(-(x * x)/(2*denom)) diff = source[i] - gavg sum += diff * diff * w norm += w math.sqrt(sum/norm) // Compute Gaussian Channel gaussMid = f_gaussian(close, length) gaussStd = f_gaussian_std(close, length) gaussUpper = gaussMid + gaussStd * multiplier gaussLower = gaussMid - gaussStd * multiplier // Stochastic RSI Calculation rsi = ta.rsi(close, rsiLength) rsiLowest = ta.lowest(rsi, stochLength) rsiHighest = ta.highest(rsi, stochLength) stoch = 100 * (rsi - rsiLowest) / math.max(rsiHighest - rsiLowest, 1e-10) k = ta.sma(stoch, kLength) d = ta.sma(k, dLength) // Conditions // Long entry: Price closes above upper Gaussian line AND Stoch RSI K > D (stochastic is "up") longCondition = close > gaussUpper and k > d // Exit condition: Price closes below upper Gaussian line exitCondition = close < gaussUpper // Only trade in the specified date range inDateRange = time >= timestamp("2018-01-01T00:00:00") and time < timestamp("2069-01-01T00:00:00") // Submit Orders if inDateRange if longCondition and strategy.position_size <= 0 strategy.entry("Long", strategy.long) if exitCondition and strategy.position_size > 0 strategy.close("Long") // Plot Gaussian Channel plot(gaussMid, "Gaussian Mid", color=color.new(color.yellow, 0)) plot(gaussUpper, "Gaussian Upper", color=color.new(color.green, 0)) plot(gaussLower, "Gaussian Lower", color=color.new(color.red, 0))


推荐产品
LSTM Library
Thalles Nascimento De Carvalho
LSTM Library - MetaTrader 5的高级神经网络 专业算法交易神经网络库 LSTM Library为您的MQL5交易策略带来递归神经网络的强大功能。这个专业级实现包括LSTM、BiLSTM和GRU网络,具有通常只在专业机器学习框架中才能找到的高级功能。 "交易机器学习成功的秘诀在于正确的数据处理。 垃圾进,垃圾出 –您的预测质量永远不会超过您的训练数据质量。" — 马科斯·洛佩兹·德·普拉多博士, 金融机器学习进展 主要特点 完整实现LSTM、BiLSTM和GRU 递归Dropout实现更好的泛化 多种优化算法(Adam, AdamW, RAdam) 高级归一化技术 全面的指标评估系统 训练进度可视化 支持通过类权重处理不平衡数据 技术规格 纯MQL5实现 - 无外部依赖 为交易应用程序优化 全面的错误处理和验证 完全支持保存/加载训练模型 详尽的文档 集成说明 要将LSTM Library集成到您的Expert Advisor中,请按照以下步骤操作: 1. 完整库导入 #import "LSTM_Library.ex5"    // 库信息    void Get
K Trade Lib5
Kaijun Wang
2 (1)
MT4/5通用交易库(  一份代码通用4和5 ) #import "K Trade Lib5.ex5"    //简单开单    long OrderOpen( int type, double volume, int magic, string symbol= "" , string comment= "" , double opprice= 0 , double sl= 0 , double tp= 0 , int expiration= 0 , bool slsetmode= false , bool tpsetmode= false );    //复杂开单    void SetMagic( int magic, int magic_plus= 0 ); void SetLotsAddMode(int mode=0,double lotsadd=0);    long OrderOpenAdvance( int mode, int type, double volume, int step, int magic, string symbol= "" , string comm
FREE
AILibrary
Marius Ovidiu Sunzuiana
AI Utility Library for MQL5 The AI Utility Library for MQL5 is a next‑generation development framework that brings artificial intelligence, adaptive logic, and intelligent data processing directly into the MetaTrader ecosystem. Designed for traders, quants, and algorithm developers who demand more than traditional indicator logic, this library transforms MQL5 into a smarter, more predictive, and more efficient environment for building advanced trading systems. Built with a modular architectur
Ai Prediction MT5
Mochamad Alwy Fauzi
A free indicator for those who purchase the full version This indicator is created by this Ai, with your desired settings Artificial Intelligence at your service Have a complete artificial intelligence and use it in your codes This artificial intelligence is trained to tell you on each candle whether the market is moving up or down. In general, artificial intelligence can be used in all markets, all timeframes and all symbols However, due to the increasing complexity and decreasing accuracy of
EagleFX10
Youssef Wajih Saeed I Said It Here
概述 EagleFX 是一个面向 MetaTrader 5 的全自动专家顾问(EA),在多种金融工具上全天候(24/7)执行高精度算法交易策略。它剔除交易决策中的情绪因素,对每个信号进行严格的历史回测,动态调整风险参数,并利用先进的机器学习启发式内存模块不断优化自身性能。 持续、无情绪执行 EagleFX 不知疲倦地 24/7 运行,持续监控价格走势,并在满足预设条件的瞬间执行交易。与易受恐惧与贪婪影响的人类交易者不同,它严格遵循预先编码的策略,杜绝任何情绪偏差。 经过验证的回测策略 所有进出场规则均基于量化指标(如 ATR、EMA、RSI),并在多年历史数据上反复回测以保证统计可靠性并避免过拟合。在上线实盘前,每组参数都经过严格的滚动前测(walk-forward)、不同波动率环境下的模拟,以及趋势和震荡市场条件下的双重优化。 先进架构与自适应 EagleFX 作为独立的 MT5 EA,采用 handle-方式调用指标以提高效率,并借鉴 LLM 代理(如 FinMem、TradingGPT)的分层记忆结构,以优先关注最近的市场动态同时保留长期背景。该多层设计使其信号可实时自适
INTRODUCING MML Data Bridge The demand for bridging external data and machine learning with trading platforms is higher than ever. MetaTrader 5 is a powerful environment for trading and back testing, but without a data bridge, MT5 is largely isolated from using any external data. MML Bridge is a developer tool that allows users to bridge external data into MT5 for back testing, live trading, and optimization. It's built for ease of use, providing users with a simple function API that drip-feeds
FREE
The library is used to develop automatic trading on Binance Futures Market from MT5 platform. Support Binance Futures USD-M and COIN-M Support Testnet mode Support all order types: Limit, Market, StopLimit, StopMarket, StopLoss and TakeProfit Automatically display the chart on the screen Usage: 1. Open MQL5 demo account 2. Download Header file and EA sample https://drive.google.com/uc?export=download&id=17fWrZFeMZoSvH9-2iv4WDJhcyxG2eW17 Copy BinanceFutures.mqh to folder \MQL5\Include Copy  Bina
This library allows you to automatically filter events by symbol. Additionally, it requires the use of "flags" to classify events based on their importance (high, low, etc.). Properties: Our library is simple and only requires the export of four functions to work properly. Requirements: The library uses OnTimer , so it is not compatible with programs that also use this event. If your bot utilizes OnTimer , this may interfere with the library’s functionality and prevent event filtering. We recomm
FREE
Trend Fusion MTF
Elham Afsharpour
Trend Fusion MTF Trend Fusion MTF是一款适用于MetaTrader 5的多时间周期趋势和市场结构指标。 它可以独立分析最多六个选定的时间周期,并在清晰的图表面板中显示每个周期的当前方向。每个时间周期都可以设置不同的权重,使较高时间周期能够对最终趋势强度产生更大的影响。 该指标使用已确认的价格枢轴点以及包括BOS和CHOCH在内的市场结构形态,将每个时间周期分类为: 上升趋势 下降趋势 中性状态 等待确认 工作原理 对于每个已启用的时间周期,Trend Fusion MTF会自动: 扫描之前的K线。 查找初始有效高点和低点枢轴。 检测新的已确认枢轴点。 监控重要市场结构水平的突破。 确认看涨、看跌或中性趋势状态。 将该时间周期的结果加入总加权趋势强度。 每个时间周期都使用其自身的K线数据独立计算。 该指标不需要其他指标、额外的EX5文件或外部资源。 多时间周期面板 面板显示: 所选时间周期 当前趋势方向 时间周期权重 看涨或看跌贡献 总趋势强度 整体趋势状态 时间周期同步状态 可视化强度条 当所有已启用的时间周期都朝同一方向时,指标还可以在图表上绘制趋势同
NEXA Breakout Velocity NEXA Breakout Velocity 是一款基于价格通道突破、动量速度(ROC)、成交量过滤以及 ATR 风险控制的自动交易系统。 该系统旨在识别波动率扩张阶段,即价格突破区间并伴随动量和成交量增加的市场环境。 所有信号均基于已收盘K线计算。 同一交易品种仅持有一个仓位。 策略概述 系统结合以下核心组件: 价格通道突破识别 ROC 动量过滤 成交量扩张过滤 可选低周期确认 基于 ATR 的止损计算 固定风险收益比目标 基于账户风险比例的自动仓位计算 动态风险控制机制 本策略不仅依赖突破本身,同时要求动量与成交量配合确认。 工作原理 根据最近的高点和低点计算价格通道。 检查上一根已收盘K线是否突破通道。 将当前 ROC 数值与历史平均值进行比较。 将当前成交量与平均成交量进行比较。 如启用,则在低周期进行确认。 根据 ATR 计算止损距离。 根据风险收益比计算止盈目标。 根据账户风险比例自动计算交易手数。 所有计算均基于已收盘K线。 推荐默认设置 图表周期:M15 启用自动交易 启动前确保历史数据充足 系统可用于其他周期,但结构主要面
FREE
AO Core
Andrey Dik
3.67 (3)
AO Core is the core of the optimization algorithm, it is a library built on the author's HMA (hybrid metaheuristic algorithm) algorithm. Pay attention to the MT5 Optimization Booster product , which makes it very easy to manage the regular MT5 optimizer . An example of using AO Core is described in the article: https://www.mql5.com/ru/articles/14183 https://www.mql5.com/en/blogs/post/756510 This hybrid algorithm is based on a genetic algorithm and contains the best qualities and properties of p
OrderFlow Sniper Pro OrderFlow Sniper Pro 是一款专为追求深度市场洞察的专业交易者设计的 高性能可视化分析工具 。它将传统的比尔·威廉姆斯(Bill Williams)分形逻辑与先进的**成交量增量引擎(Volume Delta Engine)**完美结合。 为什么您需要这款工具? 标准的分形指标只能告诉您价格已经转向,而 OrderFlow Sniper Pro 能揭示价格 为何 转向。通过分析蜡烛实体与整体波幅(Range)之间的比例,买卖双方的激进净压力变得清晰可见。当技术拐点(分形)与巨大的成交量压力(Delta)重合时,便会产生一个 金色的狙击手(Sniper)信号 。 核心功能: XXL 狙击手信号: 金色箭头提示高概率入场点。 实时情绪框(Live Sentiment Box): 实时追踪市场偏见(Bias)与动能。 透明订单流柱: 在不遮挡蜡烛图的情况下,洞察内部强度。 多重预警系统: 通过推送(Push)、邮件(Email)和声音提示,绝不错过任何狙击机会。 轻量化性能: 采用 Canvas 技术构建,在任何 VPS 上都能实现
FREE
A Simple Moving Average (SMA) is a statistical indicator used in time series analysis. This indicator represents the arithmetic mean of a sequence of values over a specific period of time. SMA is used to smooth short-term fluctuations in data, helping to highlight the overall trend or direction of changes. This aids analysts and traders in better understanding the general dynamics of the time series and identifying potential trends or changes in direction.  More information you can find in Wiki 
SimpleLotCalculator
Itumeleng Mohlouwa Kgotso Tladi
SimpleLotCalculator: Professional Multi-Symbol Risk Manager Library Stop guessing your lot sizes and start trading with institutional precision. SimpleLotLogic is a high-performance MQL5 developer library designed to solve the number one problem for algorithmic and manual traders: Risk Management. Instead of writing complex math for every new EA, simply plug in this library to calculate the perfect lot size based on your account equity and stop-loss distance. Why Choose SimpleLotLogic? Precis
MT5 to Delta Exchange API Bridge EA Connector allows your expert advisor with mq5 file to integrate and communicate with Delta Exchange using API Keys You can place order, check balance and other order managements using Delta Exchange API - Place Limit, SL Limit and Take Profit Limit Orders - Place Market, SL-Market, TP-Market orders - Cancel Order - Query Orders - Change Leverage, margin - Get Position info and many more, details available at demo script Script Documentation 
CRT Advanced
Jose Antonio Cantonero Velasco
SISTEMA DE TRADING ALGORITMICO PROFESIONAL VISIÓN GENERAL CRT ADVANCED   es un sistema de trading automatizado de alta precisión que opera basado en el análisis de formaciones de velas japonesas. Desarrollado específicamente para mercados de Forex, indices y commodities, implementa una metodología sistemática que combina price action puro con gestión avanzada de riesgo. Contacte conmigo después de la compra, le enviaré sets y soporte gratuito. Gracias.
FREE
CRingBuffer
Christian Stern
CRingBuffer - Numeric ring buffer with lightweight high-performance statistics engine CRingBuffer is a powerful MQL5 library for numeric rolling-window analysis. After each insertion it immediately provides mean, variance, standard deviation, percentiles, z-scores, min/max tracking and normalized values - all in O(1) to O(n log n). Table of contents: Application area Two operating modes Basic statistics Welford statistics (numerically stable, recommended for large price levels) Percentiles Z-s
FREE
A complete PostgreSQL client implemented in pure MQL5 over native MetaTrader 5 TCP sockets. The library implements the PostgreSQL client with MD5 and SCRAM-SHA-256 authentication, SSL/TLS, the Simple Query Protocol, and explicit transactions. No DLLs, no external dependencies, no third-party services. Features Direct TCP connection to any PostgreSQL-compatible database MD5 and SCRAM-SHA-256 authentication, auto-detected SSL/TLS via PostgreSQL's SSLRequest flow Full transaction support Typed res
Molo kumalo
James Ngunyi Githemo
Trading Forex with our platform offers several key advantages and features: Real-time Data : Stay updated with live market data to make informed decisions. User-Friendly Interface : Easy-to-navigate design for both beginners and experienced traders. Advanced Charting Tools : Visualize trends with interactive charts and technical indicators. Risk Management : Set stop-loss and take-profit levels to manage your risk. Multiple Currency Pairs : Access a wide range of forex pairs to diversify your tr
Steady Runner NP EA
Theo Robert Gottwald
2.5 (2)
Introducing Steady Runner NP EA (Free Version): Precision Trading for GBPUSD M5 What is Steady Runner NP EA? Steady Runner NP EA is a   mathematically designed Expert Advisor (EA)   exclusively crafted for the   GBPUSD M5 timeframe . Built with advanced algorithms and statistical models, this EA automates your trading strategy to deliver   precision, consistency, and discipline   in every trade. Whether you're a seasoned trader or just starting out, Steady Runner NP EA is your reliable par
FREE
Bookeepr
Marvellous Peace Kiragu
Bookeepr is an advanced MQL5 trading bookkeeping software that automates trade logging, tracks real-time P&L, and integrates a ledger-style financial system for deposits, withdrawals, and expenses. It supports multi-currency assets , generates detailed performance reports , and provides risk management tools to help traders optimize their strategies. With secure cloud storage, exportable reports, and seamless MetaTrader 5 integration , Bookeepr ensures accurate, transparent, and hassle-free fina
本 EA 专为震荡 / 横盘行情设计。 在设定区间内自动补单交易 EA 仅在 预先设定的价格区间内运行 。 当订单平仓、成交、取消后(单数量少了),EA 会自动补充新的订单,以维持交易策略的持续运行。 您可以通过 Max Orders 来控制最大订单数量。 示例: 最大订单数(Max Orders):8 当前持仓订单:2 单 挂单 Sell Limit:6 单 在这种情况下,EA 不会继续下新单。 只有当订单 平仓、成交 、 取消 后,EA 才会 自动补单 ,持续捕捉 震荡行情 中的利润。 注意: Sell Limit   订单 只会挂在当前市场价格的上方 。 产品参数说明 Trade Symbol : 交易品种  XAUUSD、USDJPY、BTCUSD 等等... 区间设置 Zone Low :区间下边界 Zone High :区间上边界 说明: 例如,您将BTCUSD的交易区间设定为: Zone Low : 92000 Zone High : 94500 EA 只会在该价格区间内挂单并自动交易。 当价格突破区间范围时,EA 将停止交易。 当价格回到区间内,EA 会自动恢复
GoldOil
Babak Alamdar
LAUNCH PROMO: ONLY A FEW COPIES LEFT! OPEN BLACK BOX: ONE EA, MANY STRATEGIES — CREATE NEW SETS, CONTRIBUTE YOUR IDEAS, AND POTENTIALLY TURN THEM INTO COMMERCIAL EAs UNDER AGREEMENT. Gold Is The Target. Oil Is The Driver. GoldOil Watches What Drives Gold. VERY LIMITED COPIES AT CURRENT PRICE Final Price: $2499 Exclusive:   After purchase, send me a direct message to receive VIP set files, setup instructions, and access to the private GoldOil Telegram group. PROP FIRM READY! Buy not just a back
Gold Adaptive EA MT5 is an automated Expert Advisor for MetaTrader 5 designed for trading Gold (XAUUSD). The EA uses several internal trading models and market filters to adapt to different phases of Gold price movement. Instead of relying on one fixed entry pattern, Gold Adaptive EA MT5 analyzes market behavior and selects suitable logic for trend continuation, impulse moves, pullbacks and selected recovery conditions. The main goal of the Expert Advisor is to provide a structured Gold tradi
FREE
What is SMC Market Structure Pro? SMC Market Structure Pro is an automated trading Expert Advisor for MetaTrader 5, developed based on Smart Money Concept (SMC) and market structure analysis. The EA is designed to help traders follow the natural flow of the market, focusing on price structure instead of indicators or lagging signals.  How Does the EA Work? The EA analyzes market structure changes using pure price action: Detects higher highs & higher lows for bullish structure Detects lower hig
FREE
Orange Indicator by Quant Atlas Creator:  https://www.quant-atlas.com/ Orange Indicator is a clean reversal focused indicator for MetaTrader 5, designed to highlight potential turning points directly on the chart using simple orange buy and sell markers. The indicator focuses on moments where price may be transitioning out of short term exhaustion and into a possible reaction phase. When a bullish setup appears, an orange upward triangle is displayed below the candle. When a bearish setup appear
FREE
Goliath Mt5
Nicolokondwani Biscaldi
Goliath MT5 - scalper fully automated Expert Advisor for medium-volatile forex markets P roperties: The Library trades 10 currency pairs (USDCHF, EURCHF, EURGBP, AUDUSD, USDCAD, GBPUSD, EURUSD, NZDUSD, CADCHF, EURAUD, EURCAD, AUDJPY) The Library does not use martingale The Library sets a fixed stop loss and take profit for all orders The Library only trades a user input volume The Library can be installed on any currency pair and any timeframe Recommendations: Before using on a real account, t
TradeJournal AutoExporter
Mogae Ronald Sekwababe
TradeJournal AutoExporter is a powerful utility designed for MetaTrader 5 that automatically captures and logs your trading activity in real time. Eliminate manual record-keeping and keep your focus entirely on the market. Key Features: Automated Data Capture: Instantly logs detailed trade statistics—including open/close prices, lot sizes, trade duration, commissions, swap, and profit/loss—the moment a trade closes. Seamless Exporting: Automatically saves your trade history into clean, structure
Friends, join us! Ask questions and connect with like-minded traders: MetaCOT Public Group MetaCOT Information Channel: news, CFTC reports, and signals: MetaCOT Channel Here’s to successful trading and new profitable signals for us all! Attention! Recently, certain countries have been blocking access to the cftc.gov website. As a result, users in these countries are giving the product low ratings. MetaCOT has always adhered to the highest quality standards and is in no way associated with th
FREE
MA Crossover Pro EA
Mohammed Lamine Kasmi
EA Title: MA Crossover Pro EA Tagline: Intelligent Automated Trading to Seize Strong Trend Opportunities Full Description: The MA Crossover Pro EA is a fully automated trading system designed for traders looking to harness the power of trends in the financial markets. The Expert Advisor is based on one of the most classic and reliable strategies: the Moving Average Crossover . Key Features: 100% Fully Automated: From analysis to opening and closing trades. Reliable Strategy: Built on the time-te
FREE
该产品的买家也购买
BitMEX Trading API
Romeu Bertho
5 (1)
Cryptocurrency analysis has never been easier with Crypto Charts for MetaTrader 5. Now, trading on BitMEX has never been easier with BitMEX Trading API for MetaTrader 5. BitMEX Trading API library was built to be as easy to use as possible. Just include the library into your Expert Advisor or Script, call the corresponding methods and start trading! Features Trade on BitMEX and BitMEX Testnet. Build and automate your strategies. Concern more with the trading strategy logic and less with the co
EA Toolkit
Esteban Thevenon
EA Toolkit   is a library that allows any developer to quickly and easily program Advisor experts. It includes many functions and enumerations such as trailing stop, lot, stop loss management, market trading authorisations, price table updates, trading conditions and many more. Installation + Documentation : You will find all the information to install this library and the documentation of its functions on this GitHub : https://github.com/Venon282/Expert-Advisor-Toolkit WARNING : The installat
Hello everyone! I am a professional MQL programmer , Making EAs, Indicators and Trading Tools for my clients all over the world. I build 3-7 programs every week but I seldomly sell any ready-made Robots. Because I am fastidious and good strategy is so few...  this EA is the only one so far I think its good enough to be published here.  As we all know, the Ichimoku indicator has become world popular for decades, but still, only few people knows the right way of using it, and if we check the clo
Applying these methods, I managed to arrive at a nuanced conclusion that is crucial to understanding the importance of unique strategies in contemporary trading. Although the neural network advisor showed impressive efficiency in the initial stages, it proved to be highly unstable in the long run. Various factors such as market fluctuations, trend changes, external events, etc. cause its operation to be chaotic and eventually lead to instability. With these experiences, I accepted the challenge
Kaseki
Ben Mati Mulatya
The Hybrid Metaheuristic Algorithm (HMA) is a cutting-edge optimization approach that combines the strengths of genetic algorithms with the best features of population-based algorithms. Its high-speed computation ensures unparalleled accuracy and efficient search capabilities, significantly reducing the total time required for optimization while identifying optimal solutions in fewer iterations. HMA outperforms all known population optimization algorithms in both speed and accuracy. Use Cases AO
快速关仓,无需任何操作。 当前版本的一键关仓主要针对的是来不及手动关仓的情况,目前是不分交易标的类别,是对所有的持仓进行关仓。 未来可能升级的方向: 1、分类别、分标的关仓。 适用场景:开了多个标的的仓位,并且波动不一,快速频繁的波动影响了整体的判断。 2、增加只关闭盈利仓位、只关闭亏损仓位。 适用场景:持仓较多,趋势发生变化。 个人建议:一般建议选择一键全部关仓,因为如果行情与持仓方向一致,只关闭盈利仓位无形就是扩大了亏损。如果行情方向与持仓方向相反,只关闭亏损仓位,当前已盈利的后面又会变为亏损,盈利无法变现。 3、按照仓位顺序由大到小关仓、按照仓位顺序由小到大关仓。 适用 场景:行情发生波动,对于未来行情判断把握不确定的,可根据自己需求选择仓位关仓顺序,由大到小关仓的话,可以避免亏损的进一步扩大。 4、减小仓位量,保持绝对的安全距离。 适用 场景:对未来趋势相对确定,不想错过当前行情,但是认为当前持仓体量又有点大,想降低仓位。
【黄金智能交易EA|风控稳守,盈利突围】 专为黄金波动特性定制的智能交易EA,以硬核交易系统为核心,每笔下单均源自量化模型对行情趋势、支撑压力的精准研判,杜绝主观干扰,让交易决策更客观高效。 搭载多维风控体系,动态止损止盈+仓位智能调控双保险,严格锁定单笔风险阈值,即便面对黄金跳空、黑天鹅行情,也能有效规避大幅回撤,守护本金安全。 更具备浮盈加仓智能算法,趋势明朗时自动放大盈利头寸,让利润在顺势中滚动增长,既不浪费单边行情红利,又通过阶梯式加仓策略平衡风险与收益,实现“风控打底,盈利上不封顶”的交易闭环! 本款EA历经38次修改与测试,每一次升级都境加了EA的稳定盈利能力,才最终确定此为终极版本发布。 本款EA目前只针对现货黄金 交易的长期回测和实盘验证,按照下图设置实现长期的稳定 盈利。如果需要交易期它品种,请根据实际情况更改设置。 本EA为阶梯定价,每卖出10份价格增加10%
SniperkickEA
Mohamed Maguini
Questo Expert Advisor (EA) è stato progettato per offrire un'esperienza di trading automatizzata di alto livello, adatta sia ai trader principianti che a quelli esperti. Utilizzando algoritmi avanzati e tecniche di analisi del mercato, l'EA è in grado di identificare opportunità di trading redditizie con precisione e velocità. L'EA è configurabile per operare su vari strumenti finanziari, tra cui forex, indici e materie prime, garantendo una flessibilità senza pari. Le caratteristiche princip
本 EA 专为震荡 / 横盘行情设计。 在设定区间内自动补单交易 EA 仅在 预先设定的价格区间内运行 。 当订单平仓、成交、取消后(单数量少了),EA 会自动补充新的订单,以维持交易策略的持续运行。 您以通过 Max Orders 来控制最大订单数量。 示例: 最大订单数(Max Orders):8 当前持仓订单:2 单 挂单 Buy Limit:6 单 在这种情况下,EA 不会继续下新单。 只有当订单 平仓、成交 、 取消 后,EA 才会 自动补单 ,持续捕捉 震荡行情 中的利润。 注意: Buy Limit 订单 只会挂在当前市场价格的下方 。 产品参数说明 Trade Symbol : 交易品种  XAUUSD、USDJPY、BTCUSD 等等... 区间设置 Zone Low :区间下边界 Zone High :区间上边界 说明: 例如,您将黄金的交易区间设定为: Zone Low :4420 Zone High :4455 EA 只会在该价格区间内挂单并自动交易。 当价格突破区间范围时,EA 将停止交易。 当价格回到区间内,EA 会自动恢复交易。 订单设置
STOP GUESSING GOLD’S DIRECTION. LET THE GRID DO IT. BIDIRECTIONAL GRID EA | XAUUSD | MT5 Gold spikes up. Gold crashes down. Gold fakes you out both ways in the same hour. Most traders lose here because they have to pick a side. This EA doesn’t pick one. It trades both. Every new candle, it spreads a full ladder of Buy Stops above price and Sell Stops below price. Whichever way Gold moves, the grid is already waiting. When the total basket reaches the profit target, everything closes auto
ModernUI Library
Levi Dane Benjamin
适用于 MetaTrader 5 的 ModernUI 库 ModernUI 是一个用于 MetaTrader 5 的图表内用户界面库。它可以帮助 MQL5 开发者在 MT5 图表环境中构建更清晰的 EA 面板、仪表盘、设置窗口、表单、表格、对话框、抽屉式面板以及紧凑型交易风格界面。 它适合希望获得比零散图表对象更专业的界面层,同时仍然完全掌控自己 EA、指标或工具逻辑的开发者。 Modern UI - 用户指南   | EA 示例演示 你可以构建什么 ModernUI 并不局限于某一种面板类型。它为你提供了一个可复用的界面层,几乎可以用于任何你想在 MetaTrader 5 图表中构建的工具。 你可以用它创建简单的设置界面、紧凑型交易面板、完整仪表盘、数据视图、控制面板、账户工具、流程界面、监控界面、实用工具窗口、商业 EA 前端界面等等。 随附的演示展示了几个实用示例,但它们只是起点。如果你的 MQL5 项目需要按钮、输入框、表格、对话框、标签页、抽屉面板、图表、状态区域,或需要一种更清晰的方式在图表上展示信息,ModernUI 都可以为你提供构建模块。 主要功能 适用于 Me
WalkForwardOptimizer MT5
Stanislav Korotky
3.63 (8)
WalkForwardOptimizer library allows you to perform rolling and cluster walk-forward optimization of expert advisers (EA) in MetaTrader 5. To use the library include its header file WalkForwardOptimizer.mqh into your EA source code, add call provided functions as appropriate. Once the library is embedded into EA, you may start optimization according to the procedure described in the User guide . When it's finished, intermediate results are saved into a CSV file and some special global variables.
EX5 Signal Copier
Rajesh Kumar Nait
EX5 信号复制库 — 适用于 MT 的专业交易事件引擎 无需编写复杂的交易跟踪逻辑,即可将任何智能交易系统 (EA) 转换为强大的交易复制器、信号处理器或自动化引擎。 EX5 信号复制库是一个高性能的事件驱动系统,能够捕获 MetaTrader 5 中的所有交易活动,并将其转换为结构化信号,您可以利用这些信号构建: 交易复制器(MT5 → MT5 / MT5 → 外部) 风险管理引擎 分析仪表盘 自定义执行桥接(币安、API 等) 为什么选择此库? 实时交易检测 结构化信号队列 事件分类(开仓、平仓、修改、部分平仓) 内置复制引擎(可选) 通过自定义逻辑实现完全控制 主要特性 实时交易捕获 使用 OnTradeTransaction 即时检测每一笔交易 备份轮询系统确保不遗漏任何信号 完整的交易生命周期支持 捕获所有操作: 买入/卖出 限价/止损单 止损/止盈修改 部分平仓 持仓平仓 反向交易 成交量增加 信号队列系统 线程安全的内部队列 按顺序处理信号 即使在高负载下也不会遗漏任何事件 内置复制引擎
Native Websocket
Racheal Samson
5 (6)
An   easy to use, fast,  asynchronous   WebSocket library  for MQL5. It supports: ws://   and   wss://  (Secure "TLS" WebSocket) text   and   binary   data It handles: fragmented message  automatically (large data transfer) ping-pong   frames  automatically (keep-alive handshake) Benefits: No DLL required. No OpenSSL installation required. Up to 128 Web Socket Connections from a single program. Various Log Levels for error tracing Can be synchronized to MQL5 Virtual Hosting . Completely native t
This library will allow you to send your trades using your MT5 EA bot and its very easy to integrate on any EA which you can do yourself with the script code which is mentioned in documentation. This product allows trading operations via API For MEXC chart : Renting   Crypto Charting  for OHLC data or   Crypto Ticks with Order Book Depth  is optional - Supports MEXC API calls - Place Limit, SL Limit and Take Profit Limit Orders - Place Market, SL-Market, TP-Market orders - Modify Limit order - C
The library is dedicated to help manage your trades, calculate lot, trailing, partial close and other functions. Lot Calculation Mode 0: Fixed Lot. Mode 1: Martingale Lot (1,3,5,8,13) you can use it in different way calculate when loss=1 ,when profit=0. Mode 2: Multiplier Lot (1,2,4,8,16) you can use it in different way calculate when loss=1 ,when profit=0. Mode 3: Plus Lot (1,2,3,4,5) you can use it in different way calculate when loss=1 ,when profit=0. Mode 4: SL/Risk Lot calculate based on s
Friends, join us! Ask questions and connect with like-minded traders: MetaCOT Public Group MetaCOT Information Channel: news, CFTC reports, and signals: MetaCOT Channel Here’s to successful trading and new profitable signals for us all! Attention! Recently, certain countries have been blocking access to the cftc.gov website. As a result, users in these countries are giving the product low ratings. MetaCOT has always adhered to the highest quality standards and is in no way associated with th
This is a simplified and effective version of the library for walk forward analysis of trading experts. It collects data about the expert's trade during the optimization process in the MetaTrader tester and stores them in intermediate files in the "MQL5\Files" directory. Then it uses these files to automatically build a cluster walk forward report and rolling walk forward reports that refine it (all of them in one HTML file). Using the WalkForwardBuilder MT5 auxiliary script allows building othe
OrderBook History Library
Stanislav Korotky
3 (2)
Order Book, known also as Market Book, market depth, Level 2, - is a dynamically updated table with current volumes of orders to buy and to sell specific financial instument at price levels near Bid and Ask. MetaTrader 5 provides the means for receiving market book from your broker, but in real time only, without access to its history. The library OrderBook History Library reads market book state in the past from archive files, created by OrderBook Recorder . The library can be embedded into you
BitMEX Trading API
Romeu Bertho
5 (1)
Cryptocurrency analysis has never been easier with Crypto Charts for MetaTrader 5. Now, trading on BitMEX has never been easier with BitMEX Trading API for MetaTrader 5. BitMEX Trading API library was built to be as easy to use as possible. Just include the library into your Expert Advisor or Script, call the corresponding methods and start trading! Features Trade on BitMEX and BitMEX Testnet. Build and automate your strategies. Concern more with the trading strategy logic and less with the co
Teclado trader, é uma BIBLIOTECA que você pode chamar no OnChartEvent para abrir posição de compra/venda/zerar, os botões padrões são: V = venda C = compra Z = zerar posições a mercado S = zerar posições opostas e depois a mercado X = zerar posições opostas Além da função de teclado, é possível mostrar os estados do ExpertAdvisor usando o MagicId, com informação de: lucro mensal, semanal, diario, e posição aberta, para isto use o OnTick, ou qualquer outro evento (OnTimer / OnTrade / OnBookEven
Binance Library
Hadil Mutaqin SE
5 (1)
The library is used to develop automatic trading on Binance Spot Market from MT5 platform. Support all order types: Limit, Market, StopLimit and StopMarket Support Testnet mode Automatically display the chart on the screen Usage: 1. Open MQL5 demo account 2. Download Header   file and EA sample   https://drive.google.com/uc?export=download&id=1kjUX7Hyy02EiwTLgVi8qdaCNvNzazjln Copy Binance.mqh to folder \MQL5\Include Copy  BinanceEA-Sample.mq5 to folder \MQL5\Experts 3. Allow WebRequest from MT5
Gold plucking machine   Gold plucking machine   is an Expert Advisor designed specifically for trading gold. The operation is based on opening orders using the Fast and Slow lines indicator, thus the EA works according to the "Trend Follow" strategy, which means following the trend. Use grid strategy to place orders without stop loss operation, so please make sure the account has sufficient funds. magic number        -  is a special number that the EA assigns to its orders. Lot Multiplier     
MT4/5通用交易库(  一份代码通用4和5 ) #ifdef __MQL5__      #define KOD_TICKET ulong      #define KOD_MAGIC   long #else        #define KOD_TICKET long      #define KOD_MAGIC   int #endif class ODLIST; #import "K Trade Lib Pro 5.ex5"       //祝有个美好开始,运行首行加入    void StartGood() ;    //简单开单    long OrderOpen( int type, double volume, int magic, string symbol= "" , string comment= "" , double opprice= 0 , double sl= 0 , double tp= 0 , int expiration= 0 , bool slsetmode= false , bool tpsetmode= false );    //复杂开单
Binance Library MetaTrader 5 connects your Expert Advisors, indicators, and scripts to Binance.com and Binance.US directly from MetaTrader 5. It is a developer library for building custom Binance integrations inside MT5, not a standalone trading robot or copier. The library helps you add Binance instruments to Market Watch, read symbol specifications, load current and historical market data, check wallet balances, manage orders, and track open positions. It supports Spot, USD-M futures, and COI
1. 这是什么 MT5系统自带的优化结果非常少,有时候我们需要研究更多的结果,这个库可以让你在回测优化时可以输出更多的结果。也支持在单次回测时打印更多的策略结果。 2. 产品特色 优化的输出的结果非常多。 可以自定义CustomMax。 输出结果在Common文件夹。 根据EA名称自动命名,且同一个EA多次回测会自动更新名称,不会覆盖上一次的结果。 函数非常简单,你一眼就可以看懂。 #import "More BackTest Results.ex5" // Libraries Folder, Download from the market. //---Set CustomMax void iSetCustomMax( string mode); //---Display multiple strategy results when backtesting alone (not opt). void iOnDeinit(); //--- void iOnTesterInit(); double iOnTester(); void iOnTesterPass( string lang
T5L Library is necessary to use the EAs from TSU Investimentos, IAtrader and others. It contains all the functions framework needed to Expert Advisors working properly.  ツ - The Expert Advisors from  TSU Investimentos does not work without this library,  the T5L library can have updates during the year - At this Library you will find several funcionalities like order sends, buy and sell, trigger entry points check, candlestick analyses, supply and demmand marking and lines, and much more. 
EA Toolkit
Esteban Thevenon
EA Toolkit   is a library that allows any developer to quickly and easily program Advisor experts. It includes many functions and enumerations such as trailing stop, lot, stop loss management, market trading authorisations, price table updates, trading conditions and many more. Installation + Documentation : You will find all the information to install this library and the documentation of its functions on this GitHub : https://github.com/Venon282/Expert-Advisor-Toolkit WARNING : The installat
GetFFEvents MT5 I tester capability
Hans Alexander Nolawon Djurberg
Want to get all events like Previous/Forecast/Actual values for each news to analyze/predict it? By this simple library you can do it easily,Just import/integrate the library into your system,then get all possible values for each news   Even In Strategy Tester   . Note: Please add the address " https://www.forexfactory.com/ " of news feed at your MT5 tab > Tools > Options > Expert Advisors > Check Allow web request for listed URL. Since the WebRequest() function can't be called from indicator ba
该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上没有币安图表。 对于脚本演示:单击此处 如果您想与交易面板进行交易,您可能对此产品感兴趣 该产品是加密图表的插件 该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上没有币安图表。 对于脚本演示: 单击此处 如果您想与交易面板进行交易, 您可能对
筛选:
无评论
回复评论