Questa è la più grande libreria di codici sorgente gratuiti per i programmi della piattaforma MetaTrader 5. Qui puoi trovare Expert Advisors, indicatori tecnici, script e librerie pronti all'uso. Sfrutta la libreria di codici per imparare il linguaggio MQL5 e sviluppa le tue applicazioni di trading automatico partendo dai codici disponibili.
I codici possono essere liberamente scaricati, testati e lanciati in MetaTrader 5. La libreria è anche disponibile direttamente dalla piattaforma MetaTrader 5 e dall'ambiente di sviluppo MetaEditor.
Consenti l'uso dei cookie per accedere al sito MQL5.com.
Abilita le impostazioni necessarie nel browser, altrimenti non sarà possibile accedere.
Hai effettuato l'accesso. L'autenticazione a due fattori è stata disattivata. Configurala di nuovo e scansiona un nuovo codice QR, oppure continua con l'autenticazione a due fattori disattivata.
Attiva l'autenticazione a due fattori ContinuaThe script (not an Expert Advisor) sets and moves the Stop Loss for all positions on the current symbol to the specified price
Two 'Main' lines from two iStochastic (Stochastic Oscillator, STO) indicators with filled areas between the lines. Line crossing notifications (Sound, Alert, mail, push)
Two RSI (Relative Strength Index, RSI) lines - 'Fast' and 'Slow'. Filling areas from the window borders to these lines
Shows the optimal position size through a comment from a symbol chart based on a risk percentage on daily ATR, you can use either balance or equity.
Development of the first version. Added parameters 'Maximum number of positions' and 'Minimum step of positions'
Assistant - works on the current symbol, has the 'Trailing activate if profit is >=' parameter in the trailing parameters. Sets the initial Stop Loss and Take Profit. Closes all positions when target profit is reached
Assistant - works on the current symbol, has the 'Trailing activate if profit is >=' parameter in the trailing parameters
Советник-утилита. Показывает суммарную прибыль за несколько периодов (сумму и в %), количество сделок за несколько периодов. Расчёт по заданному символу и magic number
Very simple indicator to plot the values of the spread[] data as reported by the OnCalculate event handler.
The indicator shows the percentage of the 'Close' price above and below the 'iMA' indicator
The color indicator shows in a separate window the moment if the intersection of two iMA (MOving Average, MA) was on the current bar
Have you ever asked yourself why it is not possible to customize fractals more? ... now it is.
The ZigZagExtremaOnArray is an mqh include file which contains the calculation function of MetaQuotes' Examples ZigZag, BUT you can use it on any buffer that contains curves or histograms, similarly to the MovingAverages.mqh from include. The idea was to get highs and lows of an indicator curve quickly with the help of an "onBuffer" function.
Detecting the start of a new bar or candle, in the OnTick() event handler of an expert advisor.
This simple quick & dirty script code will output a CSV file of all the Signals' properties as reported by the MQL5 Trade Signals functionality.
One of the strategies for the 'DeMarker' indicator is a permanent set of positions