ComputerSange / Publications
Forum
Closing an open trade in the Strategy Tester in MT5
Hi A simple question - can you close an open trade when using the Strategy Tester within MetaTrader 5? See the code below - when this runs it fails to close out the open position. No error is given. I have included the results from the Journal below as well so you can follow the path it takes via
Using StringConcatenate in MT5
Hi I'm having issues with using StringConcatenate within MT5. I am converting MT4 code to MT5 and have come across something that I would of thought would be simple - but after several attempts at solving it - seems to be a bit of an issue for me. I have a bit of code that creates a string and then
Get the current hour
Hi In MT4 you could use Hour() to give you the current hour of the day. How does someone do that within MT5? I need to send a notification each day at the same hour of the day. Thanks