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

here is the formula I could not program



PureBytes Links

Trading Reference Links

Here is the formula I could not get to work. Can someone email the formula
for an indicator named the Double Stochastic, my version no longer compiles
in the Power Editor.


Oscillator(Osc) = 100 * (XMA(Price,Length1) / XMA(Price,Length2) - 1)

XMA = exponential moving average
Price = Close
Length1 = short look back(12)
Length2 = long look back(26)


Upper Boundary(UB) = EMA( AbsValue(Osc),Length3) * Weight

Length3 = look back(18)
Weight = 0.9


Low Boundary(LB)  = UB * -1

Plot1 = Osc (line)
Plot2 = UB (line)
Plot3 = LB (line)