stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

TradeChart
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4389
Page 3 of 9
Author:  Gertje [ Mon Sep 05, 2016 5:14 pm ]
Post subject:  TradeChart

tomele » Mon Sep 05, 2016 4:32 pm wrote:Thank you Rene for this lightningfast fix. You are the greatest.

:yahoo: :yahoo: :yahoo: :!!: :!!: :!!:
Flipping timeframe would have done the same for you.... ;)
Author:  wezzley [ Sat Sep 17, 2016 7:38 pm ]
Post subject:  TradeChart

:clap: Great tool - many many thanks :clap:

:good: :good: :hi: :hi: :hi: :good: :good:
Author:  Raj4x [ Tue Nov 15, 2016 7:08 am ]
Post subject:  TradeChart

Quick question:

I noticed the Max Floating Loss and Max Drawdown change dramatically when I change timeframes. I've made some screenshots of the same terminal, no open trades.
Author:  renexxxx [ Tue Nov 15, 2016 7:39 am ]
Post subject:  TradeChart

Hi Raj4x,
In theory, the higher the granularity (i.e the smaller the timeframe), the better is the accuracy. As mentioned in Post 1 of this thread, the drawdown for a historical candle is calculated by figuring out what trades were open during that candle and what was the typical price of the instruments/symbols at that time. Knowing this, and knowing the opening price of these trades and their lot sizes, we can roughly figure what the UPL was for these trades during that candle. If we do this for every 1-Minute candle we would get a better approximation than if we do this for every daily candle. Of course, this assumes that the historical price data is accurate for the timeframes we are interested in.

Hopefully, this explains the differences on the TradeChart display.
Author:  kwchau [ Tue Nov 15, 2016 7:49 am ]
Post subject:  TradeChart

renexxxx » Tue Nov 15, 2016 3:39 pm wrote:Hi Raj4x,
In theory, the higher the granularity (i.e the smaller the timeframe), the better is the accuracy. As mentioned in Post 1 of this thread, the drawdown for a historical candle is calculated by figuring out what trades were open during that candle and what was the typical price of the instruments/symbols at that time. Knowing this, and knowing the opening price of these trades and their lot sizes, we can roughly figure what the UPL was for these trades during that candle. If we do this for every 1-Minute candle we would get a better approximation than if we do this for every daily candle. Of course, this assumes that the historical price data is accurate for the timeframes we are interested in.

Hopefully, this explains the differences on the TradeChart display.

Hi Renee, thanks so much for your excellent indicator which benefits all of us in this forum.

I have it in every Empty4 instance to keep track of the performance. However, it seems to take up quite a bit of CPU power, is there anyway that the user could lengthen the timeframe so as to reduce the weight on CPU power. For me, I really don't need to look at the TradeChart too frequently.

Thanks again for your generosity to share this very useful indicator.

Cheers,
kwchau
Author:  renexxxx [ Tue Nov 15, 2016 8:50 am ]
Post subject:  TradeChart

kwchau » Tue Nov 15, 2016 5:49 pm wrote: However, it seems to take up quite a bit of CPU power, is there anyway that the user could lengthen the timeframe so as to reduce the weight on CPU power. For me, I really don't need to look at the TradeChart too frequently.
Have you downloaded the latest version? Some time ago I uploaded a version that reduced the load on the CPU. Try that first.
Author:  kwchau [ Tue Nov 15, 2016 9:46 am ]
Post subject:  TradeChart

renexxxx » Tue Nov 15, 2016 4:50 pm wrote: Have you downloaded the latest version? Some time ago I uploaded a version that reduced the load on the CPU. Try that first.
Thanks Rene, frankly I'm not sure about that, I'll try the latest version and see if it helps.

Cheers,
kwchau
Author:  Raj4x [ Tue Nov 15, 2016 11:03 am ]
Post subject:  TradeChart

Thanks, excellent. Your explanation makes perfect sense. :cheer:
Author:  matfx [ Tue Dec 20, 2016 9:21 am ]
Post subject:  TradeChart

Thanks renexxxx this is a great tool.
Author:  renexxxx [ Sun May 07, 2017 2:14 am ]
Post subject:  TradeChart

There is an update (named: TradeChart3) in Post 1 of this thread. The main update relates to the info panel, as I felt it didn't quite provide enough information.

To illustrate, I have been running a strategy that has produced the following TradeChart:
TradeChart1.PNG
In this particular instance, the equity (blue) line is almost consistently above the balance (golden) line. In other words, the Unrealized (floating) Profit/Loss figure is mostly positive. In fact, TradeChart2 (the previous version) calculated that the UPL has not been more negative than -$209 (or 0.6%). This is fantastic news, however, it doesn't tell me how much the equity and balance has suffered during the course of the trading period. This has been improved in the new version (TradeChart3). See below:
TradeChart3.PNG
The Max Equity, Max Balance, Max Profit, Min Equity, Min Balance and Min Profit are largely the same. (Incidentally, in this context Profit is the difference between Equity and Balance).

However, it now also includes the "Maximum Equity Drop" and the "Maximum Balance Drop". These figures represent the largest drop (in the account currency) from Peak to Trough. (For the mathematically inclined: In order to work out these figures for an array with N values, we require (N-1)*(N-2)/2 comparisons).

There is an option called DrawLargestDropLines, that allows you to have these largest drop-lines displayed on the chart.

In addition, there is an "Equity Drop %" and "Balance Drop %" figure, that displays this largest drop as a percentage of the value at the peak.

I believe that these new figures provide a more complete picture of how well or poor a strategy is performing. What is still missing is a figure/chart for the margin used during the course of the trading period. This latter one will be hard to calculate as different brokers have different rules for calculating margin used.

Have fun.
All times are UTC Page 3 of 9