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

Thread: New 20DMF RT

Hybrid View

  1. #1
    When we are in Short mode and cross below -30, a forced buy is executed when the OB/OS returns back above +30, if the MF is still in negative at that time.

    pascal

  2. #2
    Join Date
    Dec 1969
    Location
    New Jersey
    Posts
    189
    Pascal,

    Are the discontinuity jumps at the open of the cum tick moving average to be believed?

    Harry

  3. #3

    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: 693
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: 726
Size:  3.5 KB

  4. #4
    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

  5. #5
    There was a jump yesterday morning because we started the service at 9:40 instead of 9:30 and the price gap attracted buying for the first 10 minutes.

    The Cumulative Ticks of the previous days - before the system was put on-line yesterday - is not correct as there was a calculation error that has since been corrected.


    Pascal

  6. #6
    Quote Originally Posted by Pascal View Post
    There was a jump yesterday morning because we started the service at 9:40 instead of 9:30 and the price gap attracted buying for the first 10 minutes.

    The Cumulative Ticks of the previous days - before the system was put on-line yesterday - is not correct as there was a calculation error that has since been corrected.


    Pascal
    Is the Cumalative Tick based on The R2000, NYSE, or All US ?

    Also, the current graph does not show the CumTick passing down through the 600min. Why is this please ?

    Thanks in advance.
    Trev

  7. #7
    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: 753
Size:  8.8 KB

  8. #8
    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

+ 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