VV:=EMA(C,5); EM:=EMA(C,10); EA:=EMA(C,20); EB:=EMA(C,30); EC:=EMA(C,60); B1:=1000*EM/EC<=1015 AND 1000*EM/EC>=975; B2:=1000*EA/EC<=1020 AND 1000*EA/EC>=980; B3:=1000*EB/EC<=1015 AND 1000*EB/EC>=985; B4:=B1 AND B2 AND B3 AND OSS(VV,EM); B5:=B1 AND B2 AND B3 AND CROSS(VV,EB); Z1:=1000*EM/EB<=1010 AND 1000*EM/EB>=990; Z2:=1000*EA/EB<=1010 AND 1000*EA/EB>=990; Z3:=Z1 AND Z2 AND CROSS(VV,EM) OR B4; Z4:=Z1 AND Z2 AND CROSS(VV,EB) OR B5; BB:=REF(C,1)
[O;BB1:=CROSS(.MACD,0) AND C>MA(C
]