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

Positive and Negative Cross



PureBytes Links

Trading Reference Links

ST3=stochk();
ST33=stochd();
GRAPH0=ST3;
GRAPH1=ST33;
TITLE=NAME()+" - %K="+writeval(st3,FORMAT=1.2)+", %D="+
WRITEVAL(ST33,FORMAT=1.2)+
writeif(cross(st3,st33)," POSITIVE CROSS"," ")+
WRITEIF(CROSS(ST33,ST3)," NEGATIVE CROSS","");

Similar codes may be written for macd() and its signal() etc.
See the chart at the bottom of attached gif.
A negative stochastic cross occurred, although price, macd(), signal()
and Relative Slope increased. It is better to read it.

Dimitris Tsokakis


------=_NextPart_001_0008_01C11B8A.32573F60
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 size=2>Sometimes, especially if you plot more than two graphs per 
sheet,</FONT></DIV>
<DIV><FONT size=2>it is not easy to see&nbsp;that an interesting cross 
occurred.</FONT></DIV>
<DIV><FONT size=2>If this cross is near the top or near the bottom of your 
graph, is </FONT></DIV>
<DIV><FONT size=2>nearly invisible.</FONT></DIV>
<DIV><FONT size=2>The following code for Indicator Builder will print on the 
title of</FONT></DIV>
<DIV><FONT size=2>Stochastics the&nbsp;occurrence of such a cross.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT 
size=2>ST3=stochk();<BR>ST33=stochd();<BR>GRAPH0=ST3;<BR>GRAPH1=ST33;<BR>TITLE=NAME()+" 
- %K="+writeval(st3,FORMAT=1.2)+", %D="+</FONT></DIV>
<DIV><FONT 
size=2>WRITEVAL(ST33,FORMAT=1.2)+<BR>writeif(cross(st3,st33),"&nbsp;&nbsp;&nbsp;&nbsp; 
POSITIVE CROSS"," ")+</FONT></DIV>
<DIV><FONT size=2>WRITEIF(CROSS(ST33,ST3),"&nbsp;&nbsp;&nbsp;&nbsp; NEGATIVE 
CROSS","");</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>Similar codes may be written for macd() and its signal() 
etc.</FONT></DIV>
<DIV><FONT size=2>See the chart at the bottom of attached gif.</FONT></DIV>
<DIV><FONT size=2>A negative stochastic cross occurred, although price, macd(), 
signal()</FONT></DIV>
<DIV><FONT size=2>and Relative </FONT><FONT size=2>Slope increased. It is better 
to read it.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>Dimitris Tsokakis</FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_001_0008_01C11B8A.32573F60--

Attachment:
gif00091.gif

Attachment: Description: "Description: GIF image"