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

Cycles and lines



PureBytes Links

Trading Reference Links

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 determine point 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 Tsokakis

------=_NextPart_001_0024_01C124C3.027306C0
Content-Type: text/html;
charset="iso-8859-7"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-7" http-equiv=Content-Type>
<META content="MSHTML 5.00.3013.2600" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>O. K. I did not cover the subject "circlesand 
lines".</FONT></DIV>
<DIV><FONT face=Arial size=2>Here you are.</FONT></DIV>
<DIV><FONT face=Arial size=2>Open Amibroker.</FONT></DIV>
<DIV><FONT face=Arial size=2>Open Indicator Builder</FONT></DIV>
<DIV><FONT face=Arial size=2>Select an empty Custom Indicator </FONT></DIV>
<DIV><FONT face=Arial size=2>Paste the formula</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>maxgraph=6;<BR>x0=380;<BR>y0=0;<BR>R=20;<BR>x=cum(1);<BR>y1=y0+sqrt(R^2-(x-x0)^2);<BR>y2=y0-sqrt(R^2-(x-x0)^2);<BR>graph0=y1;<BR>graph1=y2;<BR>graph1barcolor=graph0barcolor=2;<BR>y3=iif(cum(1)&gt;x0-R-1 
and 
cum(1)&lt;x0+R,x-x0,-1e10);<BR>graph2=y3;<BR>graph2style=1;<BR>graph2barcolor=2;<BR>y4=iif(cum(1)&gt;x0-R-1 
and 
cum(1)&lt;x0+R+10,x/2-((x0+R)/2),-1e10);<BR>graph3=y4;<BR>graph3barcolor=2;<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>(In the case you do not have 400 days data,change 
x0=380 with </FONT></DIV>
<DIV><FONT face=Arial size=2>another, say x0=200)</DIV></FONT>
<DIV><FONT face=Arial size=2>Hit Apply.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Select ANOTHER empty custom indicator</FONT></DIV>
<DIV><FONT face=Arial size=2>Paste THE SAME FORMULA</FONT></DIV>
<DIV><FONT face=Arial size=2>Hit Apply AGAIN.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>You will receive the same graph two 
times.</FONT></DIV>
<DIV><FONT face=Arial size=2>Use your vertical line tool to determine point A in 
BOTH graphs</FONT></DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Use your vertical line tool to determine 
point&nbsp;B in BOTH graphs</FONT></DIV>
<DIV>Work with any accuracy or zoom you want.</DIV>
<DIV>The points where lines cut the circle are always the same.</DIV>
<DIV>Play with the size of two windows.</DIV>
<DIV>"Legal" circles transform to "illegal" and "dangerous" ellipses,</DIV>
<DIV>BUT the cross points remain and will remain the same.</DIV>
<DIV>&nbsp;</DIV>
<DIV>It is not so difficult now to imagine that one of those functions</DIV>
<DIV>could be ^NDX graph or any stock graph.You have it in your Amibroker</DIV>
<DIV>and you use it everyday, unless if you do not know it.</DIV>
<DIV>&nbsp;</DIV>
<DIV>And please DO NOT CHANGE WORDS at will.</DIV>
<DIV>&nbsp;</DIV>
<DIV>"As you have discussed and shown, if you plot relative to the X &amp; Y 
</DIV>
<DIV>axis you usually get an ellipse.&nbsp; This, however, is not what you want, 
"</DIV>
<DIV>&nbsp;</DIV>
<DIV>BOTH CURVES HERE ARE CIRCLES(CYCLES).</DIV>
<DIV>
<DIV>BOTH CURVES&nbsp;IN #3876 ARE CIRCLES(CYCLES).</DIV></DIV>
<DIV>THEY ARE NOT ELLIPSES</DIV>
<DIV>ELLIPSE HAS A DIFFERENT EQUATION.</DIV>
<DIV>In this example we speak about circles(cycles).</DIV>
<DIV>And bring me any "analyst" to prove the opposite.</DIV>
<DIV>It is always easy to speak "in general" and build up "funtamentals"</DIV>
<DIV>BUT it is always easier to prove what we say</DIV>
<DIV>&nbsp;</DIV>
<DIV>This&nbsp;was the example for circles and lines.</DIV>
<DIV>And, if you remember old wireless words, OVER AND OUT.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Dimitris Tsokakis</DIV></DIV></FONT></BODY></HTML>

------=_NextPart_001_0024_01C124C3.027306C0--

Attachment:
gif00121.gif

Attachment: Description: "Description: GIF image"