出信号第二天暴涨指标如下:
MA5:MA(C,5);
MA10:MA(close,10);
MA60:MA(close,60);
GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
baijin1:=BARSLAST(CROSS(30,GJTJ1))<2ANDBARSLAST(CROSS(GJTJ1,50))<2;
baijin2:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2ANDGJTJ1>GJTJ4;
baijin3:=GJTJ1>60ANDGJTJ4>70;
drawtext(baijin1ANDbaijin2ANDbaijin3,l-0.02,'白金');
huangjin1:=BARSLAST(CROSS(50,GJTJ1))<3ANDBARSLAST(CROSS(GJTJ1,50))<3;
huangjin2:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2ANDGJTJ1>GJTJ4;
DRAWTEXT(huangjin1ANDhuangjin2,l-0.03,'黄金');
XG:=BARSLAST(CROSS(GJTJ4,GJTJ1))<5ANDGJTJ1>GJTJ4;
drawtext(COUNT(XG,3)=1ANDXGandc>ma(c,20),l-0.02,'暴涨启动'),colorred;
zhencang1:=BARSLAST(CROSS(GJTJ4,GJTJ1))>3ANDBARSLAST(CROSS(GJTJ1,GJTJ4))<3;
zhencang2:=BARSLAST(CROSS(GJTJ4,GJTJ2));
zhencang3:=GJTJ3zhencang4:=BARSLAST(CROSS(GJTJ4,GJTJ3))>3ANDBARSLAST(CROSS(GJTJ1,GJTJ4))<3;
zhencang5:=GJTJ2zcB1:=zhencang1>0ANDREF(zhencang1,1)=0ANDREF(zhencang1,2)>0;
drawtext(zhencang1ANDzhencang2ANDzhencang3ANDzhencang4ANDzhencang5,l-0.05,'震仓启点');
Aa:=BARSLAST(CROSS(97,GJTJ1))<=1ANDBARSLAST(CROSS(GJTJ1,85))<=1;
Bb:=BARSLAST(CROSS(97,GJTJ2))<=1ANDBARSLAST(CROSS(GJTJ2,85))<=1;
Aa1:=AaANDBb;
AAa:=BARSLAST(CROSS(97,GJTJ1))<=2ANDBARSLAST(CROSS(GJTJ1,85))<=1;
BAa:=BARSLAST(CROSS(97,GJTJ2))<=2ANDBARSLAST(CROSS(GJTJ2,85))<=1;
Aa2:=AAANDBb;
AAAa:=BARSLAST(CROSS(97,GJTJ1))<=3ANDBARSLAST(CROSS(GJTJ1,85))<=1;
BAAa:=BARSLAST(CROSS(97,GJTJ2))<=3ANDBARSLAST(CROSS(GJTJ2,85))<=1;
Aa3:=AAAaANDBAAa;
Bb1:=REF(Aa1,1);
Bb2:=REF(Aa2,1);
Bb3:=REF(Aa3,1);
Dd1:=GJTJ1=100ANDGJTJ2=100ANDAa1;
Dd2:=GJTJ1=100ANDGJTJ2=100ANDAa2;
Dd3:=GJTJ1=100ANDGJTJ2=100ANDAa3;
drawtext(Dd1ORDd2ORDd3,l-0.02,'短线追涨');
Aw:=BARSLAST(CROSS(95,GJTJ1))<=2;
Bw:=BARSLAST(CROSS(95,GJTJ2))<=2;
Ew:=GJTJ4Fw:=GJTJ2>50ANDGJTJ3>50;
Gw:=GJTJ1=100ANDGJTJ2=100;
TXw:=COUNT(Gw,2)=1;
drawtext(AwANDBwANDEwANDFwANDTXw,l-0.03,'起涨首日');
Aq:=GJTJ3=100;
Bq:=GJTJ4<90;
drawtext(COUNT(Aq,2)=2ANDBq,l-0.02,'波启前兆');
评论(0)