Guarda come scaricare robot di trading gratuitamente
Ci trovi su Facebook!
Unisciti alla nostra fan page
Accedi al CodeBase dal tuo terminale MetaTrader 5
Non hai trovato il codice che fa per te? Ordinane uno dalla sezione Freelance
Come scrivere un Expert Advisor o un indicatore

Libreria di Codici Sorgente MQL4 e MQL5

icon

Vuoi imparare il linguaggio di programmazione MQL5 o MQL4, ma non sai da dove cominciare? Qui sono disponibili vari programmi per il tuo terminale MetaTrader. Scarica e studia questi esempi di codici pubblicati e sviluppa per conto tuo degli indicatori e degli Expert Advisor. Le tue applicazioni pubblicate nella più grande libreria di codici MQL5 e MQL4 saranno disponibili in ogni terminale MetaTrader e nel MetaEditor.

I tuoi esempi di codice in MQL4 e MQL5 saranno distribuiti in tutto il mondo, permettendoti di entrare in contatto con migliaia di trader!

Invia il tuo codice

Raymond Cloudy Day For EA, a revolutionary trading tool created by Raymond and expertly developed for the MT5 platform. This innovative indicator integrates a cutting-edge calculation method with advanced algorithms, surpassing traditional Pivot Points to enhance trading strategies with unparalleled precision.

main point is changing of MA curve to horizontal line and DPO curve shall represent to distance from close price to zero level or MA curve

This Indicator creates automatically a Risk/Reward Box on you all opened chart base on High, Low price with the old candles. You can use it easily to drag and change size and price to your desire wanted.

Indicator displays the value of defined stop loss and or take profit in the deposit currency. Note: It calculates an estimated value based on a simple calculation and does not take into account brokerage commissions.

This indicator is designed to draw a Fibonacci retracement, using as a basis the ZigZag indicator.

Beginner tutorial on CCI to learn to code in MQL5

Linear Regression Value indicator with an option that allows it to be applied to another indicator

Bollinger Bands with controllable outer band smoothing (post smoothing)

Bollinger Bands with controllable outer band smoothing (pre smoothing)

This code does not trace the iatr() because the iatr() or this code is a more modern version. This code uses original smoothing, a kind of SMA and not wilder smoothing. The analysis of the two smoothings can suggest opportunities elsewhere

Linear regression line with an option to be applied to another indicators

Linear Regression Line

Linear Regression Slope

Linear Regression Value indicator

RSI adaptive indicator based on tick calculations

How to use Metaquotes native smoothing functions in MovingAverages.mqh SimpleMAOnBuffer(), ExponentialMAOnBuffer(), SmoothedMAOnBuffer(), and 2 LinearWeightedMAOnBuffer()

Root Mean Square

This EA is a demonstration of how you can implement your own Hedging strategy with the help of the include file.

Capture widescreen screenshots by pressing the 's' hotkey on the keyboard

This indicator shows you how to use native functions SimpleMA(), ExponentialMA(), SmoothedMA(), LinearWeightedMA which are in the MovingAverages.mqh library in the includes directory

Moving averages are useless. In fact, some argue that the best way to lose money for a beginner are MA-Price crossover strategies. But is it possible to make it work?

This is a lesson on buying or selling with pending orders stop

This is a lesson on trading using price action combined with volume.

Trailing stop tutorial using ATR indicator

This is a lesson on how to: 1. calculate the lot size in each order corresponding to the percentage of balance loss. 2. Trailling and count position buy and sell. The condition buy or sell base on Price action and moving average filter

It will delete all objects on the chart when the compiled executable is dragged onto the chart

Script For Trap News High Impact

Basic library to create Volume Profiles on chart.

This is an update of the "Simple Yet Effective Breakout Strategy". In this code, I have added some helper functions for prop firm challenges.

This is a first for MetaTrader 5. Now you can click on the chart to create price alerts.

This is a tutorial on price action trading combined with a moving average filter

This is a guide to trading using the price action method

This is a tutorial on how to confirm double bottom & RSI patterns

This is a lesson on how to create a Bullish - Bearllish reversal trading method based on the Japanese candlestick pattern. Now we will refer to detail introduct about method:

Sample code to count consecutive no. of bull or bear bars.

This EA will scan all the closed trades and then print the nth trade from the end

This EA will scan all the open trades and then print the nth trade from the end

MQL5 version of geometric moving average.

Standard Bollinger Bands indicator with averaging features added

A simple indicator which may help you in manual backtest by just moving a vertical line to show hide bars.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184