You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
sorry for the late replay, I thought I answered you I don't know what you mean maybe you mean this :
like remcous told me, I have two variables in this case I have three Global values :
so I think that what you mean is my variable code is If(Buy_trade or Sell_Trade >0 ||<0) and they get its value from the global but do I need to assign a value of my global variable inside my code because it doesn't work . If I didn't answer you give me an Example of a variable code and its value.
How can you not know what I mean? It's in your code!
you mean this I thought its not relevant here it is :
hi
so you know why it doesn't work ?
hi
so you know why it doesn't work ?
Hello,
What doesn't work ? Have you try to debug step by step ? Have you used my sample function to get buy/sell trade opened ?
Hello,
What doesn't work ? Have you try to debug step by step ? Have you used my sample function to get buy/sell trade opened ?
yea I used Comment("") command to debug but something is missing I need to do more I'll try to debug it again.
you see anything missing ? I assigned A value of the global variable Sell and Buy_Trade in my orignal code
Hello,
What doesn't work ? Have you try to debug step by step ? Have you used my sample function to get buy/sell trade opened ?
I didn't use the function but I used the Sell_trade and Buy_trade global variable I like this better its simpler but I couldn't get it to work.
I didn't use the function but I used the Sell_trade and Buy_trade global variable I like this better its simpler but I couldn't get it to work.
Where do you reset global variables to 0 when you close orders ?
Global variables are great, but imagine MT4 crash or close, you reopen it and you have 2 orders already open, how do you handle this ?
ps : by debug i don't wanna say "comment" function, but run code step by step... with a view on variables.Where do you reset global variables to 0 when you close orders ?
Global variables are great, but imagine MT4 crash or close, you reopen it and you have 2 orders already open, how do you handle this ?
ps : by debug i don't wanna say "comment" function, but run code step by step... with a view on variables.OK I'll try to use the function , I did reset the global variables but in my original code same issue.
Imma gonna try now the function and get back to you.
Where do you reset global variables to 0 when you close orders ?
Global variables are great, but imagine MT4 crash or close, you reopen it and you have 2 orders already open, how do you handle this ?
ps : by debug i don't wanna say "comment" function, but run code step by step... with a view on variables.HI, Thanks brother the function worked, I've learned a lot from our discussion, Thanks to all .
I will open a discussion about multiple time frames soon hope you share your thoughts and everybody will learn from it.
Be Safe