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

Previous Value



PureBytes Links

Trading Reference Links

c1=stochd();
c2=ref(c1,-1);
graph0=c1;
title=name()+" , STOCHD()= "+writeval(c1,format=1.1)+" ( "
+writeval(c2,format=1.1)+" )";

Now, for STOCHD graph, you may read from the title the 
last value of STOCHD and the previous in the parenthesis.
In the first line you may replace
c1=stochd();
with the one you prefer to graph, (example c1=macd();)
replacing the name of indicator in the last line.
It may help read small differences of 0.1 as in att. gif .
If your indicatror needs more decimals, change in above
code format=1.1 with format=1.2 or format=1.3 

Dimitris Tsokakis

------=_NextPart_001_0010_01C11AC0.973720A0
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 near a turning point, it is not easy 
to</FONT></DIV>
<DIV><FONT size=2>read from your graph if today&acute;s value is higher, equal or 
lower</FONT></DIV>
<DIV><FONT size=2>than the previous one.</FONT></DIV>
<DIV><FONT size=2>You may paste in Indicator Builder the code :</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>c1=stochd();<BR>c2=ref(c1,-1);<BR>graph0=c1;<BR>title=name()+" 
, STOCHD()= "+writeval(c1,format=1.1)+" ( "<BR>+writeval(c2,format=1.1)+" 
)";</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>Now, for STOCHD graph, you may read from the title 
the&nbsp;</FONT></DIV>
<DIV><FONT size=2>last value of STOCHD and the previous in the 
parenthesis.</FONT></DIV>
<DIV><FONT size=2>In the first line you may replace</FONT></DIV>
<DIV><FONT size=2>c1=stochd();</FONT></DIV>
<DIV><FONT size=2>with the one you prefer to graph, (example 
c1=macd();)</FONT></DIV>
<DIV><FONT size=2>replacing the name of indicator in the last line.</FONT></DIV>
<DIV><FONT size=2>It may help read small differences of&nbsp;0.1 as in att. 
gif</FONT>&nbsp;<FONT size=2>.</FONT></DIV>
<DIV><FONT size=2>If your indicatror needs more decimals, change in 
above</FONT></DIV>
<DIV><FONT size=2>code </FONT><FONT size=2>format=1.1 with format=1.2 or 
format=1.3 </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>Dimitris Tsokakis</FONT></DIV></BODY></HTML>

------=_NextPart_001_0010_01C11AC0.973720A0--

Attachment:
gif00089.gif

Attachment: Description: "Description: GIF image"