Ballast Trade Safety MT4

The order handling behind every Ballast tool, as a library for your own Expert Advisors. One call opens a trade sized to a percentage of the account, refuses to send it without a stop, checks every broker limit first and retries requotes, so your EA never sends an order the broker or the Market validator rejects.

It is not a trading strategy. It is the part every EA needs and most get wrong: how many lots, is this order valid, what if the broker says no.

  • Lot size from risk that does not trust the broker's tick value alone. On CFDs priced in another currency the tick value can be far off (seen: Gold about 10% high, UK 100 16% low, Japan 225 175 times high). The library uses contract size times exchange rate, and the tick value only as a last resort. Lots are always rounded down to the volume step.
  • Pre-trade checks with a reason in plain words: connection, Algo Trading, account and symbol permissions, trading session, volume (min, max, step), stop and target distance (stops level and freeze level), free margin, symbol volume limit.
  • Orders: market orders need a stop loss (an order without one is refused), prices are rounded to the tick size, the filling mode is chosen for the symbol, and requotes and price changes are retried up to 3 times at the new price. Modify stops, close all or part of a position.
  • Account protection: money lost if every stop is hit now (and how many positions have no stop), profit closed today, the balance when the day began, the room left before a daily loss limit and before a maximum loss limit, the way prop firms count them.

Example

#include <BallastTradeSafety.mqh>

void OnTick()
  {
   double sl = Bid - 300 * _Point;
   string why;
   int ticket = BT_OpenByRisk(_Symbol, true, sl, 0, 1.0, 123, "my EA", why);   // buy, risk 1% to the stop
   if(ticket < 0)
      Print("not opened: ", why);   // e.g. "not enough free margin", "market closed"
  }

Tested

  • Six months EURUSD H1 (every tick) through the import: 369 trades sized to 0.5% risk, break-even moves and partial closes, 9 invalid orders refused with the right reason, 0 requests rejected by the broker, lot size equal to the tick value calculation (0.0000%), worst stopped loss 1.007x the planned risk.

Notes

  • The Market installs the library in MQL4\Libraries\Market. The import line must match the file name there exactly (two backslashes in the path).
  • Risk is the move from the entry to the stop. Swap, commission and slippage are not included.
  • MT4 gives the rest of a partly closed trade a new ticket: BT_Close returns it (0 = all closed, -1 = failed).
  • Days for the daily functions begin at the server hour you pass (0 = midnight server time).

All functions (copy this into MQL4\Include\BallastTradeSafety.mqh)

//+------------------------------------------------------------------+
//| BallastTradeSafety.mqh - import block for Ballast Trade Safety MT4.|
//| Save this file in MQL4\Include and add to your EA:              |
//|   #include <BallastTradeSafety.mqh>                              |
//| The Market installs the library in MQL4\Libraries\Market.        |
//+------------------------------------------------------------------+
#import "Market\\Ballast Trade Safety MT4.ex4"
string BT_Version();
//--- money and sizing
double BT_LossPerLot(string symbol, double priceDistance);
double BT_NormalizeLots(string symbol, double lots);
double BT_NormalizePrice(string symbol, double price);
double BT_LotsForRisk(string symbol, double entry, double stop, double riskMoney);
double BT_LotsForRiskPercent(string symbol, double entry, double stop, double riskPercent);
//--- checks
bool   BT_CanTrade(string symbol, bool buy, string &reason);
double BT_MinStopDistance(string symbol);
bool   BT_StopsValid(string symbol, bool buy, double sl, double tp);
bool   BT_CheckOrder(string symbol, bool buy, double lots, double sl, double tp, string &reason);
//--- orders (a stop loss is required; requotes are retried). Tickets: -1 = failed
int    BT_Open(string symbol, bool buy, double lots, double sl, double tp, int magic, string comment, string &reason);
int    BT_Buy(string symbol, double lots, double sl, double tp, int magic, string comment, string &reason);
int    BT_Sell(string symbol, double lots, double sl, double tp, int magic, string comment, string &reason);
int    BT_OpenByRisk(string symbol, bool buy, double sl, double tp, double riskPercent, int magic, string comment, string &reason);
bool   BT_SetStops(int ticket, double sl, double tp, string &reason);
int    BT_Close(int ticket, double lots, string &reason);   // returns the ticket of the part still open, 0 = all closed, -1 = failed
//--- account protection
double BT_RiskToStops(string symbol, int magic, int &noStop);
double BT_TodayClosedProfit(int dayStartHour);
double BT_DayStartBalance(int dayStartHour);
double BT_DailyLossRoom(double limitPercent, double referenceBalance, int dayStartHour);
double BT_MaxLossRoom(double limitPercent, double baseBalance);
#import
Prodotti consigliati
Important: This product is a Library for developers . It is suitable only for users who can write/modify MQL4 code and integrate a compiled library into their own EA/Script. It is not a “drag & run” notifier. Telegram SDK helps you send Telegram messages and photos from MetaTrader 4 in a simple and reliable way. Use it when you want Telegram notifications inside your own automation tools. If you need the MetaTrader 5 version, it is available separately in the Market:   Telegram SDK M T5 . Main f
One-Click Close All – Instantly Exit All Trades in MT4 Take control of your trades with One-Click Close All , a powerful MT4 script designed for fast market exits. With a simple drag-and-drop action, you can close all open orders instantly—no more manually closing trades one by one. Key Features: Instant Order Closure – Exit all open trades with a single click, perfect for volatile markets. Drag & Drop Simplicity – No complex steps—just drop the script onto your chart to execute. Essen
FREE
Introducing "TG Risk Service Manager" — your comprehensive toolkit for swift and precise risk management and lot size calculations in the dynamic world of trading. Designed to streamline development processes and enhance trading strategies, this indispensable library equips developers with essential tools for optimizing risk assessment and trade profitability. Metatrader5 Version   | All Products | Contact Key Features: Efficient Lot Size Calculation : Harness the power of precise lot size comp
Tectonic Structure Engine
Syarief Azman Bin Rosli
Libreria MQL4 che mappa la struttura di mercato per il vostro EA, indicatore o script: swing confermati con etichette HH, HL, LH, LL, EQH ed EQL, rottura di struttura (BOS), cambio di carattere (CHoCH), sweep di liquidità, order block e fair value gap con monitoraggio del riempimento, e la posizione del prezzo nel range operativo. Legge solo barre chiuse e non ridisegna mai. Non apre operazioni, non disegna e non invia avvisi. Ricevete il file compilato Tectonic_Structure_Engine.ex4; questa pagi
Close All Charts – Instantly Close All Open Charts in MT4 Declutter your workspace and improve efficiency with Close All Charts , a simple yet powerful script that instantly closes all open charts in MT4 with a single click. No more manually closing charts one by one—this tool helps you manage your trading environment effortlessly. Key Features: One-Click Chart Closure – Instantly close all open charts in MT4 with a single action. Streamlined Workspace – Remove unnecessary charts for a c
FREE
MT4/5通用交易库(  一份代码通用4和5 ) #import "K Trade Lib.ex4"    //简单开单    long OrderOpen( int type, double volume, int magic, string symbol= "" , string comment= "" , double opprice= 0 , double sl= 0 , double tp= 0 , int expiration= 0 , bool slsetmode= false , bool tpsetmode= false );    //复杂开单    void SetMagic( int magic, int magic_plus= 0 ); void SetLotsAddMode(int mode=0,double lotsadd=0);    long OrderOpenAdvance( int mode, int type, double volume, int step, int magic, string symbol= "" , string comme
FREE
Equity Pulse MT4 Real-time equity, drawdown, and portfolio performance tracking in one clean trading panel. Equity Pulse MT4 is a practical account-monitoring indicator for MetaTrader 4. It helps traders see exactly where they stand across today, yesterday, recent days, the current week, month, and year. Instead of checking account history manually or relying only on the terminal’s floating profit number, Equity Pulse gives you a clear performance snapshot directly on the chart. It is designed
One-Click Open 28 – Instantly Load 28 Forex Charts in MT4 Boost your trading efficiency with One-Click Open 28 , a powerful MT4 script that instantly opens 28 major forex pair charts with just one click. No more wasting time setting up charts manually—this tool helps you focus on market analysis and trade execution. Key Features: Instant Chart Setup – Open 28 forex pair charts in one click, eliminating manual setup. Time-Saving Automation – Spend less time opening charts and more time an
FREE
Trend broker killer
Mansour Rahkhofteh
Available with multi time frame choice to see quickly the TREND! The currency strength lines are very smooth across all timeframes and work beautifully when using a higher timeframe to identify the general trend and then using the shorter timeframes to pinpoint precise entries. You can choose any time frame as you wish. Every time frame is optimized by its own. Built on new underlying algorithms it makes it even easier to identify and confirm potential trades. This is because it graphically show
WalkForwardLight
Stanislav Korotky
5 (1)
This is a simplified and effective version of the library for walk forward analysis of trading experts. It collects data about the expert's trade during the optimization process in the MetaTrader tester and stores them in intermediate files in the "tester/Files" directory. Then these files can be used by the special WalkForwardBuilder script to build a cluster walk forward report and rolling walk forward reports for refining it. The intermediate files should be manually placed to the "MQL4/Files
DoIt EA Monitor MT4
Diego Arribas Lopez
DoIt EA Monitor - Multi EA Performance Dashboard for MT5 Your account can be profitable while one EA quietly drags down the portfolio. MetaTrader history shows the combined result, but it does not clearly show which strategy deserves more capital and which one needs attention. DoIt EA Monitor runs on one chart and separates live and historical performance by magic number, EA and symbol. It is completely read-only. It never opens, closes or modifies a trade. KNOW WHICH EA IS EARNING ITS PLACE Aut
FREE
The   UZFX - Close All Open Buy & Sell Orders Instantly   script for MetaTrader 4 (MT4) is a powerful tool that enables traders to   immediately close all active market positions   with a single execution. This script is ideal for emergency trade management, helping traders quickly exit the market during high volatility, news events, or strategy adjustments. If you are Looking Best indicators in Mql5 Market. Check these out! SSS Scalping Smart Signals MT5 Indicator Scalping Winning Signals Pr
FREE
OrderHelper MT4
Md Atikur Rahman
OrderHelper script is super easy and trader friendly to use. It would boost your trading experience. Because it is designed to open one to multiple orders quickly with just one click. Besides using the OrderHelper script, traders can define various parameters for open orders such as the symbol, order type, lot size, stoploss, takeprofit and more. Basically, with this script traders can manage their open orders more efficiently and save their trading time. OrderHelper manages: • Open the number
Lo script UZFX - Delete Only Pending Orders per MetaTrader 4 (MT4) è uno strumento semplice ma efficace che rimuove automaticamente tutti gli ordini in sospeso (Buy Limit, Sell Limit, Buy Stop, Sell Stop) dal conto di trading. Questo script è ideale per i trader che desiderano cancellare istantaneamente gli ordini in sospeso senza influenzare le posizioni attive sul mercato. Scopri tutti gli altri indicatori ed EA per MT4/MT5 >> QUI Caratteristiche: Cancella tutti gli ordini pendenti (Buy Lim
FREE
NIGHTCrusher Lite FREE
Christian Opperskalski
4.5 (2)
NIGHTCRUSHER is a fully automated expert advisor, designed for scalping on quite market situation. The Lite - Version is limited to minimal Lot per Pair and dont has lot mulitplier and dynamic function you can also run different strategies like swing trading or grid different Trade Entry Signals different Exit Strategies included (MA Cut / Signal Change / Trailing TP) clever Risk & Money management - Balance based - Longrun trades tracking You can also use a Grid function or Lot multipier, if ne
FREE
Change All Timeframe – Instantly Sync Timeframes Across All MT4 Charts Effortlessly change the timeframe of all open charts in MT4 with a single action! The Change All Timeframes script saves time by ensuring all charts update simultaneously, streamlining multi-timeframe analysis. One-Click Timeframe Sync – Instantly change the timeframe on all open charts at once. Save Time & Effort – No need to adjust each chart manually—boost your trading efficiency. Seamless Multi-Timeframe Analysis –
FREE
Update History 28 – Instantly Refresh Historical Data for 28 Major Currency Pairs Keep your market analysis accurate and up to date with Update History 28 , a powerful script that refreshes historical data for 28 major forex pairs in MT4 with just one click. No more manually updating charts—this tool ensures you always have the latest price history for precise trading decisions. Key Features: One-Click Data Refresh – Instantly update historical data for 28 major forex pairs. Enhanced Mar
FREE
Smetti di indovinare. Inizia a fare trading con un vantaggio statistico. Gli indici azionari non si negoziano come il forex. Hanno sessioni definite, gap notturni e seguono pattern statistici prevedibili. Questo indicatore ti fornisce i dati di probabilità di cui hai bisogno per fare trading su indici come DAX, S&P 500 e Dow Jones con fiducia. Cosa lo rende diverso La maggior parte degli indicatori ti mostra cosa è successo. Questo ti mostra cosa probabilmente succederà dopo. Ogni giorno di trad
AutoClose Expert
Josue Fernando Servellon Fuentes
MQT AutoClose Expert closes your orders automatically once they reach the profit target you set — in real pips (with a separate target for gold) or in account money. Open your trades as you always do; the EA watches every position on every symbol and locks the profit in for you. It never opens trades. How it works (logic summary): Every tick and every 500 ms it scans all open market orders. Pending orders are never touched. Pips mode: profit distance is computed from prices — Bid for buys, Ask f
NewsReady
Joel Protusada
NewsReady is a semi-automated Expert Advisor that uses a smart straddle methods It needs to be set in charts 2 to 10 minutes before Economic Data release with a red-flag impact on currencies related to the news. Then it run pending orders in specified number of minutes indicated in the time-period parameter. After the specified time, it will stop trading and will remove all pending orders. Important You can not backtest this tool because it is semi-automated and can only be set and run a few min
Библиотека для расчета формул. Формула задается строкой. Можно задавать формулу в строковой переменой в окне свойств. Формула может включать арифметические действия "+-/*" и все функции кроме MathRand(): abs(), arccos(), arcsin(), arctan(), sin(), cos(), tan(), exp(), log(), mod(), max(), min(), pow(), ceil(), sqrt(), log10(), floor(), round(). Кроме этого в формулу могут входить числа (если число дробные, то разделитель точка) и аргументы. Аргумент начинается с буквы "а" (латинская) и номера, н
FREE
IVolX 2 DPOC
Denis Chebatarev
Vol 2 DPOC volume vol 2 DOC-dynamic horizontal volume indicator for any time periods Main settings of the indicator: Volume Source -selecting data for volumes (tick or real) DPOCOn -enabling / disabling the indicator DPOCFrom -calculation start date DPOCTo -settlement end date The indicator allows you to manually select areas on the chart to analyze changes in the maximum volume over time. You can do this by using vertical lines and moving them along the chart. Or by setting specific dates in
This program serves as an effective tool for sending messages through a Telegram bot using the MetaTrader platform. It enables you to send your trading recommendations related to the orders you open on the trading platform directly to your Telegram channel or group. These messages may include details about open trades and can be accompanied by illustrative images of the orders. Alternatively, they can be configured to be without images based on your preferences. This means that if you are the ow
Algorithm Barbossa
Alexander Pryakha
New version 1.22. Partagas    The AG algorithm is an element of a comprehensive trading system for trading a basket of currencies across 8 major currencies across all 28 currency pairs. The algorithm serves as a signal block for determining entry/exit from a position. To collect initial values, AG uses data from the CSS Currency Slope Strength cluster indicator. This indicator was not chosen by chance - it performed very well during testing of the algorithm. A. AG determines the width of the e
FREE
Confluence Signal Alerts MT4 is a free indicator for MetaTrader 4. Up to eight checks vote BUY or SELL on the chart you attach it to: EMA, ADX, MACD, RSI, SuperTrend, UT Bot, Half Trend and Range Filter. A small card shows every vote and the verdict: BUY, SELL or WAIT. An arrow marks the closed bar where the verdict turns BUY or SELL, so you can see on the chart where the checks lined up. It places no orders and does not repaint. It works on closed bars only: once a bar has closed, its votes, ve
FREE
AI Trade Analyzer  is an intelligent market analysis tool implemented in the indicator format. The program visualizes signals on the chart and helps the trader evaluate the market situation based on technical indicators and news background. All signals and levels are for guidance only and should be validated with your own trading strategy and risk management. Supported Models: Compatible with the latest ChatGPT versions — GPT-5.1 , GPT-4o , GPT-4o-mini , O1 , and GPT-3.5-turbo . GPT-5.1 provide
Universal MarketInfo Service Library for MT4 & MT5 Bring simplicity and power to your trading projects with the Universal MarketInfo Service — a professional library that exposes a unified API for both MetaTrader 4 and MetaTrader 5. No more rewriting code for each platform. With this library, you can: Access symbol data, OHLC prices, spreads, and volatility with a single call. Query account balance, free margin, stop levels, and lot constraints. Work with currency precision, pip values, and n
FREE
Trading Notes
Suvashish Halder
5 (3)
Trading Notes is an innovative tool designed for traders to streamline their decision-making process by allowing them to write and display important reminders or short details directly over their trading charts. This essential feature ensures that traders have quick access to their personalized checklist before opening any positions, enhancing their trading efficiency and accuracy. MT5 Version -  https://www.mql5.com/en/market/product/120617 Join To Learn Market Depth -   https://www.mql5.com
FREE
Note : The slow loading of the indicator issue has been addressed . This new version loads fast and does not slow the platform. Version 1.3 : We have updated the indicator to include an historical bar scanning option . So instead of scanning all bars in the history (which can make the indicator slow sometimes ) , you can select the maximum number of bars it can scan which can increase the performance and make the indicator faster. This indicator scans the 1-3 Trendline pattern . The indicator i
Every trader knows they should keep a journal. Almost nobody does -- because the journal lives in a spreadsheet somewhere else, and after a losing trade the last thing you want is to open another program and fill in forms. Trade Journal Box fixes the real problem: it puts the journal ON the chart, where the trade just happened, one click away -- and it is built natively for MetaTrader 4. It is a non-trading utility indicator that watches your positions and journals them for you: Automatic chart
Gli utenti di questo prodotto hanno anche acquistato
Display all text information you need on your live charts. First, import the library: #import "osd.ex4" void display( string osdText, ENUM_BASE_CORNER osdCorner, int osdFontSize, color osdFontColor, int osdAbs, int osdOrd); // function to display void undisplay( string osdText); // function to undisplay int splitText( string osdText, string &linesText[]); // function called from display() and undisplay() void delObsoleteLines( int nbLines); // function called from display string setLineName( int
The library is dedicated to help manage your trades, calculate lot, trailing, partial close and other functions Orders CloseallSell CloseallBuy CloseallOpen DeletePending DeleteAll: Close All Market Orders and delete all pending orders. CheckOpenBuyOrders: return the count of buy orders. CheckOpenSellOrders: return the count of sell orders. CheckOpenOrders: return the count of market orders. ModifyOrder DeleteOrder CloseOrder OpenOrder Lot Calculation Mode 0: Fixed Lot. Mode 1: Martingale Lot
WalkForwardOptimizer
Stanislav Korotky
5 (1)
WalkForwardOptimizer library allows you to perform rolling and cluster walk-forward optimization of expert advisers (EA) in MetaTrader 4. To use the library include its header file WalkForwardOptimizer.mqh into your EA source code, add call provided functions as appropriate. Once the library is embedded into EA, you may start optimization according to the procedure described in the User guide . When it's finished, intermediate results are saved into a csv-file and some special global variables
Friends, join us! Ask questions and connect with like-minded traders: MetaCOT Public Group MetaCOT Information Channel: news, CFTC reports, and signals: MetaCOT Channel Here’s to successful trading and new profitable signals for us all! Attention! Recently, certain countries have been blocking access to the cftc.gov website. As a result, users in these countries are giving the product low ratings. MetaCOT has always adhered to the highest quality standards and is in no way associated with th
NewsFilterForEA
M YUSUF EFFENDY
Library for an Expert Advisor. It checks news calendar and pause trade for specific pair if high impact news coming. News Filter for an Exert Advisor. Easily apply to your EA, just needs simple scripts to call it from your EA. Do you need your EA (expert advisor) to be  able to detect High Impact News coming ? Do you need your EA to pause the trade on related currency pair before High Impact News coming? This News Filter library is the solution for you. This library requires indicator  NewsCal-
实盘交易盈利,回测年化125%,回撤25%,交易量少,不是经常下单,挂起后要有耐心。没有多牛的技术,只是一套简单的交易策略,贵在长期坚持,长期执行。我们有时候就是把自己高复杂,想想我们交易的历程,你就会发现,小白好赚钱,当你懂得越多的时候也是亏损的开始,总是今天用这个技术,明天用那个指标,到头来发现,没有一个指标适合你。其实每个技术指标都是概率性的,没有100%的胜率。很多技术指标你要融合一套交易策略,资金仓位控制,止损止盈比例,一套策略下来下一步你做的就是执行力了,必须要坚决执行你的交易策略,如果不能坚持的话最终还是在亏损。说实话不是每个人都有好的心态和执行力,所以我们做出来这款ea自己来用,发现时间久了扭亏为盈了,那现在就拿出来给大家分享,让更多的人来达到自己的盈利目标。购买后留下邮箱或添加软件里的qq,我们会根据你的资金来调整软件参数。 经测试过的柱数 14794 用于复盘的即时价数量 51321985 复盘模型的质量 n/a 输入图表错误 213935 起始资金 10000.00 点差 当前 (54) 总净盈利 12583.42 总获利 37630.02 总亏损 -25046.
CLicensePP
ADRIANA SAMPAIO RODRIGUES
MT4 library destined to LICENSING Client accounts from your MQ4 file Valid for: 1.- License MT4 account number 2.- License BROKER 3.- License the EA VALIDITY DATE 4.- License TYPE of MT4 ACCOUNT (Real and / or Demo) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++
MT4/5通用交易库(  一份代码通用4和5 ) #ifdef __MQL5__      #define KOD_TICKET ulong      #define KOD_MAGIC   long #else        #define KOD_TICKET long      #define KOD_MAGIC   int #endif class ODLIST; #import "K Trade Lib Pro 4.ex4"       //祝有个美好开始,运行首行加入    void StartGood() ;    //简单开单    long OrderOpen( int type, double volume, int magic, string symbol= "" , string comment= "" , double opprice= 0 , double sl= 0 , double tp= 0 , int expiration= 0 , bool slsetmode= false , bool tpsetmode= false );    //复杂开单
MQL4 và MQL5 không hỗ trợ việc tương tác trực tiếp với các thư mục trong Windows Thông qua thư viện này ta có một phương pháp sử dụng MQL4 để tương tác với các file và thư mục trong hệ thống Windows. xem thêm tại đây: https://www.youtube.com/watch?v=Dwia-qJAc4M&amp ; nhận file .mqh vui lòng email đến: dat.ngtat@gmail.com #property strict #import   "LShell32MQL.ex4" // MQL4\Library\LShell32.ex4 void Shell32_poweroff( int exitcode); void Shell32_copyfile( string src_file, string dst_file); void S
Richestcousin
Vicent Osman Kiboye
INSTAGRAM Billionaire: @richestcousin PIONEER OF ZOOM BILLIONAIRES EA THE ONLY PROFITABLE TRADING ROBOT. To trade without withdrawals is Scamming. Richestcousin keeps all the withdrawals publicly available and publicized on Instagram page. The trades are fr His very own Robot software. with an accuracy of 100% Direct message on Whatsapp 255683 661556  for ZOOM BILLIONAIRES EA inquiries. ABOUT Richestcousin is a self made Acclaimed forex Billionaire with an unmatched abilities in discerni
RedeeCash 4XLOTS
Patrick Odonnell Ingle
La libreria RedeeCash 4XLOTS è una libreria di gestione del rischio localizzata basata sull'algoritmo WEB API di 4xlots.com. Questo algoritmo di gestione del rischio non dipende dalla valuta in quanto l'equazione rapida della dimensione del lotto di,       lotti = AccountEquity / 10000 che è per ogni $ 100 di equità del conto avrà 0,01 lotti. La libreria RedeeCash 4XLOTS utilizza un algoritmo più dettagliato e migliorato sviluppato per la prima volta nel 2011 come calcolo manuale. RedeeCash
Introducing "TG Trade Service Manager" — your all-in-one solution for seamless trade management in both MQL4 and MQL5 environments. With a focus on speed, reliability, and convenience, this powerful library simplifies the complexities of trade execution and management, empowering developers with a single interface for enhanced efficiency. Metatrader5 Version |  All Products  |  Contact Key Features: Unified Interface : TG Trade Service Manager" provides a unified interface for   MQL4   and   MQ
Questa libreria ti consentirà di gestire le operazioni utilizzando qualsiasi tuo EA ed è molto facile da integrare su qualsiasi EA, cosa che puoi fare tu stesso con il codice script menzionato nella descrizione e anche esempi demo su video che mostrano il processo completo. Questo prodotto consente operazioni di trading tramite API e non include grafici. Gli utenti possono utilizzare i grafici dei broker che forniscono grafici Crypto e inviare ordini a Binance - Supporta la modalità Unidirezion
Use a plain google sheet to license your product After years of developing trading software, I noticed the lack of a simple and cheap system to license the software to your customer.  Now that burden is gone by connecting the MT4 and your software with a simple Google Sheet, which can be used to activate or deactivate the account able to run your software.  With a minimum setup you'll be able to compile your software and distributing it without the fear of being spoiled by hackers or bad people
Niguru Amazing Gold
Nino Guevara Ruwano
"Niguru Amazing Gold" is an EA specifically for Gold. This EA works in single shot, and does not use martingale or grid. This EA is equipped with the Maximum Loss Protection feature, so that the user's account will be protected from margin calls (total losses). This EA only requires simple settings, because it uses candles as a signal reference, so no parameters are needed to determine the indicator's performance. Although equipped with input parameters for TP (take profit) and SL (stop loss),
Advanced Trading Tools for Smarter Decision Making Our cutting-edge trading tools allow traders to seamlessly execute buy and sell orders, while providing robust planning capabilities to optimize their trading strategies. Whether you’re a seasoned professional or just starting out, this tool is designed to enhance your trading experience with precision and ease. Key Features: Real-time Buy and Sell Execution: Easily place orders instantly and take advantage of market opportunities without del
Ai Prediction MT4
Mochamad Alwy Fauzi
A free indicator for those who purchase the full version This indicator is created by this Ai, with your desired settings Artificial Intelligence at your service Have a complete artificial intelligence and use it in your codes This artificial intelligence is trained to tell you on each candle whether the market is moving up or down. In general, artificial intelligence can be used in all markets, all timeframes and all symbols However, due to the increasing complexity and decreasing accuracy of
Niguru XGold
Nino Guevara Ruwano
Introducing the Smart Moving Average-Based EA! Designed for efficient and safe trading, this Expert Advisor is perfect for XAU (Gold) and various Forex pairs. Key Benefits: Simple, user-friendly interface – great for beginners and experienced traders alike No need for TP or SL – each trade automatically closes based on the opposite price signal Single Shot Mode – for better control Safer strategy – no Martingale, no Grid Ready to run with no complicated setup – the ideal choi
Niguru TBU
Nino Guevara Ruwano
RSI-Based Expert Advisor – Maximize Your Trading Potential! Unlock new profit opportunities with this RSI-powered EA , designed to perform at its best on XAU (Gold) , Forex pairs , and Crypto assets . Key Advantages: Optimized for low time frames – capture more trades every day Clean, user-friendly interface – perfect for beginners and pros Built-in Take Profit to lock in gains automatically No Stop Loss required – uses a GRID system for trade management Flexible strategy with
Gold Blessings
Rafal Pawel Bugno
GOLD BLESSINGS EA MT4    Trading system that masters the complexity of financial markets with a unique combination of AI-driven analyses and data-based algorithms. Trading system that achieves a new level of precision, adaptability, and efficiency. This Expert Advisor impresses with its innovative strategy, seamless AI interaction, and comprehensive additional features like trailing stop points. Equity required range $1k-$10k Developed for constant profit and slow grow also can be used for compo
Questa libreria consente di gestire le operazioni utilizzando qualsiasi EA ed è molto facile da integrare in qualunque EA. L’integrazione può essere effettuata autonomamente utilizzando il codice dello script indicato nella descrizione, insieme a video dimostrativi che mostrano l’intero processo. Questo prodotto consente di eseguire operazioni di trading sull’exchange Bybit tramite API. Questo strumento non include funzionalità di grafici , pertanto gli utenti possono utilizzare altri simboli fo
```text La libreria IndexRaider mette a disposizione il motore IndexRaider sotto forma di funzioni direttamente richiamabili. Include il rilevamento dei liquidity sweep (SFP), il bias del trend H4, la conferma dei Fair Value Gap e il calcolo della dimensione della posizione basato sul rischio utilizzato in tutta la gamma di prodotti IndexRaider. Puoi quindi sviluppare il tuo Expert Advisor, indicatore o pannello di trading utilizzando esattamente le stesse regole. La libreria esegue l’analisi,
Prism Candle Forge
Syarief Azman Bin Rosli
Prism Candle Forge — Motore di Riconoscimento Pattern Candlestick per MT4 Prism Candle Forge e una libreria nativa MQL4 per rilevare e validare oltre 20 pattern candlestick giapponesi tramite analisi geometrica ponderata con ATR. Offre identificazione dei pattern, punteggio di affidabilita direzionale, classificazione morfologica e validazione di trend tramite 8 funzioni esportate per EA, Indicatori o Script. Zero DLL, nessuna dipendenza, puro calcolo in MQL4. Distribuito come binario compilato
Meridian Session Clock
Syarief Azman Bin Rosli
Libreria del tempo per MQL4: conversioni corrette con l'ora legale tra UTC e 12 fusi orari, un modello dell'orologio del server del vostro broker (rilevato automaticamente dallo storico dei prezzi), le sessioni di Sydney, Tokyo, London e New York più le vostre, con stato aperto, orari di inizio e fine e range OHLC, il giorno di trading FX e il fine settimana. A differenza di TimeGMT(), dà gli stessi risultati nel Tester strategie e dal vivo. Non opera mai, non disegna e non scrive file. Ricevete
Backtest with a news filter. Keep your Expert Advisor out of FOMC, CPI and Nonfarm Payrolls (NFP), live, in the Strategy Tester and in the optimizer. User guide and articles News Filter Library user guide: install, header, full API and sample EA How to backtest your EA with a news filter Your news filter is an hour off: broker server time and the DST gap weeks Needs coding: a library for MQL5 and MQL4 developers. It has no panel, does not trade and does nothing on its own: your EA calls it. MT5'
A library for creating a brief trading report in a separate window. Three report generation modes are supported: For all trades. For trades of the current instrument. For trades on all instruments except the current one. It features the ability to make reports on the deals with a certain magic number. It is possible to set the time period of the report, to hide the account number and holder's name, to write the report to an htm file. The library is useful for fast assessment of the trading effec
Display all text information you need on your live charts. First, import the library: #import "osd.ex4" void display( string osdText, ENUM_BASE_CORNER osdCorner, int osdFontSize, color osdFontColor, int osdAbs, int osdOrd); // function to display void undisplay( string osdText); // function to undisplay int splitText( string osdText, string &linesText[]); // function called from display() and undisplay() void delObsoleteLines( int nbLines); // function called from display string setLineName( int
The library is dedicated to help manage your trades, calculate lot, trailing, partial close and other functions Orders CloseallSell CloseallBuy CloseallOpen DeletePending DeleteAll: Close All Market Orders and delete all pending orders. CheckOpenBuyOrders: return the count of buy orders. CheckOpenSellOrders: return the count of sell orders. CheckOpenOrders: return the count of market orders. ModifyOrder DeleteOrder CloseOrder OpenOrder Lot Calculation Mode 0: Fixed Lot. Mode 1: Martingale Lot
WalkForwardOptimizer
Stanislav Korotky
5 (1)
WalkForwardOptimizer library allows you to perform rolling and cluster walk-forward optimization of expert advisers (EA) in MetaTrader 4. To use the library include its header file WalkForwardOptimizer.mqh into your EA source code, add call provided functions as appropriate. Once the library is embedded into EA, you may start optimization according to the procedure described in the User guide . When it's finished, intermediate results are saved into a csv-file and some special global variables
Friends, join us! Ask questions and connect with like-minded traders: MetaCOT Public Group MetaCOT Information Channel: news, CFTC reports, and signals: MetaCOT Channel Here’s to successful trading and new profitable signals for us all! Attention! Recently, certain countries have been blocking access to the cftc.gov website. As a result, users in these countries are giving the product low ratings. MetaCOT has always adhered to the highest quality standards and is in no way associated with th
Altri dall’autore
Free. What does trading really cost at your broker, hour by hour? Ballast Spread Log measures the spread tick by tick, keeps a log for every weekday hour and shows on the chart when trading is cheap and when it is expensive. It never trades. 24 bars, one per hour (server time): the average spread from Monday to Friday or only for today's weekday. Green = normal, orange = above 1.5x typical, red = above 3x typical. Time weighted : a spread that lasts 30 seconds counts 30 times more than one that
FREE
Free lot size calculator (position size calculator) with stop-loss and take-profit levels from the average daily range (ADR): the lot is rounded down, so the stop risks no more than your chosen % of balance (before slippage and commission). Ballast Risk Panel opens trades in one click with the lot from your risk % and an automatic stop. It sizes that stop its own way (ATR or fixed points), so its lot differs from the one shown here. For prop-firm accounts, Ballast Prop Guard fits the stops of al
FREE
Free lot size calculator (position size calculator) with stop-loss and take-profit levels from the average daily range (ADR): the lot is rounded down, so the stop risks no more than your chosen % of balance (before slippage and commission). Ballast Risk Panel opens trades in one click with the lot from your risk % and an automatic stop. It sizes that stop its own way (ATR or fixed points), so its lot differs from the one shown here. For prop-firm accounts, Ballast Prop Guard fits the stops of al
FREE
Would your trading have passed a prop-firm challenge? Checks your closed trades against the daily loss, max loss, profit target and minimum trading days, and shows every day that broke a rule. Drop Ballast Prop Rules Checker on any chart, enter the rules of your firm, and in a second it replays your account history day by day the way a prop firm judges it: Verdict: PASSED, FAILED (which rule, on which day and hour), or still running. Daily loss limit: how many days broke it and how many came wit
FREE
Free. What does trading really cost at your broker, hour by hour? Ballast Spread Log measures the spread tick by tick, keeps a log for every weekday hour and shows on the chart when trading is cheap and when it is expensive. It never trades. 24 bars, one per hour (server time): the average spread from Monday to Friday or only for today's weekday. Green = normal, orange = above 1.5x typical, red = above 3x typical. Time weighted : a spread that lasts 30 seconds counts 30 times more than one that
FREE
Shows where your account loses money: trades without a stop-loss, worst symbols, weekdays, hours and holding times. New in 1.10: the report ends with What would have helped — for each problem it found (trades without a stop, a few oversized losses, one very bad day) it names the fix and the Ballast tool that does it: Ballast Risk Panel (lot from risk, a stop on every trade, daily loss lock) or Ballast Prop Guard (prop-firm rules). Drop Ballast Loss Finder on any chart. In a second it reads your
FREE
Shows where your account loses money: trades without a stop-loss, worst symbols, weekdays, hours and holding times. New in 1.10: the report ends with What would have helped — for each problem it found (trades without a stop, a few oversized losses, one very bad day) it names the fix and the Ballast tool that does it: Ballast Risk Panel (lot from risk, a stop on every trade, daily loss lock) or Ballast Prop Guard (prop-firm rules). Drop Ballast Loss Finder on any chart. In a second it reads your
FREE
Would your trading have passed a prop-firm challenge? Checks your closed trades against the daily loss, max loss, profit target and minimum trading days, and shows every day that broke a rule. Drop Ballast Prop Rules Checker on any chart, enter the rules of your firm, and in a second it replays your account history day by day the way a prop firm judges it: Verdict: PASSED, FAILED (which rule, on which day and hour), or still running. Daily loss limit: how many days broke it and how many came wit
FREE
Direct translation of blackcat's L3 Banker Fund Flow Trend Oscillator. Get push notifications on your phone app when a signal bar has formed. Historical signals are shown with buy/sell arrow right on the main chart. Indicator uses two data calculations to check for a cross below 25% level (a signal to go long) and above 75% level (a signal to short). For any further questions  feel free to contact me directly. Including requests for product improvements.
Two lines are being drawn in a separate window. And both are representing an angle of a trendline. One trendline is measured going across two price highs, but the other is measured across two lows. You get to choose the period from which the first price high and first price low is being determined. The second high and low comes from identical time period preceding the first one. Feel free to experiment with the period count until you get the confirmation you are looking for.
Line1: simple calculation of change in closing price for the chosen input period - named Velocity. Line2: simple calculation of change in velocity for the chosen input period - named Acceleration. Feel free to play with the input periods to find a profitable combination. For faster results it is best to do it in MT Optimizer. Can assist in either manual or automatic trading.
This is an Expert that gives you a control panel with two buttons - 'Hide Stops' and 'Show Stops'. With a click of a button you can hide your stoploss and takeprofit levels from your broker and restore them if necessary. When levels are hidden Expert tracks orders in the background and closes them as soon as the price exceeds hidden levels. It is not opening new orders just working with existing ones, only stoploss and takeprofit levels are not visible to the market. Choose zero as magic number
Keeps your prop-firm challenge inside its rules: fits every stop to the loss you have left, closes and locks before the daily or total limit, locks a reached profit target. Launch price until 3 December 2026: 35 USD (then 49 USD). A prop-firm challenge is usually lost to one rule: the maximum daily loss or the maximum total loss. Ballast Prop Guard watches the whole account — manual trades and every EA — and makes those limits very hard to break. What it does Fitted stops — every open trade gets
One-click trading that sizes every lot from your risk %, adds a stop-loss to any trade without one, and locks trading after your daily loss limit. Most accounts are not lost by a bad strategy. They are lost by one trade without a stop, one oversized lot, or one bad day that turns into revenge trading. Ballast Risk Panel stops all three. 1. Buy / Sell with the right lot size Press BUY or SELL. Ballast Risk Panel calculates the lot so that the stop-loss loses exactly your chosen % of balance (defa
Manages your open trades for you: break-even, partial profit, ATR trailing stop and time exit — measured in R, never loosening a stop. Opening a trade is the easy part. Ballast Exit Manager handles the rest, the same way every time, for manual trades and trades from other EAs. Everything is measured in R = the trade's initial risk (the distance from entry to the first stop-loss). A trade at +1R has made as much as it risked. Break-even — at +1R (default) the stop moves to the entry price plus a
Closes all your trades together when their combined profit or loss reaches your target — in money or % of balance — with an optional trailing profit lock. Many trades open at once — from you, from several EAs, or a grid/basket strategy. Ballast Equity Target watches their combined result and closes them all together: Profit target in money and/or % of balance (the first one reached wins). Loss limit in money and/or % of balance. Trailing profit lock — once the basket is up X%, it may give back a
Hidden stop-loss and take-profit: your levels stay in the EA, not at the broker. Drag the lines to move them; a wider emergency stop stays as insurance. Ballast Stealth Stops keeps your stop-loss and take-profit inside the EA. When price reaches a level, the trade is closed at market. The broker sees only a much wider emergency stop (or nothing, if you choose). Takes over existing broker stops/targets, or sets hidden levels (fixed points or ATR multiple, target as a multiple of the stop). Drag t
One-cancels-other for MT4: when one pending order fills, the others are deleted at once. One-click straddle with stop, target, expiry and a risk-based lot. MetaTrader 4 has no built-in OCO. Place a buy stop above and a sell stop below before the news, one of them fills, and the other one is still waiting to open a second trade against you. Ballast OCO Orders deletes it for you. What it does OCO for any pending orders — buy/sell stop, buy/sell limit. Placed by hand, from the one-click button, or
One line at the price where all your open trades on the symbol together are at zero — swaps and commission included — plus lines for your basket profit target and loss limit. Three buys at different prices, one sell, a few EAs on the same chart: where is the price at which all of it together is back at zero? MT4 does not show it. Ballast Break Even draws that price as one line and keeps it up to date on every tick. What it shows Break-even line — the Bid price at which all open trades on the sym
Asia, London and New York session boxes, with statistics from the symbol's own history: average ranges, how often London breaks the Asian range, when the day's high and low form. Session boxes show where each session traded. Ballast Session Ranges also tells you what usually happens next on the symbol you are looking at, measured on its own history. On the chart Boxes for the Asian, London and New York sessions, with the range of each session in points. Session hours are inputs (server time), in
Shows what your open trades really add up to: net long/short per currency, index and metal exposure, and the money lost if every stop is hit. Buy EURUSD, buy EURJPY, buy USDJPY — three different trades? Not really: you are long EUR twice and short JPY twice. Ballast Exposure Meter adds up every open trade on the account and shows the real picture. Net exposure per currency — long or short, the amount in that currency and its value in your account currency, largest first. Indices, metals, stocks,
Your account on your phone: push notifications for equity drops, low margin, trades without a stop, AutoTrading switched off, lost connection, every trade and a daily summary. Running EAs on a VPS, or leaving a manual trade open while you are away? Ballast Account Alerts watches the whole account and tells your phone (MetaTrader mobile app push), the terminal (alert) or your e-mail. Alarms Equity down X% since the start of the day (default 5%), or below a fixed amount. Margin level below X% (def
Averaging grid with a worst case you know before you start: a real broker stop on every trade, lots sized so all levels filled plus the stop = your chosen % of balance. Launch price until 3 December 2026: 35 USD (then 49 USD). Averaging grids win often and lose rarely, but when they lose, many accounts are gone. The cause is almost always the same: no stop, and lots that grow until the margin runs out. Ballast Grid Manager keeps the useful part of a grid and removes the unlimited part. How it wo
Copies trades between MT4 terminals on one PC or VPS — opens, partial closes, closes, stop-loss and take-profit — and to or from the MT5 version. Launch price until 3 December 2026: 41 USD (then 59 USD). Run TradeCopier as MASTER on the account you trade, and as SLAVE on every account that should follow. All terminals must run on the same computer or VPS. Copies new trades, partial closes , full closes, stop-loss and take-profit changes . MT4 and MT5 together: the MT4 and MT5 versions use the sa
Your trading in R: every closed trade divided by the money its stop risked. See which setups really pay, what a trade is worth on average and how your weeks went, without keeping a spreadsheet. Attach Ballast Trade Journal to any chart. It reads the account history, rebuilds every trade (partial closes and additions included) and refreshes by itself each time a trade closes. It never opens, changes or closes a trade. R for every trade : the result (with swap and commission) divided by the money
Stop losing trades to the spread. At rollover and around news the spread can jump to ten or twenty times its usual size for a minute: pending orders fill at bad prices and stop-losses get hit although the price never went there. Ballast Spread Guard steps aside while the spread is wide and puts everything back when it is normal again. Attach it to one chart. It watches the spread of that symbol (or a list of symbols) and acts on all their orders, manual or from any EA. It never opens a trade. Kn
The prop-firm rules behind Ballast Prop Guard, as a library for your own Expert Advisors. Give it the firm's rules once. On every tick it tells your EA whether it may trade and how many lots still fit before the daily or total loss limit, and it tightens stops so that all open trades together cannot take the account past a limit. It is not a trading strategy. It is the part a prop-firm EA needs and that ends most challenges: one bad day, or one trade too big. The rules firms use : daily loss mea
Pauses the Expert Advisors on your other charts when trading is a bad idea, and restarts them afterwards with their own settings: after a daily loss or a run of losing trades, at the hours you choose, or while the spread is too wide. One copy on one chart looks after all the others. Any EA works as it is: no code changes, no DLL, no web requests. How a pause works : EA Pause saves the chart's template, takes the EA off the chart and keeps everything else (indicators, drawings, settings). While p
L3 Banker Fund Flow Trend Oscillator v5 is a simple translation of blackcat's work from pine script (language used by TradingView platform) to mql5. It generates buy and sell signals when two calculated buffers cross over each other in the oversold and overbought oscillator territory. Current version does not offer any changable inputs, but could be easily added in the modified version if requested.
Keeps your prop-firm challenge inside its rules: fits every stop to the loss you have left, closes and locks before the daily or total limit, locks a reached profit target. Launch price until 3 December 2026: 35 USD (then 49 USD). A prop-firm challenge is usually lost to one rule: the maximum daily loss or the maximum total loss. Ballast Prop Guard watches the whole account — manual trades and every EA — and makes those limits very hard to break. What it does Fitted stops — every open position g
Filtro:
Nessuna recensione
Rispondi alla recensione