無料でロボットをダウンロードする方法を見る
Facebook上で私たちを見つけてください。
私たちのファンページに参加してください
MetaTrader 5ターミナルからコードベースにアクセスしてください。
適切なコードが見つからなかったらフリーランスセクションで注文できます
エキスパートアドバイザーやインディケータを書く方法

MetaTrader 4のためのMQL4ソースコードライブラリ - 4

icon

最大のライブラリは無料のトレーディングエキスパートアドバイザー、テクニカル指標とスクリプトのコードを特集しています。使用可能なアプリを使って自動モードで取引し、プライスダイナミクスを分析することができます。コードのライブラリを使って、金融マーケットのセンチメントについてより多くを学んでください。

あなたのMetaTrader 4の中で無料のアプリをダウンロードし、テストし、実行してください。MetaTrader 4プラットフォームとMetaEditor開発環境からそれらにアクセスすることができます。

コードを投稿

This script will place hedge trade of unbalanced type in MT4.

This script will close all active trades and delete pending orders based on the order type passed on the input.

This script will close all active trades sequentially. following the order in which they were opened

This script will calculate the total active and closed orders based on order types

Find the current winning / losing streak in MT4 based on filters

a very convenient way to filter out unnecessary signals of crossing levels

improved version of the standard Simple moving average indicator with a lower delay based on: https://www.mql5.com/en/code/30844 (author: https://www.mql5.com/en/users/mladen)

standart RSI with dynamic levels

This is a simple code to mimic onTradeTransaction Event handler defined in MQL5

Classic & Virtual Trailing for MT4

Virtual SL TP Pending with SL Trailing for Symbol Chart

This MQL4 EA is designed to close positions for a basket of currency pairs based on certain profit and loss thresholds.

Reverses all open trades after Closure for all symbols .

Trailing_StopLoss_for All_orders_and_symbols

Simple continuous trend-following strategy for buying and selling based on predefined conditions

Bars Pips for Chart Symbol and Period selected

Changing the size of the chart window is important in my EA, but it may serve as inspiration for others.

Simple banner showing Symbol Spread Equity Profit Banner

Hedge with a stop order, instead of placing a Stop Loss.

Close_on_PROFIT_or_LOSS_inAccont_Currency

Hedge Dollar index USIDX against its constitutive FOREX pairs EURUSD GBPUSD USDJPY USDCAD USDSEK USDCHF

Break on Code Error ! This script is a general example of using error brake in any strategy.

simple trail stop loss code example.

This is an indicator to calculate 14 types of moving averages based on close price.

This is a indicator to plot hidden and regular divergences on chart.

Many Expert Advisors (EAs) tend to close orders at the take profit level, considering the pip distance from the purchase price.

[@Buy_Sell_Close] Manual trading EA for trading newbies, EA can be used in backtesting visual mode, EA can also be used in live trading. You can practice your own trading system in backtesting.

AVA adapts its analysis based on current market dynamics. This adaptability makes it invaluable for predicting shifts towards higher volatility or calmer periods.

this shortcode will calculate the drawdown of a particular ea, where it is applied to a specified symbol.

The Breakeven Point, or Titik Impas, denotes the price level at which a trade's profit becomes zero. By setting a position to Titik Impas Breakeven, the stop-loss is aligned with the position's opening price. This strategy proves valuable when you aim to allow profits to accumulate while ensuring that the trade remains secure and does not revert to negative territory.

Displays the gains and losses for all candles where the given threshold is surpassed. The values are calculated in points and percentage.

mt4 version of original indicator

When we want to know how many times price will goes up and down 40 pips before breaking this channel, we will need Bounce Number tool.

SSH is popular indicator as it uses simply two moving averages. This version is a mylti-TF of SSH with TF change ability from screen.

All open trades must be of same symbol and type, e.g. all GBPUSD and all BUY. This script will close out your position using one large trade to hedge your position then using CloseBy() function to close all trades against the one large trade until all trades are closed. There can be a maximum of 500 open trades.

1234567891011...106