202逃顶佳品 防止被套《通达信+指标+公式+副图+源码》
副图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUA1:=(G1-MA(G1,13))/MA(G1,13)*100,LINETHICK2;
GUA2:=SMA(GUA1,3,1),COLORYELLOW,LINETHICK2;
STICKLINE(GUA2<0 AND GUA2>=REF(GUA2,1),GUA2,0,4,0),COLOR6000BF;
STICKLINE(GUA2<0 AND GUA2>=REF(GUA2,1),GUA2*0.9,0,4,0),COLOR6C00D9;
STICKLINE(GUA2<0 AND GUA2>=REF(GUA2,1),GUA2*0.8,0,4,0),COLOR7800F0;
STICKLINE(GUA2<0 AND GUA2>=REF(GUA2,1),GUA2*0.7,0,4,0),COLOR8000FF;
STICKLINE(GUA2<0 AND GUA2>=REF(GUA2,1),GUA2*0.6,0,4,0),COLOR9A35FF;
STICKLINE(GUA2<0 AND GUA2>=REF(GUA2,1),GUA2*0.5,0,4,0),COLORAF60FF;
STICKLINE(GUA2<0 AND GUA2>=REF(GUA2,1),GUA2*0.4,0,4,0),COLORBC79FF;
STICKLINE(GUA2<0 AND GUA2>=REF(GUA2,1),GUA2*0.3,0,4,0),COLORCA95FF;
STICKLINE(GUA2<0 AND GUA2>=REF(GUA2,1),GUA2*0.3,0,4,0),COLORD5AAFF;
STICKLINE(GUA2<0 AND GUA2>=REF(GUA2,1),GUA2*0.2,0,4,0),COLORE0C1FF;
STICKLINE(GUA2<0 AND GUA2>=REF(GUA2,1),GUA2*0.1,0,4,0),COLORECD9FF;
STICKLINE(GUA2>0 AND GUA2<REF(GUA2,1),GUA2,0,4,0),COLOR007546;
STICKLINE(GUA2>0 AND GUA2<REF(GUA2,1),GUA2*0.9,0,4,0),COLOR008C54;
STICKLINE(GUA2>0 AND GUA2<REF(GUA2,1),GUA2*0.8,0,4,0),COLOR00A664;
STICKLINE(GUA2>0 AND GUA2<REF(GUA2,1),GUA2*0.7,0,4,0),COLOR00BF73;
STICKLINE(GUA2>0 AND GUA2<REF(GUA2,1),GUA2*0.6,0,4,0),COLOR00D982;
STICKLINE(GUA2>0 AND GUA2<REF(GUA2,1),GUA2*0.5,0,4,0),COLOR00EA8C;
STICKLINE(GUA2>0 AND GUA2<REF(GUA2,1),GUA2*0.4,0,4,0),COLOR02FF9A;
STICKLINE(GUA2>0 AND GUA2<REF(GUA2,1),GUA2*0.3,0,4,0),COLOR00F9F9;
STICKLINE(GUA2>0 AND GUA2<REF(GUA2,1),GUA2*0.2,0,4,0),COLOR37FFFF;
STICKLINE(GUA2>0 AND GUA2<REF(GUA2,1),GUA2*0.1,0,4,0),COLOR6FFFFF;
STICKLINE(GUA2<0 AND GUA2<=REF(GUA2,1),GUA2,0,4,0),COLORCC0033;
STICKLINE(GUA2<0 AND GUA2<=REF(GUA2,1),GUA2*0.9,0,4,0),COLOREE0033;
STICKLINE(GUA2<0 AND GUA2<=REF(GUA2,1),GUA2*0.8,0,4,0),COLORFF1133;
STICKLINE(GUA2<0 AND GUA2<=REF(GUA2,1),GUA2*0.7,0,4,0),COLORFF3333;
STICKLINE(GUA2<0 AND GUA2<=REF(GUA2,1),GUA2*0.6,0,4,0),COLORFF5533;
STICKLINE(GUA2<0 AND GUA2<=REF(GUA2,1),GUA2*0.5,0,4,0),COLORFF7733;
STICKLINE(GUA2<0 AND GUA2<=REF(GUA2,1),GUA2*0.4,0,4,0),COLORFF9933;
STICKLINE(GUA2<0 AND GUA2<=REF(GUA2,1),GUA2*0.3,0,4,0),COLORFFBB33;
STICKLINE(GUA2<0 AND GUA2<=REF(GUA2,1),GUA2*0.2,0,4,0),COLORFFDD33;
STICKLINE(GUA2<0 AND GUA2<=REF(GUA2,1),GUA2*0.1,0,4,0),COLORFFFF33;
STICKLINE(GUA2>0 AND GUA2>=REF(GUA2,1),GUA2,0,4,0),COLOR0000CC;
STICKLINE(GUA2>0 AND GUA2>=REF(GUA2,1),GUA2*0.9,0,4,0),COLOR0000EE;
STICKLINE(GUA2>0 AND GUA2>=REF(GUA2,1),GUA2*0.8,0,4,0),COLOR0011FF;
STICKLINE(GUA2>0 AND GUA2>=REF(GUA2,1),GUA2*0.7,0,4,0),COLOR0033FF;
STICKLINE(GUA2>0 AND GUA2>=REF(GUA2,1),GUA2*0.6,0,4,0),COLOR0055FF;
STICKLINE(GUA2>0 AND GUA2>=REF(GUA2,1),GUA2*0.5,0,4,0),COLOR0077FF;
STICKLINE(GUA2>0 AND GUA2>=REF(GUA2,1),GUA2*0.4,0,4,0),COLOR0099FF;
STICKLINE(GUA2>0 AND GUA2>=REF(GUA2,1),GUA2*0.3,0,4,0),COLOR00BBFF;
STICKLINE(GUA2>0 AND GUA2>=REF(GUA2,1),GUA2*0.2,0,4,0),COLOR00DDFF;
STICKLINE(GUA2>0 AND GUA2>=REF(GUA2,1),GUA2*0.1,0,4,0),COLOR00DDFF;
GUPE:=MA(100*(G1-LLV(G1,34))/(HHV(G4,34)-LLV(G2,34)),5)-20;
GUPF:=100-3*SMA((G1-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1)+2*SMA(SMA
((G1-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1),15,1);
GUP10:=100-3*SMA((G3-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1)+2*SMA(SMA
((G3-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1),15,1);
GUP11:=GUPF<REF(GUP10,1) AND VOL>REF(VOL,1) AND G1>REF(G1,1);
GUP12:=(G4+G2+G1)/3;
GUP13:=(GUP12-MA(GUP12,14))/(0.015*AVEDEV(GUP12,14));
GUP14:=(GUP12-MA(GUP12,70))/(0.015*AVEDEV(GUP12,70));
GUP15:=IF(GUP13>=150 AND GUP13<200 AND GUP14>=150 AND GUP14<200,10,0);
GUP16:=IF(GUP13<=-150 AND GUP13>-200 AND GUP14<=-150 AND GUP14>-200,-10,GUP15);
GUP17:=(G1-MA(G1,13))/MA(G1,13)*100;
GUP18:=100-ABS(GUP17);
GUP19:=IF(GUP18<90,GUP18,100);
GUP1A:=IF(GUPE>0,GUPE,0);
GUP1B:=IF(GUP14>=200 AND GUP13>=150,15,IF(GUP14<=-200 AND GUP13<=-150,-15,GUP16))+60;
GUP1C:=GUP1A>48 AND GUP1B>60 AND GUP19<100;
逃顶佳品:IF(GUP1C AND COUNT(GUP1C,30)=1,-10,0),COLORGREEN,LINETHICK2;
选股公式源码
{逃顶公式:逃顶佳品}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUPE:=MA(100*(G1-LLV(G1,34))/(HHV(G4,34)-LLV(G2,34)),5)-20;
GUPF:=100-3*SMA((G1-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1)+2*SMA(SMA
((G1-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1),15,1);
GUP10:=100-3*SMA((G3-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1)+2*SMA(SMA
((G3-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1),15,1);
GUP11:=GUPF<REF(GUP10,1) AND VOL>REF(VOL,1) AND G1>REF(G1,1);
GUP12:=(G4+G2+G1)/3;
GUP13:=(GUP12-MA(GUP12,14))/(0.015*AVEDEV(GUP12,14));
GUP14:=(GUP12-MA(GUP12,70))/(0.015*AVEDEV(GUP12,70));
GUP15:=IF(GUP13>=150 AND GUP13<200 AND GUP14>=150 AND GUP14<200,10,0);
GUP16:=IF(GUP13<=-150 AND GUP13>-200 AND GUP14<=-150 AND GUP14>-200,-10,GUP15);
GUP17:=(G1-MA(G1,13))/MA(G1,13)*100;
GUP18:=100-ABS(GUP17);
GUP19:=IF(GUP18<90,GUP18,100);
GUP1A:=IF(GUPE>0,GUPE,0);
GUP1B:=IF(GUP14>=200 AND GUP13>=150,15,IF(GUP14<=-200 AND GUP13<=-150,-15,GUP16))+60;
GUP1C:=GUP1A>48 AND GUP1B>60 AND GUP19<100;
逃顶佳品:GUP1C AND COUNT(GUP1C,30)=1,COLORGREEN,LINETHICK2; 牛人一个
页:
[1]