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

Re: [amibroker] OT: HTML vs. Plain Text



PureBytes Links

Trading Reference Links










DT:  It keeps getting better and
better.

 

I will look later to see if I can make the
Title statement say

 

Fib(  x) will occur in y bars on 7/6/2004<span
>    ---
(or whatever date the number of bars converts to).

 

In a foot race, you would be able to
accomplish this faster than I, but I shall try.

 

Is it possible?

 

I have also duplicated and altered the
function to plot two trendlines (AB and AC) and look where the different dots
fall almost on top of each other.

 

This is supposed to be even higher probability
of a reversal according to the theory.

 

Finally perhaps, if the code could also
plot the Sto or RSISto and see where dots fall when the Sto is below 20 (or
above 80), then this too becomes an even higher probability turning point.

 

Perhaps we are getting closer to a point
where your hesitation is less to use this theory for a
trade???    I think not.

 

Ken

 

-----Original Message-----
From: Dimitris Tsokakis
[mailto:TSOKAKIS@xxxxxxxxx] 
Sent: Monday, June 14, 2004 4:03
AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Fibonacci
Time zones

 



 





<span
>// Fib Time zones





Plot(C,"C",1,64);GraphXSpace=2;





AB=Study("AB",GetChartID());





T1=ValueWhen(Cum(IsTrue(AB))==1,BarIndex());





T2=LastValue(ValueWhen(IsTrue(AB),BarIndex()));





K=0;Title=""<span
>;





procedure p(f)





{





K=K+1;





PlotShapes(shapeCircle*(BarIndex()-t2==int(f*(t2-t1))),colorRed);





g=-BarIndex()+t2+int(f*(t2-t1));





Plot(g==0,"",30+K,2+styleLeftAxisScale);





Title=Title+WriteIf(g>0,"\nFib["+NumToStr(f)+"] will
occur in "+WriteVal(g,1.0)+" bars","");





}





p(0);





p(0.382);





p(0.5);





p(0.618);





p(1);





p(1/0.618);





p(1/0.5);





p(1/0.382);





 







Draw a characteristic trendline[a trough-to-peak or a peak-to-trough],
paint it yellow and name it AB.





The title will warn you for the upcoming "Fib" bars.





The time segments are Fib multiples of the AB period.





<span
>Comments:





1. If you still wonder why Fib theories are attractive for the last 800
years, see the "exact" points 





X1[0.382] and X2[1.618] of the last Nikkei chart...





2. If you have any idea, why yes [for 1.618] and why not [for 2.000], I
am 89% cash now, so please let me know...





Dimitris Tsokakis







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

Check group FAQ at: <a
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html










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
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 the Yahoo! Terms of Service.











---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.692 / Virus Database: 453 - Release Date: 5/28/2004
 

  

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.706 / Virus Database: 462 - Release Date: 6/14/2004