Only 1 position open and only this position close.. Help me for Magic Number Please... :/
don't have a helpful friend?
William Roeder:
- Don't post code that will not even compile. You can't define a function inside other code.
- What do you want signal==1 to do?
Can you write me an example that makes a simple AL and CLOSE operation with Signal = 1 and Signal = 0?
signal==1 (open any buy position)
signal==0 (close only this position with magic number)
I know it's simple for you, but I haven't done it yet. I will be very glad if you help. :/
I'm new and I'm trying to move forward. Please help me.
I hope I can find a master who will make me happy.
I use MT5 and MQL5.
Sorry for the following nonsense. Can you edit it the way I want ?