MA20:MA(C,20);AA:=MA20>REF(MA20,1);BB:=C>:=C>REF(C,1)&&REF(C,1)>REF(O,1)||C>REF(O,1)&&REF(C,1)<REF(O,1);DD:=C>=REF(C,1)&&REF(C,1)<REF(O,1)||C>=REF(O,1)&&REF(C,1)>REF(O,1);EE:=C<REF(C,1)&&REF(C,1)<REF(O,1)||C<REF(O,1)&&REF(C,1)>REF(O,1);T1:=BARSLAST(AA&&BB&&CC)+1;T2:=BACKSET(COUNT(DD,T1)&&DD,T1);T3:=BACKSET(COUNT(EE,T1)&&EE,T1);AA1:=MA20<REF(MA20,1);BB1:=C<1:=C<REF(C,1)&&REF(C,1)<REF(O,1)||C<REF(O,1)&&REF(C,1)>REF(O,1);DD1:=C<=REF(C,1)&&REF(C,1)>REF(O,1)||C<=REF(O,1)&&REF(C,1)<REF(O,1);EE1:=C>REF(C,1)&&REF(C,1)>REF(O,1)||C>REF(O,1)&&REF(C,1)<REF(O,1);P1:=BARSLAST(AA1&&BB1&&CC1)+1;P2:=BACKSET(COUNT(DD1,P1)&&DD1,P1);P3:=BACKSET(COUNT(EE1,P1)&&EE1,P1);DRAWTEXT(AA&&BB&&CC,L,'开多');DRAWTEXT(CROSS(T3,),H,'平多');DRAWTEXT(AA1&&BB1&&CC1,H,'开空');DRAWTEXT(CROSS(P3,),L,'平空');DRAWCOLORKLINE(AA&&BB&&CC,COLORRED,0);DRAWCOLORKLINE(CROSS(T2,),COLORRED,0);DRAWCOLORKLINE(AA1&&BB1&&CC1,REEN,0);DRAWCOLORKLINE(CROSS(P2,),REEN,0);DRAWCOLORKLINE(C=O,RAY,0);
文华指标公式期货软件波段最准确的指标开多开空 来自淘豆网m.daumloan.com转载请标明出处.