Coffee

This is the place to discuss EdgeRater Chart Script

Moderator: Chris White

Post Reply
henry1224
Posts: 457
Joined: Wed Feb 24, 2016 12:04 pm

Coffee

Post by henry1224 »

this is an indicator from a guy called Kumo Bob who developed this indicator while drinking his morning coffee

under the parameters tab

N double 1 1 100
N2 double 4 2 100
N3 double 3 2 100

now for the formula


MaxHigh:= Max(Ref(Close,N), High);
MinLow:= Min(Ref(Close,N), Low);
Range:= MaxHigh - MinLow;
Divisor:= If(Range == 0 ,.0001 , Range) ;
Coffee :=(((Close - MinLow) - (MaxHigh - Close)) / Divisor);
CAvg:WMA(Coffee,N2);
BPerAvg : MA(CAvg, N3),ColorBlue;
UZ :MA(CAvg, 30) + (1.3185 * StD (CAvg, 30)),Width2,ColorViolet;
LZ: MA(CAvg, 30) - (1.3185 * StD (CAvg, 30)),Width2,ColorViolet;
FillRgn(CAvg>0,0,CAvg),Brush#50008000;
FillRgn(CAvg<0,0,CAvg),Brush#50800000;
Post Reply