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, that will not work... one order - one lot, if you have opened an order with 3 lots then you cannot split the lot the way you want - first 1, then 1 and then 1 - the order closes the entire lot, i.e. the order closes with the same lot as it was opened, you cannot close orders in parts...
you are mistaken i have a trall which closes the order in parts.
no new orders of course ?
No, it doesn't work that way... one order - one lot, if you open an order with 3 lots then you can't split the lot in any way - first 1, then 1 and then 1 more - the order closes the whole lot, i.e. the order closes with the lot it was opened with, you cannot close orders piecemeal...
...........................
".... you cannot split the order into lots..." - why? Technically, it was implemented long ago, and thanks to Roger and KimIV on p.85 the error of 131 normalized lots was avoided. In addition, the statement "...one order, one lot, and if you open an order with 3 lots, then you can't split it as you want: first 1, then 1..." is incorrect: an order, as well as a lot, consists of the volume: 0.03, 0.3, 3... and is quietly closed by parts: 0.01, 0.1, 1... right?
And the point of my last request was this: is it possible to close ALL positions without resorting to arrays, but using standard calculations and adding them up like
I just have the feeling of a tired ship that has sailed the ocean hoping for a lighthouse to tell me whether it's necessary to sail in this direction or to turn around and try another way ...
Igor - are we trashing your branch for nothing?
You can close all one pair at a time, but different pairs, e.g:
1,2,1,2,2,1,2 total overlapped volume 1-2-1+2+2+1+2=3 lots
Summing up, we obtain the buy-summer 3 lots and set the counter of this volume sell 3 lots
and then we close the Close bi.
*
But to answer the question: is it possible to close all positions?
yes it is possible, one after another, it's fast with the script, aap!
The scripts themselves or the closing functions have been published more than once...
And by setting them up you can close both all at once and by criteria, e.g.:
- by a specific symbol
- only bai or only sell
- only profitable
Correspondingly, combinations of criteria are possible...
Please help close the order at any condition you like and it just does not work.
Thank you in advance
Will cover everything!!!
Will only close the open poses.
Example call.
Close script in full.
Kim you are the best. I take my hat off to you.
I have studied all your functions, but there is one hitch, or hitch. Now, when I write functions, I write them from my brain, but your functions are in my head :-).
I have studied many of your functions since the very beginning of my programming career.
Thank you.
Please help me close an order at any condition you like and it just does not work.
Thanks in advance
Explanation
Any strategy to close an order is unimportant Please help close an order using Kim's functions