PureBytes Links
Trading Reference Links
|
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
<http://www.tradingbasis.com/> www.tradingbasis.com
_____
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of micmus2002
Sent: Tuesday, October 17, 2006 2:32 PM
To: amibroker@xxxxxxxxxxxxxxx
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
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.27/517 - Release Date: 11/3/2006
|