Forum

WindowScreenShot

Hello, i run my EA in tester and make screen shots. The problem is that i get chart screen shot with default metatrader template. How can i make screen shots with my selected template. I tried to select custom template when tester is in progress and visual chart (with default template) is opened, in

OnOrderClose event

Is there any possible way to get OnOrderClose event when a trade hits TP or SL

PHP alike function "explode"

Hi, does anyone can help me? I need PHP alike "explode" function , but it seems in MQL4 you can not return an array as a function result

Margin calculation

Hi, i have some difficulties calculating margin . Lets say i have 1000$ in my account and want to know how many orders i can open with 0.1 lot size. If i understand correctly it will be different number of orders for different symbols