Codes

ColorChart for MetaTrader 5

Simple script to randomize all colors of your chart. Just click on it and see results yourself

Functions to simplify work with orders for MetaTrader 5

All we want is to think about algorithms and methods, not about syntax and values how to place orders. Here you have simple functions to manage positions in MQL5

Simple MA Expert Advisor for MetaTrader 5

Something for those who wants to try out new Strategy Tester and don't have any EA

Up and Down Indicator for MetaTrader 5

This indicator allows to see the activity of the market

Articles

Using MetaTrader 5 as a Signal Provider for MetaTrader 4 for MetaTrader 5

Analyse and examples of techniques how trading analysis can be performed on MetaTrader 5 platform, but executed by MetaTrader 4. Article will show you how to create simple signal provider in your MetaTrader 5, and connect to it with multiple clients, even running MetaTrader 4. Also you will find out

Forum

What has happened with CHF (or EUR)?

Does anyone knows why EUR against CHF has stopped moving? Seems like they both linked and going to 1 : 1 . Look at last month: USDCHF and EURUSD are totally equal(opposite) now. Can't find anything in news too. Will Swiss Frank be replaced with Euro

Result for unfinished testing

Sometimes testing takes long time or something happens in the middle, so we need to stop it. In MetaTrader 4 there was a nice feature - it displayed results of testing even it wasn't finished. We were able to see orders and other things. In MataTrader 5 there is no such a possibility and now I

How to close BUY and SELL position?

Sounds stupid, but I have problem to close positions. Since MQL5 does not offer any function to close position, all you can do is to open opposite one. The same thing you will find in provided sample Trade\Trade.mql. If I start from beginning. I have EA that trades every day once or twice. It opens

Please tell if I'm drunk!

(Build 306) int BarOfTheDay( datetime time) { MqlDateTime dt; TimeToStruct (time, dt); int min = dt.min + (dt.hour * 60 ); Print ( "min = " , min, " dt.min = " , dt.min, " dt.hour = " , dt.hour ); return min/ Period (); } Output: 2010.08.16 20:07:36 K_sStatisticsOfBars ( EURUSD ,M30) min

MetaTester and Agents

I want to report 2 bugs found in metatester agents: MetaTester.exe processes on local computer is running with "Low" priority but on remote computers with "Normal" priority (can see in Task Manager). Problem is that remote computers are useless when optimisation has started and I could not change