Forum

'if' - expressions are not allowed on a global scope

Hi Coders, I have issues with this compile error, 'if' - expressions are not allowed on a global scope see attachment added can any one help

i have this error 'if' - expressions are not allowed on a global scope

Hi. please i have this error in the place highlighted red, how do i solve it //+------------------------------------------------------------------+ //+------------------------------------------------------------------+ //-------------------------------------------------------------------+ if

Help !!! Need to modify my stop loss script on EA MT4, please help

Hello Programmers. I want you to help me with the script for my EA on MT4. All i need it to do is to open an opposite trade whn it hits a stop loss. i,e when it hits a buy stop loss it opens a sell with it own take profit and stop loss, when it hits a sell stop loss it opens a buy with it own take

EA Developers urgent help needed

hi guys, i have got this EA trading profitably for now, but has got a constraint. i want a code that i can add to it so that the EA trades continuously, particullary when i switch off my pc, it works as if the pc is on