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

Re: [amibroker] Re: The first new high in 250 bars



PureBytes Links

Trading Reference Links

I am not certain if I understand your query, but am answering anyway with my
interpretation of it.

You will get a buy signal everytime the close breaks above the previous 250
day high. AB will in its backtesting take the first occurrence of this
within your backtest time settings, after the first 250 days has passed. It
cannot be within the first 250 days as you do not know if the high is the
250 day high until the first full 250 days has passed. Same as saying 250
day MA, it does not start until 250 days has passed at the start.

Cheers,
Graham
http://groups.msn.com/asxsharetrading
http://groups.msn.com/fmsaustralia 

-----Original Message-----
From: prophesier2002 [mailto:prophesier2002@xxxxxxxxxxxx] 
Sent: Friday, 2 January 2004 8:14 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: The first new high in 250 bars


Thanks for the help but I'm still not getting what I want, which 
is....... No yearly highs for the last 250 bars but then I want to 
identify the first new yearly high after that.
Regards 
David

--- In amibroker@xxxxxxxxxxxxxxx, "Jayson" <jcasavant@xxxx> wrote:
> David,
> you could use simply c>...... the cross is not needed but if you
are looking
> to see only the first occurrence then RT click and choose show
actual trades
> or else add an exrem statement to force only one buy prior to a
sell...
> 
> Regards,
> Jayson
> -----Original Message-----
> From: prophesier2002 [mailto:prophesier2002@x...]
> Sent: Thursday, January 01, 2004 10:26 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] The first new high in 250 bars
> 
> 
> Buy=Cross(C,Ref(HHV(H,250),-1))
> 
> I use this but it does not buy at the first high in 250 bars. What do 
> I have to change for it to buy only at the first new high?
> 
> Regards David
> 
> 
> 
> 
> Send BUG REPORTS to bugs@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web 
> page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at: 
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> 
> 
>       Yahoo! Groups Sponsor
>             ADVERTISEMENT
> 
> 
> 
> 
> 
> -------------------------------------------------------------------
---------
> ----
> Yahoo! Groups Links
> 
>   a.. To visit your group on the web, go to:
>   http://groups.yahoo.com/group/amibroker/
> 
>   b.. To unsubscribe from this group, send an email to:
>   amibroker-unsubscribe@xxxxxxxxxxxxxxx
> 
>   c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.


Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Yahoo! Groups Links

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

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/ 


Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Yahoo! Groups Links

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

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/