+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 11 to 18 of 18

Thread: New 20DMF RT

  1. #11
    It is only the NYSE Tick.

    The graph does not show that the Tick came below its average, because when it crossed below, the system froze due to a bug and then restarted later when the Cumulative Tick was above its average again.

    The real pattern is shown below



    Pascal

    Name:  C-Tick.gif
Views: 751
Size:  8.8 KB

  2. #12
    Quote Originally Posted by Pascal View Post
    It is only the NYSE Tick.

    The graph does not show that the Tick came below its average, because when it crossed below, the system froze due to a bug and then restarted later when the Cumulative Tick was above its average again.

    The real pattern is shown below



    Pascal

    Attachment 16267
    Thanks Pascal.

    I watch the 600min NYSE ($TICK1 min) on Tradestation = xaverage(cum(c). 600)

    This has been trending down since about 11am yesterday. Why the decrepancy do you think ?

    Trev

  3. #13
    I do not use TS. So I cannot comment.
    However, we can note that the Cumulative Tick has had moves similar to IWM, which follows 2000 small size stocks.
    IWM has been reluctant to go down.


    Pascal

  4. #14
    Quote Originally Posted by Pascal View Post
    I do not use TS. So I cannot comment.
    However, we can note that the Cumulative Tick has had moves similar to IWM, which follows 2000 small size stocks.
    IWM has been reluctant to go down.


    Pascal
    Pascal,

    I do not want to belabour this point but it may be important in the long term.

    I watch the following Tick Charts on Tradestation :-

    $TIKRL = Russell 2000 Tick
    $TICK1 = NYSE Tick
    $TIKUSC = All US Tick Comp

    At this moment in time all the 600 minute (xaverage(cum(c). 600) averages are trending down. Your RT graphed 600 min Average Cumalative Tick is trending up.

    Something is obviously wrong . How sure are you that your data provider is correct ? (I am not saying my figures are correct but I think this observation needs checking as this is an imprtant element of the new 20 DMF RT).

    Trev

  5. #15
    $TIKQ and $TIKUSC 600min is moving up this morning (on TS) if you use average instead of xaverage. I find Pascal's cum tick is a lot similar to $TIKUSC than to $TICK based on last couple of days' chart.

    PS, I tried both average and xaverage, seems the difference is very similar and charts look similar
    Last edited by Wei; 10-31-2012 at 02:54 PM.

  6. #16
    I understand the issue.
    It is more probably due to data sampling of one minute compared to faster data sampling that TS uses.
    We use one minute mainly because it is the only format that allows access to 5 years of back data... and we need to use the same data on the system that was used for the backtest.

    In other words, we could display a CTick similar to Tradestation, but then it could not be comparable to what was used in the back-test.

    I will come back to this discussion on Monday next week, as I am abroad now with limited resources in terms of time and calculation power.


    Pascal

  7. #17

    Cumulative Tick

    To come back to this discussion, i would like first to remind what the Cumulative Tick is:

    "The NYSE tick is the number of stocks whose current price is higher than the previous trade (uptick) minus the number whose current price is lower than the previous trade (downtick). This takes the entire NYSE Market into account."

    This means that the NYSE Tick changes every millisecond or less. It is therefore a "snapshot" picture taken at a certain time. If between two snapshot pictures, 15 stocks had an uptick and 10 had a downtick, the different is +5. The cumulative tick would simply add this number every time a snapshot picture is taken.

    When such snapshots are taken at intervals of 5 seconds, there will of course be more moves (higher numbers) than for snapshots taken every 0.001 second. However, within 5 seconds, many stocks can have upticks AND downticks. What we measure is simply the different for each stock (Up - Downticks.) This means that snapshots that are taken at longer time interval will produce lower figures of cumulative ticks.

    For our back-tests, we have used the IQ feed historical minute based cumulative tick. This Minute based cumulative tick is slower than a cumulative tick that would take snapshots every five seconds.

    We could of course switch to a faster cumulative tick, but the back-test is based on the minute Cumulative tick and no other data is available for the purpose of back-testing.

    Therefore, we will simply keep the current cumulative tick, but rename it the "Minute based Cumulative Tick."

    Moving to 1200 Cumulative Tick average

    However, thanks to this discussion, we had an in depth review of our calculations of the 600 Minutes average. We discovered that the JAVA based calculation led to different figures compared to the historical calculation for the average figure that I performed for my back-tests in VB. This led us to discover that the back-test has been performed using single precision variables instead of a double precision. This means that the 600 minutes average calculated using single precision variables was slower to move than it should normally have been if we had used double precision variables.

    As a consequence, a new back-test was executed using double precision variables. This back-test was performed using a set-up period between July 2007 and end of 2009, and a control period between 2010 and the end of 2012. This back-test showed that the 600 CT had to be replaced by a 1200 minutes average CT.

    As a reminder, the CT will be used in the RT 20DMF as a confirmation tool for short signals only. A 1200 Average CT means that the CT will need to show on average three days of weakness in order to confirm a short signal (390 * 3 = 1170.) Below is an example of the 600 and 1200 Minutes average CT

    Name:  Cumulative_Tick.gif
Views: 691
Size:  17.4 KB

    I attach an excel sheet that includes the new 20DMF RT back-test results on EOD and RT data.
    The RT data are only valid from June 2009.

    20DMF_RT_EOD.xls

    The comparative return table is shown below. The RT system clearly shows out-performance for both long and short trades.

    Name:  EOD_RT comparison 20DMF.gif
Views: 723
Size:  3.5 KB

  8. #18
    Quote Originally Posted by Pascal View Post
    To come back to this discussion, i would like first to remind what the Cumulative Tick is:

    "The NYSE tick is the number of stocks whose current price is higher than the previous trade (uptick) minus the number whose current price is lower than the previous trade (downtick). This takes the entire NYSE Market into account."

    This means that the NYSE Tick changes every millisecond or less. It is therefore a "snapshot" picture taken at a certain time. If between two snapshot pictures, 15 stocks had an uptick and 10 had a downtick, the different is +5. The cumulative tick would simply add this number every time a snapshot picture is taken.

    When such snapshots are taken at intervals of 5 seconds, there will of course be more moves (higher numbers) than for snapshots taken every 0.001 second. However, within 5 seconds, many stocks can have upticks AND downticks. What we measure is simply the different for each stock (Up - Downticks.) This means that snapshots that are taken at longer time interval will produce lower figures of cumulative ticks.

    For our back-tests, we have used the IQ feed historical minute based cumulative tick. This Minute based cumulative tick is slower than a cumulative tick that would take snapshots every five seconds.

    We could of course switch to a faster cumulative tick, but the back-test is based on the minute Cumulative tick and no other data is available for the purpose of back-testing.

    Therefore, we will simply keep the current cumulative tick, but rename it the "Minute based Cumulative Tick."

    Moving to 1200 Cumulative Tick average

    However, thanks to this discussion, we had an in depth review of our calculations of the 600 Minutes average. We discovered that the JAVA based calculation led to different figures compared to the historical calculation for the average figure that I performed for my back-tests in VB. This led us to discover that the back-test has been performed using single precision variables instead of a double precision. This means that the 600 minutes average calculated using single precision variables was slower to move than it should normally have been if we had used double precision variables.

    As a consequence, a new back-test was executed using double precision variables. This back-test was performed using a set-up period between July 2007 and end of 2009, and a control period between 2010 and the end of 2012. This back-test showed that the 600 CT had to be replaced by a 1200 minutes average CT.

    As a reminder, the CT will be used in the RT 20DMF as a confirmation tool for short signals only. A 1200 Average CT means that the CT will need to show on average three days of weakness in order to confirm a short signal (390 * 3 = 1170.) Below is an example of the 600 and 1200 Minutes average CT

    Attachment 16325

    I attach an excel sheet that includes the new 20DMF RT back-test results on EOD and RT data.
    The RT data are only valid from June 2009.

    Attachment 16328

    The comparative return table is shown below. The RT system clearly shows out-performance for both long and short trades.

    Attachment 16327
    Thanks very much Pascal for your comprehensive tests.

    Trev

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts