First I recommend to check out the timeframe functions like TimeframeGetPrice or timeframeset/restore/expand

Than define the levels from the gap.

 

Best Regards

 

Thomas

www.tradingbasis.com

 


From: [email protected] [mailto:[email protected]] On Behalf Of micmus2002
Sent: Tuesday, October 17, 2006 2:32 PM
To: [email protected]
Subject: [amibroker] Intraday timings

 

I am trying to code an intraday play and need a way to find out when
one of two exit conditions happens,

For example I have a gap play. I buy the open if its below the previous
days close.

I then want to exit he positon if either the gap is closed or the price
goes below a certain level. (Say open - gap value).

For coding pruposes I need to work out the time of day either (or both)
of these events occurred.

Has anyone got any code that helps with that type of problem.

Thanks a lot

MM

__._,_.___

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 other support material please check also:
http://www.amibroker.com/support.html






SPONSORED LINKS
Software support Small business finance Business finance online
Business finance training Business finance course

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to