Merhaba
1.
e1:=(STOFK(21,5)+RSI(14)+MFI(14)+MO(14)+WILLR(45) +CCI(18)+ULT(7,14,28))/7;
e2:=Mov(e1,19,s);
A:=Mov(2*Mov(C,200,W) - Mov(C,400,W),LastValue(20),W);
B:=A;
cross(c,B) and CROSS(E1,E2)
2.
e1:=(STOFK(21,5)+RSI(14)+MFI(14)+MO(14)+WILLR(45) +CCI(18)+ULT(7,14,28))/7;
e2:=Mov(e1,19,s);
coeff:=1;
AP:=14;
momentum:=1;
mom:=if(momentum=1,MFI(AP),RSI(AP));
upT:=L-ATR(AP)*coeff;
downT:=H+ATR(AP)*coeff;
AlphaTrend:=If(mom>=50,If(upT<PREV,PREV,upT),If(downT>PREV,PREV,downT));
cross(C,AlphaTrend) and CROSS(E1,E2)
Şeklinde deneyebilirsiniz.
Bilgilerinize.