Comment on EA's for auto buy/sell signals - Pi

sunil commented on 06 May 2016, 06:13 PM

Hie Experts.

I`m trying to write a script but not able to convert into running script
my idea is

onchart

Two moving average
Set A = WWS(CLOSE,5)
set B = WWS(CLOSE,15)
buy when
crossover(A,B) and
sell when
crossover(B,A)

now i want to introduce stochastic momentum index also in above formula , what i understant from manual is
below formula

Stochastic momemtum index
SMID(14, 2, 3, 9, WMA, WMA) > 40 OR SMIK(14, 2, 3, 9, WMA, WMA) > 40

but dont know how to combine this with above crossover

any help with be grateful

Regards
Sunil

View the full comment thread »