以下是突破左峰“染鸟胡半厮”版本(无源码的请下载附件导入)
{主图}
ZF:=(C-REF(C,10))/REF(C,10)*100;
A:=BARSLAST(H=HHV(H,10) AND ZF>=30);
ZFA:=(HHV(H,A+1)-L)/L*100;
B:=BARSLAST(L=LLV(L,A+1) AND ZFA>20 AND A>3 );
CC:=BARSLAST(H=HHV(H,B+1) AND A>5 AND H<REF(H,A));
ZFC:=(HHV(H,CC+1)-L)/L*100;
D:=BARSLAST(L=LLV(L,CC+1) AND ZFC>8 AND L>REF(L,B) AND CC>4);
GD:=REF(HHV(C,CC+1),D);
GL:=REF(H,A)/H*100;
XG:=CROSS(COUNT(C>GD,D+1)=1,0.5) AND A>B AND B>CC AND CC>D AND GL<105;
DRAWICON(XG,L*0.95,1);
STICKLINE(XG,C,O,0.5,0),COLORYELLOW;
{未来函数画线主图}
ZF:=(C-REF(C,10))/REF(C,10)*100;
A:=BARSLAST(H=HHV(H,10) AND ZF>=30);
ZFA:=(HHV(H,A+1)-L)/L*100;
B:=BARSLAST(L=LLV(L,A+1) AND ZFA>20 AND A>3 );
CC:=BARSLAST(H=HHV(H,B+1) AND A>5 AND H<REF(H,A));
ZFC:=(HHV(H,CC+1)-L)/L*100;
D:=BARSLAST(L=LLV(L,CC+1) AND ZFC>8 AND L>REF(L,B) AND CC>4);
GD:=REF(HHV(C,CC+1),D);
GL:=REF(H,A)/H*100;
XG:=CROSS(COUNT(C>GD,D+1)=1,0.5) AND A>B AND B>CC AND CC>D AND GL<105;
Q1:=BARSLAST(CROSS(BACKSET(XG,A+1)=1,0.5));
Q2:=BARSLAST(CROSS(BACKSET(XG,B+1)=1,0.5));
Q3:=BARSLAST(CROSS(BACKSET(XG,CC+1)=1,0.5));
Q4:=BARSLAST(CROSS(BACKSET(XG,D+1)=1,0.5));
DRAWICON(XG,L*0.95,1);
STICKLINE(XG,C,O,0.5,0),COLORYELLOW;
DRAWLINE(Q1=0,H,Q2=0,L,0),COLORYELLOW;
DRAWLINE(Q1=0,H,Q3=0,H,1),COLORYELLOW;
DRAWLINE(Q2=0,L,Q3=0,H,0),COLORYELLOW;
DRAWLINE(Q3=0,H,Q4=0,L,0),COLORYELLOW;
{选股}
ZF:=(C-REF(C,10))/REF(C,10)*100;
A:=BARSLAST(H=HHV(H,10) AND ZF>=30);
ZFA:=(HHV(H,A+1)-L)/L*100;
B:=BARSLAST(L=LLV(L,A+1) AND ZFA>20 AND A>3 );
CC:=BARSLAST(H=HHV(H,B+1) AND A>5 AND H<REF(H,A));
ZFC:=(HHV(H,CC+1)-L)/L*100;
D:=BARSLAST(L=LLV(L,CC+1) AND ZFC>8 AND L>REF(L,B) AND CC>4);
GD:=REF(HHV(C,CC+1),D);
GL:=REF(H,A)/H*100;
XG:CROSS(COUNT(C>GD,D+1)=1,0.5) AND A>B AND B>CC AND CC>D AND GL<105;
69255503.jpg
|