DEA:=EMA(DIF, medium);
DEA 1:=REF(DEA, 1);
MACD:=(DIF-DEA)* 2;
aa 1:= dif & gt; dea
aa2:= o & gt; ref(c, 1)? And then what? l & gtref(h, 1)? And then what? v/ref(v, 1)> 1.5? And then what? c/ref(c, 1)> 1.04;
aa3:= o & lt; ref(c, 1)? And then what? h & ltref(c, 1)? And then what? v & ltref(v, 1)* 0.8;
xg:aa 1? And then what? ref(aa2, 1)? andaa3
(Tested)