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

Re: [amibroker] Cycles and lines



PureBytes Links

Trading Reference Links


Dimitris:
 
I don't have time to look at your new program at 
this time, but I'll address your comment.
 
You fail to understand that use of the term circular 
does not refer to the equation but to the display on the screen for the reasons 
discussed previously.  And so when I say "As you have discussed and shown, 
if you plot relative to the X & Y 
axis you usually get an ellipse.  This, however, is not what you 
want," that is what I mean.  I do not disagree that you have usedthe 
equation for a circle, and even said so very directly as I suspected that 
you were missing the point (#3882).  As you miss this point, it appears 
that you are missing the focus of the discussion.  Go back and 
read the entire thread that started several days ago from this perspective and 
then whether you agree or disagree you will at least be addressing the 
issue.
 
Bill
 
---- Original Message ----- 
<BLOCKQUOTE 
>
<DIV 
>From: 
Dimitris 
Tsokakis 
To: <A title=amibroker@xxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: Tuesday, August 14, 2001 6:14 
AM
Subject: [amibroker] Cycles and 
lines

O. K. I did not cover the subject "circles and 
lines".
Here you are.
Open Amibroker.
Open Indicator Builder
Select an empty Custom Indicator 
Paste the formula
 
<FONT face=Arial 
size=2>maxgraph=6;x0=380;y0=0;R=20;x=cum(1);y1=y0+sqrt(R^2-(x-x0)^2);y2=y0-sqrt(R^2-(x-x0)^2);graph0=y1;graph1=y2;graph1barcolor=graph0barcolor=2;y3=iif(cum(1)>x0-R-1 
and 
cum(1)<x0+R,x-x0,-1e10);graph2=y3;graph2style=1;graph2barcolor=2;y4=iif(cum(1)>x0-R-1 
and 
cum(1)<x0+R+10,x/2-((x0+R)/2),-1e10);graph3=y4;graph3barcolor=2;
(In the case you do not have 400 days data,change 
x0=380 with 
another, say x0=200)
Hit Apply.
 
Select ANOTHER empty custom 
indicator
Paste THE SAME FORMULA
Hit Apply AGAIN.
 
You will receive the same graph two 
times.
Use your vertical line tool to determinepoint A 
in BOTH graphs

Use your vertical line tool to determine 
point B in BOTH graphs
Work with any accuracy or zoom you want.
The points where lines cut the circle are always the same.
Play with the size of two windows.
"Legal" circles transform to "illegal" and "dangerous" ellipses,
BUT the cross points remain and will remain the same.
 
It is not so difficult now to imagine that one of those functions
could be ^NDX graph or any stock graph.You have it in your 
Amibroker
and you use it everyday, unless if you do not know it.
 
And please DO NOT CHANGE WORDS at will.
 
"As you have discussed and shown, if you plot relative to the X & Y 

axis you usually get an ellipse.  This, however, is not what you 
want, "
 
BOTH CURVES HERE ARE CIRCLES(CYCLES).

BOTH CURVES IN #3876 ARE CIRCLES(CYCLES).
THEY ARE NOT ELLIPSES
ELLIPSE HAS A DIFFERENT EQUATION.
In this example we speak about circles(cycles).
And bring me any "analyst" to prove the opposite.
It is always easy to speak "in general" and build up "funtamentals"
BUT it is always easier to prove what we say
 
This was the example for circles and lines.
And, if you remember old wireless words, OVER AND OUT.
 
Dimitris TsokakisYour use of Yahoo! Groups is 
subject to the Yahoo! Termsof 
Service.