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

Re: [amibroker] Study break not working



PureBytes Links

Trading Reference Links

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]



------------------------ 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/