in Search

mid-month, mid-hour test rules

Last post 06-29-2009, 2:49 by manatrader. 4 replies.
Sort Posts: Previous Next
  •  06-25-2009, 18:10 29992

    mid-month, mid-hour test rules

    Quotecenter data uses local time, and in Hawaii we don't have daylight savings. So to test intraday further back than 3/10, I need a work around. Similarly, I'm not sure how to compose mid-hour rules if there's more than one. I've been using, in addition to other rules

    entry 'and hour()>3 and hour()<9'
    exit 'or (hour()=9 and minute()=50)'

    The exit is fine, but the entry is limited to referencing only the hour, since I can't say 'and time is > hour/minute and < hour/minute'. With the date problem I have the same thing, I'd have to just skip march as I can't say date is > this month and day, < that month and day.

    Don't see any option to get quotecenter data in eastern time, dunno what's the solution............
    Thanks
    :)

  •  06-26-2009, 16:32 30004 in reply to 29992

    Re: mid-month, mid-hour test rules

    MetaStock runs of the Date/Time Properties of your PC.  This means if you change your PC to Eastern Time and restart MetaStock, all the data will be stamped by Eastern Time.  You will likely need to delete the data in C:\MetaStock Data\DataOnDemand Cache, or by refreshing each chart after you open them.
  •  06-26-2009, 20:52 30008 in reply to 30004

    Re: mid-month, mid-hour test rules

    Nice, thanks
  •  06-27-2009, 13:39 30014 in reply to 30004

    Re: mid-month, mid-hour test rules

    Oops, wait, that doesn't change the problem. Do I need to break tests up into multiple segments? That's a pretty poor solution.. Anyway to say 'between these times between these dates and between these times between these dates'...............?
  •  06-29-2009, 2:49 30026 in reply to 30014

    Re: mid-month, mid-hour test rules

    Bump bump.. After changing my computer time as suggested, I downloaded some quotecenter data into excel, it shows 4pm end of day after 3/10, 5pm prior... Which is why I'm still wanting to know how to code the mid-month, mid hour stuff.. Gotta be an answer, hmm..
    Thanks
    :)
View as RSS news feed in XML