PureBytes Links
Trading Reference Links
|
I think I did it :o)
Graph0 = StochK();
Graph1 = StochD();
DF = StochK()-StochD();
DF1 = IIF( DF>0, DF, 0 - DF);
DF2 = DF1 * 2; /* Just to make it a little more visable */
Graph2 = DF2;
Title=Name() + "- Stochastic Slow - %K=" + WriteVal(Graph0 )+ ", %D="
+ WriteVal(Graph1) + ", Difference = " + WriteVal(DF1);
Maybe this will help someone. If not, it was still a learning
experience for me :o)
Nathan
--- In amibroker@xxxx, njpowell@xxxx wrote:
> What would be the easiest way to view a histogram of the difference
> between the %D and %K line? How hard would it be to change a
> negative difference to positive so that we could overlay the Stoch
> indicator? This would track the difference and not worry about
> wether it's positive or negative.
>
> Thanks in Advance
> Nathan
|