Sum of 2 Orders are not Correct Why - page 3 123 New comment Marco vd Heijden 2016.07.09 09:38 #21 It will ALWAYS only count the last two orders. (which is what you requested)This is because it filters on OrderOpentime()So if you add filter for OP_SELL and the last two orders are OP_BUY then the result will be 0.0 because nothing gets written to arrays.Please draw a flow chart http://draw.io draw.io - free flowchart maker and diagrams online draw.io draw.io (formerly Diagramly) is free online diagram software. You can use it as a flowchart maker, network diagram software, to create UML online, as an ER diagram tool, to... Any questions from newcomers [WARNING CLOSED!] Any newbie counting buy oeders Muhammad Mudasir 2016.07.09 11:17 #22 Marco vd Heijden: It will ALWAYS only count the last two orders. (which is what you requested)This is because it filters on OrderOpentime()So if you add filter for OP_SELL and the last two orders are OP_BUY then the result will be 0.0 because nothing gets written to arrays.Please draw a flow chart http://draw.iothank you for your reply MARCOnow i understand how your array function workbut i want to close 2 orders sum =1 usd then close both orders but only BUY ORDER SUM OR SELL ORDER SUM Muhammad Mudasir 2016.07.10 09:36 #23 Marco vd Heijden: It will ALWAYS only count the last two orders. (which is what you requested)This is because it filters on OrderOpentime()So if you add filter for OP_SELL and the last two orders are OP_BUY then the result will be 0.0 because nothing gets written to arrays.Please draw a flow chart http://draw.ioPlease Reply Marco i am looking for your Reply Marco vd Heijden 2016.07.10 09:50 #24 Muhammad Mudasir: Please Reply Marco i am looking for your ReplyI don't like the idea of closing winning orders @ 1 usd. Muhammad Mudasir 2016.07.10 10:47 #25 Marco vd Heijden: I don't like the idea of closing winning orders @ 1 usd.but please help me only if you dont like it does not mean it wont work . please i am only looking for you to my help .please understand may be your share of code could save my weeksi will hearty grateful to you if you share codeRegardsmuhammad mudasir change timeframe of all Any questions from newcomers news filter and other 123 New comment
It will ALWAYS only count the last two orders. (which is what you requested)
This is because it filters on OrderOpentime()
So if you add filter for OP_SELL and the last two orders are OP_BUY then the result will be 0.0 because nothing gets written to arrays.
Please draw a flow chart http://draw.io
It will ALWAYS only count the last two orders. (which is what you requested)
This is because it filters on OrderOpentime()
So if you add filter for OP_SELL and the last two orders are OP_BUY then the result will be 0.0 because nothing gets written to arrays.
Please draw a flow chart http://draw.io
thank you for your reply MARCO
now i understand how your array function work
but i want to close 2 orders sum =1 usd then close both orders but only BUY ORDER SUM OR SELL ORDER SUM
It will ALWAYS only count the last two orders. (which is what you requested)
This is because it filters on OrderOpentime()
So if you add filter for OP_SELL and the last two orders are OP_BUY then the result will be 0.0 because nothing gets written to arrays.
Please draw a flow chart http://draw.io
Please Reply Marco i am looking for your Reply
Please Reply Marco i am looking for your Reply
I don't like the idea of closing winning orders @ 1 usd.
but please help me only if you dont like it does not mean it wont work . please i am only looking for you to my help .
please understand may be your share of code could save my weeks
i will hearty grateful to you if you share code
Regards
muhammad mudasir