PureBytes Links
Trading Reference Links
|
An amibroker user asked an
interesting question.
In Stochastic Trendlines formula,
<A
href="">http://www.amibroker.com/library/detail.php?id=103
the lines to be green when
ascending and red when descending.
I never thought when preparing the
formula,
but the answer follows:
Replace the lines
graph6color = 1;
graph7color = 1;
with the following
Graph6BarColor = IIf<FONT
color=#000000 size=2>(aS>0<FONT
color=#000000 size=2>,5<FONT
color=#000000 size=2>,4<FONT
color=#000000 size=2>);<FONT color=#000000
size=2>
Graph7BarColor = <FONT
color=#800080>IIf(aR><FONT
color=#0000ff>0,<FONT
color=#0000ff>5,<FONT
color=#0000ff>4);
Of
course the same may be applied to /*Pattern Recognition graph*/
at<FONT
color=#000000>
<A
href=""><FONT
face="Bookman Old Style"
size=2>http://www.amibroker.com/library/detail.php?id=105
<FONT face="Bookman Old Style"
size=2>and anywhere else.
<FONT face="Bookman Old Style"
size=2>Dimitris Tsokakis
|