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

Fw: Histogram



PureBytes Links

Trading Reference Links



I am using the following indicator

-------------------------------------------------------

vars:jaw(0), lips(0), teeth(0);

jaw=SmoothedAverage(close, 13)[8];
lips=SmoothedAverage(close, 8)[5];
teeth=SmoothedAverage(close, 5)[3];


plot1(jaw, "jaw");
plot2(lips, "lips");
plot3(teeth, "teeth");

_______________________________

this plots three moving average
I want to plot a histogram with (lips-jaw) and (teeth - lips)  on the same
plot
and color of bars changing from green to red in case of reduced value and
vice versa
this should be similar to Bill williams Alligator ( histrogram) Investor's
delight

Can some one help me
Thanks in advance