1.求高手将下面这个《(预警公式)锁定目标》添加上面《瑞趣改进版:(主公式)》一个条件
求高手将下面这个《(预警公式)锁定目标》添加上面《瑞趣改进版:(主公式)》一个条件
{ 瑞趣改进版:(主图公式)}AAA:=(MA(CLOSE,冠军goshop源码)+MA(CLOSE,))/2;
CCC:=(STD(CLOSE,)+STD(CLOSE,))/2;
BBB:=AAA+2.1*CCC;
DDD:=AAA+0.*CCC;
ZZZ:=IF(CCC>1.,MA(DDD,3),DDD);
平衡:ZZZ;
止赢:ZZZ*1.1;
了结:ZZZ*1.;
回档:ZZZ*0.;
反弹:ZZZ*0.9;
STICKLINE(平衡<REF(平衡,1) AND REF(平衡,1)<REF(平衡,2),平衡*1.,平衡*0.,9,0),COLORBLUE;
TYP:=(HIGH+LOW+CLOSE)/3;
CI:=(TYP-MA(TYP,))/(0.*AVEDEV(TYP,));
CI:=(TYP-MA(TYP,))/(0.*AVEDEV(TYP,));
CI5:=(TYP-MA(TYP,5))/(0.*AVEDEV(TYP,5));
CI3:=(TYP-MA(TYP,3))/(0.*AVEDEV(TYP,3));
EMAH3:=EMA(H,3);
EMAL3:=EMA(L,3);
EMAH5:=EMA(H,5);
EMAL5:=EMA(L,5);
EMAL:=EMA(L,);
EMAZ:=(EMAH3+EMAH5+EMAL3+EMAL5)/4;
EMA3:=(EMAH3-EMAL3)/6+EMAL3;
PBX1:=(EXPMA((C+H+L)/3,4)+MA((C+H+L)/3,4*2)+MA((C+H+L)/3,4*4))/3;
PBX2:=(EXPMA((C+H+L)/3,6)+MA((C+H+L)/3,6*2)+MA((C+H+L)/3,6*4))/3;
XT1:=C>O AND (C-L)>(H-C);
XT2:=C<O AND (H-O)<(C-L) AND (O-C)<(C-L);
XT:=XT1=1 OR XT2=1;
锁定目标:=PBX1>PBX2 AND CI>0 AND CI>0 AND EMAH3>EMAH5 AND EMAL3>EMAL5 AND EMAL5>EMAL AND O<EMA3 AND L<EMAL3;
DRAWICON(锁定目标,L*0.,1);