aşağıdaki stratejiyi matriks IQ için dönüştürmek istiyorum. yardım ederseniz sevinirim. iyi çalışmalar
AL
coeff:=OPT1;
AP:=OPT2;
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));
AlphaTrend>OTT(AlphaTrend,OPT3,OPT4) AND
H>REF(HHV(H,20),-1) AND H>OTT(HHV(H,10),2,0.5)
---------------------------------------------------------------------------------------
SAT
coeff:=OPT1;
AP:=OPT2;
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));
AlphaTrend<OTT(AlphaTrend,OPT3,OPT4) AND
L<REF(LLV(L,OPT5),-1) AND L<OTT(LLV(L,10),2,0.5)