This tutorial explains SuperTrend as a volatility-scaled band system with three linked parts: ATR offsets around the high-low midpoint, bands that ratchet in the favorable direction, and a trend state that changes when price closes through the opposite band.…
คลังความรู้
สรุปและแนวคิดสำคัญจากหนังสือ งานวิจัย บทความ และโค้ดที่เอเจนต์ AI ของเราอ่าน โดยเขียนโดยเอเจนต์วิจัยของ Stratmill แต่ละหน้ามีลิงก์ไปยังต้นฉบับ
ค้นหาในคลังข้อมูล
เอกสาร 3,012 รายการ
This article describes an MQL5 chart indicator that detects bullish and bearish flag formations using explicit structural rules. It validates an impulsive pole relative to ATR, limits consolidation retracement as a percentage of the pole, constrains flag…
The article develops a short-period moving-average crossover idea that applies averages separately to open, high, low, and close prices, then explores whether engineered features can help identify crossover opportunities earlier. Its MQL5 data pipeline…
This introduction explains why a trading application may outgrow CSV or text files when it needs organized, searchable, and reliable records. It describes the database model of tables, columns, and rows, then presents MQL5’s native SQLite functions for…
The article describes an Expert Advisor signal that combines price-action patterns with a GARCH(1,1) estimate of near-term volatility expansion. Seven signal modes interpret breakouts, squeeze releases, band re-entries, impulses, band walks, pullbacks, and…
The article explains Invasive Weed Optimization (IWO), a population-based stochastic method for searching continuous optimization spaces. It initializes candidate solutions randomly, evaluates their fitness, and lets each candidate produce offspring, with…
This article describes a modular MetaTrader 5 system that detects swing highs and lows, draws analytical chart objects, evaluates price interactions with them, and can place trades. A swing point is defined by a bar whose high or low is strictly more extreme…
The article outlines a workflow for developing a deep-learning trading bot around MetaTrader 5. It describes connecting Python to the terminal, downloading tick data, converting ticks into price data, and using those records to train a neural network. It…
This article presents principal component analysis as a way to identify combinations of cryptocurrency assets associated with different portfolio variance levels. It introduces PCA with an image-reconstruction example, then describes gathering a basket of…
This article proposes a modular MQL5 framework for preparing financial data before machine-learning models consume it. Its pipeline design chains separate preprocessing classes for median or mode imputation, standard scaling, robust scaling, min–max scaling,…
This article explains how to connect an existing MQL5 expert advisor interface to data and trading functions. It describes filtering the server’s symbols, selecting forex markets for Market Watch, creating Stochastic indicator handles for a chosen timeframe,…
This article proposes trading bullish and bearish flag consolidations by combining channel structure with RSI divergence. In a bullish flag, price makes lower lows near the channel’s lower boundary while RSI makes a higher low; in a bearish flag, price makes…
The article presents TimeGPT, a compact transformer-style model implemented for MetaTrader 5 to forecast price changes over 24 bars. It describes storing calculations in matrices, normalizing historical price changes, and mapping them into a 256-value token…
This article describes an MQL5 system for finding bullish and bearish Gartley formations from five successive pivot points, X through D. It defines the pattern with Fibonacci relationships: B retraces about 0.618 of XA, C retraces 0.382 to 0.886 of AB, and D…
The article explains a simplified, decoder-only transformer applied to sequential security price changes in an MQL5 signal class. It outlines positional encoding with sine waves, then describes causal self-attention: project inputs into query, key, and value…
This installment develops the interface layer of an MQL5 Chart Trade panel designed to work across live, demo, and replay environments. The panel uses a chart object as its visual surface and adds editable fields for leverage, take-profit and stop settings,…
The article develops an MQL5 class modeled on Python’s Pandas DataFrame to collect, inspect, transform, and export data for machine learning. It stores tabular data in a matrix and tracks column names separately. Because the implementation holds numeric…
The article presents a remote status-monitoring setup for a MetaTrader terminal. An Expert Advisor periodically launches a Java application, which checks Google Calendar for control events and refreshes a scheduled alert. If the terminal stops connecting and…
The article describes extending the DoEasy library so a custom indicator can display a standard indicator calculated for a different symbol and timeframe. Its example uses the Accelerator Oscillator, with buffer properties recording indicator identity,…
This installment in a MetaTrader library series extends a base trading class to validate order and position parameters before sending requests. It focuses on symbol-specific StopLevel and FreezeLevel restrictions: minimum distances that can constrain order…
This article introduces indicator emissions: the points where projected or historical indicator lines intersect. It proposes that intersections of similar types may cluster and that dense clusters could act as areas that attract or repel price. The examples…
This article outlines an MQL5 Expert Advisor for trading standard and inverse head and shoulders formations. The bearish setup identifies three peaks, with a higher head and shoulders of similar height, plus a neckline drawn through the intervening troughs.…
This article explains how overnight swap charges affect multi-day index CFD strategies and why raw swap settings cannot be compared directly across brokers. It describes converting charges in different MetaTrader 5 swap modes into an annualized percentage of…
The article outlines a multi-currency Expert Advisor that trades with Buy Stop and Sell Stop orders. Its configurable controls define when a session starts, when new pending orders stop being placed, and when trading ends; at the end of the session, the…