| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| TradeChart https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4389 |
Page 8 of 9 |
| Author: | renexxxx [ Wed Nov 18, 2020 8:06 am ] |
| Post subject: | TradeChart |
Noted. Over the years I have had many complaints about TradeChart (and also TradeReport), but never something like this. I have never experienced this "bug" myself and I have not been able to reproduce it. So, it is a bit hard to diagnose, let alone fix it. So, apparently, TradeChart is overloading the trade server with "messages". Looking at the code, the only thing I can see that TradeChart is bothering the trade server with is with the message that says "Enable all Trade History". Some people only want to see just the last day or the last week of trade activity in their "Account History"-tab, but for TradeChart to work well, it needs to have access to the entire history since the beginning of the account. In TradeChart3 and TradeChart4 this message was sent to the trade server every 30 seconds. It is still beyond me that the poor trade server can not handle this but alas. Anyway, in the new version, this message is only sent once, in OnInit(). So, if someone goes crazy with flipping through timeframes or changing parameters, it could still upset the trade server. However, it should not if you leave the indicator alone. Also, the new version is making good on my earlier promise to merge TradeReport and TradeChart. I attach a test version of the new code here ... it is called TestTradeReport, to be renamed to TradeReport when testing is complete. If someone can think of a better name (given that it also contains the TradeChart functionality), please shout. For now, I will only attach the .ex4 file. But once I've cleaned up the code and the new version has proven to be working well, I will also attach the source code, so that someone can change two lines and sell it on eBay for $99. You're welcome. PS: In order to see the TradeChart-like metrics (what used to be under the "Info" button), set the ShowExtendedStats parameter to true |
|
| Author: | barry [ Wed Nov 18, 2020 11:32 am ] |
| Post subject: | TradeChart |
Thanks for doing that Rene. A new name - maybe something like TradeMetrics? |
|
| Author: | heart1010 [ Wed Nov 25, 2020 9:43 pm ] |
| Post subject: | TradeChart |
Thanks Rene - first tests with the new/combined indicator doing ok so far here |
|
| Author: | c1borg [ Thu Nov 26, 2020 2:52 pm ] |
| Post subject: | TradeChart |
Absolutely love it |
|
| Author: | Tebis [ Thu Nov 26, 2020 3:36 pm ] |
| Post subject: | TradeChart |
Hi Rene, thanks a lot for the update. |
|
| Author: | biobier [ Tue Jan 05, 2021 11:12 am ] |
| Post subject: | TradeChart |
I like the new version, good job. On one of my accounts I get an error (default settings): 2021.01.05 07:02:52.366 TradeReport XAUUSD-ECN,H1: zero divide in 'TestTradeReport.mq4' (2250,176) |
|
| Author: | renexxxx [ Tue Jan 05, 2021 7:29 pm ] |
| Post subject: | TradeChart |
Thanks for the feedback. Can you check if the attached version (below) solves the mentioned zero divide? |
|
| Author: | biobier [ Wed Jan 06, 2021 7:21 am ] |
| Post subject: | TradeChart |
Yes, it does! Thanks. |
|
| Author: | jptwardy [ Thu Jan 07, 2021 9:55 pm ] |
| Post subject: | TradeChart |
Hi Rene - just tried the new testradereport indi - just great! Just one comment,question. I noticed when changing the graph line colors the color key on the screen does not change - is it supposed to? Since I can't see blue or green the color key is unreadable. I changed the graph lines so I can see them fine. Thanks |
|
| Author: | renexxxx [ Fri Jan 08, 2021 3:45 am ] |
| Post subject: | TradeChart |
Hi jpt, I've made a little change to the code such that the colors of the Equity/Balance labels are the same as those of the Equity/Balance lines. However, you now have to configure those colors using the input parameters, eg: and no longer with the color selection from the color-tab: Let me know if this floats your boat. |
|
| All times are UTC | Page 8 of 9 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|