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

[amibroker] Re: Study break not working (Tomasz, help please)



PureBytes Links

Trading Reference Links


Some more info, hopefully this helps someone work out what the bug is:

I tried again, on the Australian stock HWI. It worked correctly:
http://krop.cjb.cc/HWIworks.png

Then I adjusted and extended the trendline slightly, and immediately 
ran the scan again. I made no other changes. This time it failed: 
http://krop.cjb.cc/HWIfails.png

Regards, 
Chris


--- In amibroker@xxxxxxxxxxxxxxx, "Anthony Faragasso" <ajf1111@xxxx> 
wrote:
> I am also using the most recent Beta...
>   ----- Original Message ----- 
>   From: Kropotkin 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   Sent: Monday, November 01, 2004 7:15 AM
>   Subject: [amibroker] Re: Study break not working
> 
> 
> 
>   Thanks Anthony. 
> 
>   Maybe it's a beta problem. I'm using 4.63 beta. I was getting 
getting 
>   the same problems with my previous version (4.58 beta, I think). 
>   Tomasz?
> 
>   Cheers
>   Chris
> 
> 
> 
>   --- In amibroker@xxxxxxxxxxxxxxx, "Anthony Faragasso" <ajf1111@xxx
.> 
>   wrote:
>   > I created a trendline sloping down, using ticker APPX....called 
it 
>   StudyID SR...loaded your formula in AA , selected current ticker, 
n 
>   last quotations and n=1, clicked SCAN...double clicked on the 
results 
>   window and the arrows were shown correctly....If we could view 
>   attachments, you could see it.....
>   > 
>   > There is another problem somewhere else....
>   > 
>   > Anthony
>   >   ----- Original Message ----- 
>   >   From: Kropotkin 
>   >   To: amibroker@xxxxxxxxxxxxxxx 
>   >   Sent: Monday, November 01, 2004 6:34 AM
>   >   Subject: [amibroker] Study break not working
>   > 
>   > 
>   > 
>   >   I've found the problem, now I need the solution. 
>   > 
>   >   The problem: if I search for break of support resistance, 
using 
>   code 
>   >   such as: 
>   > 
>   >        Above_SR = C > Study("SR");
>   >        Below_SR = C < Study("SR");
>   > 
>   >        Buy = Above_SR;
>   >        Short = Below_SR;
>   > 
>   >   ... this actually compares current price with the leftmost end 
of 
>   the 
>   >   study - so if it's a sloping trendline, it doesn't give 
accurate 
>   >   results. See an example at http://krop.cjb.cc/ANZstudy.png - 
all 
>   >   candles with close above the study should have a green arrow, 
but 
>   they 
>   >   don't unless they're above the start point of the line. 
>   > 
>   >   The same problem occurs regardless of studyid (RE, SU, UP, DN.
..). 
> 
>   > 
>   >   The weird thing is that occasionally it does work properly - 
but 
>   >   mostly it doesn't. 
>   > 
>   >   Looks like a bug in the program. Is there anything I can do? 
>   > 
>   >   Thanks, 
>   >   Chris
>   > 
>   > 
>   > 
>   > 
>   > 
>   >   Check AmiBroker web page at:
>   >   http://www.amibroker.com/
>   > 
>   >   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. 
>   > 
>   > 
>   > 
>   > [Non-text portions of this message have been removed]
> 
> 
> 
> 
> 
>   Check AmiBroker web page at:
>   http://www.amibroker.com/
> 
>   Check group FAQ at: http://groups.yahoo.
com/group/amibroker/files/groupfaq.html 
> 
> 
>         Yahoo! Groups Sponsor 
>          
>         Get unlimited calls to
> 
>         U.S./Canada
>        
>        
> 
> 
> 
----------------------------------------------------------------------
--------
>   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. 
> 
> 
> 
> [Non-text portions of this message have been removed]





------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

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/