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

Re: Stochastic Trendlines



PureBytes Links

Trading Reference Links

Thanks a lot!
CCC
--- In amibroker@xxxx, "Dimitris Tsokakis" <TSOKAKIS@xxxx> wrote:
> An amibroker user asked an interesting question.
> In Stochastic Trendlines formula, 
> 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(aS>0,5,4);
> Graph7BarColor = IIf(aR>0,5,4);
> 
> Of course the same may be applied to /*Pattern Recognition graph*/ 
> at
> http://www.amibroker.com/library/detail.php?id=105
> and anywhere else.
> 
> Dimitris Tsokakis