How to use the value of a variable from one function into another?
if(switch_action==2) instead of if(switch_action=2)
You should realize that if you use decompiled code you are a thief.
You should realize that if you use decompiled code you are a thief.
What on earth?!? This isnt decompiled code?! who deleted my code snippet?
You even don't have very basic knowledge about coding (your question) but you are sure your code isn't decompiled. Are you kidding?!?! If you got this code snippet from your friend. You should stop trusting him. I assume that your code was deleted by a moderator and he/she should delete it again.
https://www.mql5.com/en/forum/203200
- 2017.06.04
- www.mql5.com
So how can I take the value of switch_action here and use it in the function below?
<Decompiled code removed>