Auftrag beendet
Spezifikation
Hallo everyone,
I have create a EA and in the EA Code I have write history viewing of the trades whitch are closed and the current trade. All is working verry fine if there is open only 1 trade tot he same time. But the EA can also open and close multiple trades in that way that he open for example 5 trades today 3 o´clock. 4 trades with each 0.2 Lot and 1 trade with 0.01 Lot. If the trades are current time open my part for viewing works also very fine. My problems are in viewing in the chart if the trades are closed for example today 16 o´clock and current time is after 16. Then I see 5 lines in the chart. For 5 trades. I will see only 1 line for all trades. Thats better for more better design. You understand 5 trades beginns not exact tot he same time. The difference are any seconds and so is also in closing. It´s dont look not verry good. Additional I have create a line that shows the trade coasts for swap and commission in addition/subtraction to the start price. Thats the same problem. If the EA will open 100 trades tot he same time it´s a totaly confusion with the lines 😉 And if the trades are closed the profit / loss with points will be viewing in a 90° angle in the chart. This is also a confusion with multiple trades. So I cannot summing in history the swap, commissiom, profit for 1 summed result and view in the chart. I have 5 results for 5 trades– each over and over the other It must be 1 summing result with 1 line. And ist must working for all situations. For 1 trade or for 1000 trades. If you have time please have a look. I have in attached my code part from the EA.
The importentst Question for me with this situation is : How can I count/summing in History the swap, commission, Profit for trades which have the OrderOpenTime() in the same hour. The rest is easy. find the lowest SL for Buy, highest SL for Sell, the earliest OrderOpenTime for start the lines and so on. But the counting in History and extraction of trades open in same hour - it´s will no work.
If you can solve my problem, I can send you the part of EA code to fix it and you can integrate all necessary things.
And please tell e how mutch money you need for it, if the job is to mutch work for my specified budget, please tell me your price.
Thanks now and frendly regards
SuperWutsch