[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Difference between EOD and Intraday to determine when LOW occurs.



PureBytes Links

Trading Reference Links

Hi Everyone,

I am using EOD data to trade daily. If I get a signal, I enter a
stop-limit order the following morning with IB that gets executed only
if the high of today equals or exceeds yesterday's high:

Buy = H>=Ref(HHV(H,1),-1);

I have noticed that when yesterday's high gets taken out, price can
take a breather and decline, before increasing again - but this is not
always the case, and a few of the best trades are when stocks simply
continue to climb.

Wanting to take advantage of the former, but not miss out on the
latter, I have been thinking about entering some stop limit orders
with a GAT (good after time), so I can scale in throughout the day,
irrespective of the price action other than at some point it has taken
out the high of yesterday.

However this is somewhat difficult to backtest, since EOD data cannot
state when the low occurred - before or after the breach of
yesterday's high. So I am hesitant to assume the complete position is
just some average between the high and the low.

For those statisticians out there, would it be safe to assume that 50%
of the lows occurred on either side of the high? If so, then I can say
that 50% of the trades had an average entry price of (H+L)/2 and 50%
of trades had an average entry price of (H+O)/2. Or there could be a
third option, prices after yesterday's high may not decline, so the
average of my timed entries could be (H+Ref(HHV(H,1),-1))/2....

Or is it necessary to look into intraday data to track the price data
of those equities that have been signaled by my system?





Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/