Codes

Bar Time Count Down for MetaTrader 5

This MT5 indicator is to count down the remaining time of the current bar as the format HH:MM:SS

Bar Time Count Down for MetaTrader 4

This MT4 indicator is to count down the remaining time as the format HH:MM:SS

Save and show the objects of testing chart for MetaTrader 5

This script helps to save the objects into a file and show the objects on a new chart

Save and show the objects of testing chart for MetaTrader 4

After back testing, we usually need to analyze the testing result on a new chart which we have loaded our template,in this case we need to copy the objects on the testing chart to the new chart. This script helps to save the objects into a file and show the objects on a new chart

Get M1 OHLC data for MetaTrader 4 backtesting for MetaTrader 5

Usually most brokers do not provide M1 data over 3 months in MetaTrader 4, but they provide M1 data over 3 years in MT5. So we can use this tool to obtain the M1 data in MetaTrader 5 tester and save the data into .hst file for MetaTrader 4 backtesting

Period Converter All Timeframes for MetaTrader 4

This script is used to convert history data from M1 to M5, M15, M30, H1, H3, D1, W1, MN

CEquityHstBar for MetaTrader 4

CEquityHstBar - library for showing the equity of EA back-testing by the offline chart

Automatically bring charts one by one to the top for MetaTrader 4

This indicator helps to move charts one by one to the the front, just like slide show,and make your hands free

Automatically bring charts one by one to the top for MetaTrader 5

This indicator helps to move charts one by one to the the front, just like slide show, and make your hands free

Standard Deviation Channel MT4 for MetaTrader 4

A channel based on standard deviation of close price

Forum

Is it a bug about the data type of -2147483649 ?

I found the literal value -2147483649 and 2147483648 are hard-coded as uint type ,I think they should be long type. Test code: //+------------------------------------------------------------------+ //| Script program start function |

WebTerminal Error

I just found an error on the WebTerminal. I opened a sell order but got a buy order. https://www.mql5.com/en/trading

Failed to upload logo for product.

When I upload a png logo for my product, I got an error message. How to solve it? btw,the size of png is 200*200 pixels

Bug in FileWriteString (MQL4)

Write string with FILE_UNICODE flag, as shown in the code, additional 7 bytes are written. //+------------------------------------------------------------------+ //| test_FileWriteString_bug.mq4 | //| Copyright 2021,fxMeter

The crazy styler

MetaEdit V5.0 Build 2138, Sep.06,2019 //Script:test_styler.mq4 void OnStart() { //--- int try = 3 ; while ( try > 0 ) { try --; if ( try == 2 )Print( "i==2" ); } } void func( int &i, double &d, string &s) { i= 0 ;d= 0 ;s=NULL; if (i== 0 )Print( "i==0" ); } After

[MT5] MTF Indicator Trick on weekends.

The multi-timeframe indicator on MT5 never works on weekends. On weekends,the market is closed and there is no tick events,there is awlway getting error 4806 ("Requested data not found") when you load a mtf indicator to a chart. I found that if I load another indicator to another chart,the mtf

iBars() has a bug, the return value is larger than the "Max bars in chart" parameter in platform settings.

//+------------------------------------------------------------------+ //| test_iBars_iTime_MAXBARS.mq5 | //| Copyright 2019,fxMeter | //| https://www.mql5.com/en/users/fxmeter |

Access violation generates during testing in MT5 build 1940.

OL 2 18 : 37 : 37.026 Core 1 2010.09 . 16 09 : 22 : 40 Access violation at 0x000000013F6AC5F4 write to 0x0000000008D9C852 IS 2 18 : 37 : 37.026 Core 1 2010.09 . 16 09 : 22 : 40 000000013 F6AC390 48896 C2418 mov [rsp+ 0x18 ], rbp MP

Is it safe to use VPS provided by MQL5 forum ?

The VPS provided by MQL5 forum is fast and convenient. Is it possible that my EA could be stolen by the hosting provider

Rate decision of center banks 2017

https://www.dailyfx.com/central-bank-calendar