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

Re: [amibroker] Stochastic Trendlines



PureBytes Links

Trading Reference Links

Nice job...
Can you code this?

How about Relative Slope, Balance of Power 
and Wilder %R with Similar Trendlines.

Mr. Valley

--- 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
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1