Trying to Open an OP_BUY with a tutorial, but it's showing up in red and nothing happening in the terminal

To add comments, please log in or register
ThomasM4
20
ThomasM4  

Hi

I don't now what is wrong here, but I can see the OP_BUY is in red so maybe that is the issue, but no idea how to fix is.  


I also don't know what it means when a symbol or letters are red.  



The code is attached, I hope it goes up here in the way it's meant to because I've seen threads here where the code is in the comment, but I could only put in normal (black text), but it would be great if someone can tell me what's wrong. 


Thanks

ThomasM4
20
ThomasM4  
I have just got it to work, however that was in a demo account, but in my real account I currently have no money, but usually when you try to place a trade with no money, you get the drowsy sad buzz sound (error message), but when I try to do this with the automated trade there is no sound, just a bell indicating what the stop and take profit would have been.  Is this the way it is, if you have no money with automated trading it doesn't even try to make the trade (hence you can't even get the trade failed sound?  
To add comments, please log in or register