Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
Rejoignez notre page de fans
Accédez à la CodeBase depuis votre terminal MetaTrader 5
Vous n'avez pas trouvé le bon code ? Commandez-le dans la section Freelance
Comment rédiger un Expert Advisor ou un indicateur

Les meilleurs codes sources MQL4 et MQL5 selon les notes des utilisateurs - 196

Soumettre votre code

I search Moving Average that can be hide and shown with button, just like in Trading View, but I cannot found it. Then I try to modify example of Moving Average code from MQL5 Metaeditor Help, and do some add for button and logic for toggleable the button to show or hide Moving Average. Just like in Trading View. For those who need this, please feel free to use or modify for your own requirement.

Detecting the start of a new bar or candle, in the OnTick() event handler of an expert advisor.

SmoothStep (generalized)

Two indicator series ('Two MA Color N Bars' and 'Square') in one code

The Predictive Moving Average was created by John Ehlers (“Rocket Science For Traders”, pg.212″).

Volume Colored Candlestick with Bollinger Bands as the Standard Deviation

The HighPass - LowPass Roofing Filter was created by John Ehlers (Cycle Analytics For Traders pg.78)

An automated trading system with a data panel in form of the OBJ_LABEL objects.

The indicator shows signals ('Arrow' objects) of the 'Moving Average' indicator crossings. The peculiarity of the indicator: if there was an intersection of 'MAs' (on bar #0), and then the intersection disappeared, the signal remains on the chart

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.

This EA started off as a job to trail equity. I then added the function of managing individual trades. Thereafter I added the facility of manually putting the price of when it can send a grid of pending order's. This EA does not have condition set in it to open trades. You have to determine that if market moves to an area you believe you would open a grid of orders if you were by your computer watching the market. No what this EA helps is you wake up in the morning you see the area you a grid to open. PUT THE PRICE FOR THE EA TO OPEN A GRID OF PENDING ORDERS. If the market reaches the area price you have set. The EA will send the grid and will manage those trades putting Stop Loss (if you set it) trailing(if you set it). Today 13 Sep 2022 the EA generates has NO ERROR when compiled

Elegant oscillator

cycle timeframes using hotkeys 'N','M' prev,next timeframe

Strategy based on the 'DeMarker' indicator, working with pending orders

Building good trading habits by seeing things in terms of percentage not in terms of money.

The Fisher Transform Indicator was created John Ehlers "Cybernetic Analysis For Stocks And Futures".

ATR based limit channels

cycles though market watch symbols, using hotkeys Comma and Period for prev/next symbol in market watch list

Strategy based on the custom indicator 'RSI_MAonRSI_Filling'. The minimum step is set between positions

Finalization of previous version. Now, when opening a 'SELL' position, we immediately close all 'BUY' positions and vice versa: when opening a 'BUY' position, we immediately close all 'SELL' positions

Checks if Metatrader5 Terminal is connected to Internet or not. The expert will Print a message for the connectivity status

SmoothStep

Open Pending order After Position Get StopLoss

Ichimoku is one of the excellent indicator which can work lonely or with other indicators. With Alerting indicator which send notification to your cell phone whenever Tenkan-sen Cross Kijun-sen you can have an opportunity to enter or exit market at right time .

This code use detect economic calendar and put pending order before released news time

ZigZag NK Sound Alerts notifies you with Sound alert, Push Notification or Popup Notification on terminal when Zigzag changes its bar.

Candle close above/below BB & Envelopes

Modify to allow direct specification of the starting point of the Parabolic SAR.

The currency strength meter is a trading tool that is used to identify trending and consolidating markets based on the percentage rate of change in price from one period to the next.

Trading strategy based on the custom indicator 'MA on Momentum'

Fir filters

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.

Il prend des positions basées sur le silverbullet ICT et le modèle 2022 avec des stops suiveurs et des partiels, il maintient également l'entrée en fonction de l'OTE, et le risque est minime. Il fonctionne dans une petite fenêtre de temps de silver bullet, en particulier la session de NY, et si aucun trade n'est trouvé, le modèle 2022 et l'OTE de Fibonacci entrent en jeu pour obtenir un trade. Mais l'entrée ne se fait qu'après confirmation de la présence de ces modèles, ce qui permet de réduire le nombre de transactions pour un drawdown minimal et un taux de gain élevé. Pour en savoir plus sur ces stratégies, vous pouvez visiter la chaîne YouTube d'Inner Circle Trader.

Very simplified code: intersection of two custom indicators 'MA Other TimeFrame Correct'. There is no Stop Loss, Take Profit or Trailing.

Expert is a joke! The position is opened at random!

This EA collects information about the spread and shows the statistics on the chart. When the EA ends its working, it prints all statistics to the Journal, which can be useful for the Strategy Tester.

This EA collects information about the spreads and Shows the number of spreads in the specified range based on the ticks that occur each year.

This simple quick & dirty script code will output a CSV file of all the Signals' properties as reported by the MQL5 Trade Signals functionality.

The Restoring Pull Indicator was created by John Ehlers (Stocks & Commodities V.11:10 (395-400))

Add Popup or Push Alert notification on manually placed horizontal lines, The lines are deleted and reset itself as soon as price touches these lines

1...189190191192193194195196197198