Global Close Orders Management – script MetaTrader 4

Global Close Orders Management - script for MetaTrader 4
//***************************************************************************// extern string  Close_Orders_Management                    =  “”   ; //***************************************************************************// input bool     Close_All_ORDERS                          =  false; input bool     Close_Active_Buy_and_Sell_ORDERS          =  false; input bool     Close_Active_Buy_ORDERS             

XIT_BuySellAutoStoploss.mq4 – Stoploss set from Fractal Levels, Money management Risk/Reward – script MetaTrader 4

XIT_BuySellAutoStoploss.mq4 - Stoploss set from Fractal Levels, Money management Risk/Reward - script for MetaTrader 4
XIT_BuySellAutoStoploss.mq4 – Stoploss set from Fractal Levels, Money management Risk/Reward My main goal here with this script was to help improve my win ratio, by setting my stoploss at fractals with the best support. I had been using fixed stoploss values, and kept having the stop hit and within minutes the price went back into

MySQL library for MQL4 with proper memory management – library MetaTrader 4

MySQL library for MQL4 with proper memory management - library for MetaTrader 4
Original library file mql4-mysql.mqh is located here: . Give respect to the original authors for the work done (originally created by Russell, then modified by vedroid and lukins / Sergey) and read description of the original code. The original mql4-mysql.mqh library had a serious problem with memory management. Problems were reported by several users (you

Example of SAR Automated – with Advanced Money Management – EA MetaTrader 4

Example of SAR Automated - with Advanced Money Management - expert for MetaTrader 4
Real author: Mohammad Soubra This is not a profitable EA. This is just a basic/simple example for coders. This example has been built using SAR (Stop And Reverse) indicator. With Advanced Money Management function: //+——————————————————————+ //    expert AdvancedMM function //+——————————————————————+ double AdvancedMM()   {    int i;    double AdvancedMMLots=0;    bool profit1=false;    int SystemHistoryOrders=0;   

Lot calculator – risk management tool – indicator MetaTrader 5

When €2000 available, risk is 191 pips, to risk the 2% you have to trade no more than 0.02 lots
Most of professional traders state that their success is based on strict risk management. This simple tool is designed to show the correct lot size to trade with respect to the following basic risk management rules: Risk only a fixed percentage of the total money on the account (e.g. 1-2%). Risk is measured by distance