Forum

Did it hit the SL?

Can anyone tell me if it's possible to run through my trade history, using MQL, to find out if a specific trade was stopped out? I have a few techniques to close trades, but I would like to know if there is a variable that stores whether the reason it closed was because of the SL. Thanks Johnny

Referencing an arrow

I have an indicator in ex4 format that displays the following: -As a buy signal Underneath the last bar, it will display a red arrow pointing up. -As a sell signal Above the last bar, it will display a yellow arrow pointing down. I have attached a screenshot so you can see for yourself. What I don't

Generating Ticks

Hi There, I'm just learning MQL4 and I'm going to be learning and hopefully testing over the weekend when the markets are closed. Is there a way to generate tick data while I'm working, just so I can test as I go? Thanks

PHP Developer Looking to learn MQL4

Hi everyone, I want to learn to code in MQL4 but I don't know where to start. I've read a lot that you should learn C++ before you start with MQL4, but I've also heard that any programming experience is fine. I am a web application developer that mainly uses PHP, JavaScript and SQL. Based on what