Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 10
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
No, it is not easier. Because if there was a negative flag (or a global variable), the check still needs to be run. Both the flag and the global variable will only work in the positive case. And some functions are still needed at start (although, it's different here).
Whichever way you look at it, startup still needs to be run anyway: either through replaying "inite", which is just as annoying, or through replaying required functions.
You're doing something so complicated that it's almost impossible to comprehend...
Tell me, what's the difference in return of a value by a function, or a global variable which changes in the function, the result of which must be returned? In this case "inite".
Colleagues, what is the error?
I've already checked the forum for 130/138 error, but I still don't understand why additional orders 2 and 3 don't open. Only the main ones.
Colleagues, what is the error?
I've already checked the forum for 130/138 error, but I still don't understand why additional orders 2 and 3 don't open. Only the main ones.
Colleague, you want to open market orders not at market price... :)
And it does not hurt to understand the difference between limit orders (SELLLIMIT and BUYLIMIT) and stop orders (SELLSTOP and BUYSTOP).
Colleague, you want to open market orders not at the market price... :)
And indeed
So there's no end to the cycle, that's why it's stalling.
What's the right way to end it?
No, it is not easier. Because if there was a negative flag (or a global variable), the check still needs to be run.
Not all the same.
Both the flag and the global will only be triggered in the positive case. And some functions are still needed in Start (although, it is different here).
What's the right way to end it?
Colleague, you want to open market orders not at the market price... :)
It would also help to understand the difference between limit orders (SELLLIMIT and BUYLIMIT) and stop orders (SELLSTOP and BUYSTOP).
Can I ask you what you mean by not at market price? With SELLLIMIT and BUYLIMIT, everything is correct.