副图公式源码支持: 手机/电脑
GUPE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
GUPF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
GUP10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
GUP11:=GUPF<REF(GUP10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
DRAWTEXT(GUP11 AND COUNT(GUP11,30)=1,0.5,’主力进’),LINETHICK1,COLORLIMAGENTA;
STICKLINE(GUP11 AND COUNT(GUP11,30)=1,0,0.4,1,0),COLORMAGENTA,LINETHICK2;
GUP12:=(HIGH+LOW+CLOSE)/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:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,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;
[ri-reply-hide]
DRAWTEXT(GUP1C AND COUNT(GUP1C,30)=1,0.5,’主力逃’),LINETHICK1,COLORFFCC66;
STICKLINE(GUP1C AND COUNT(GUP1C,30)=1,0,0.4,1,0),COLORFFCC66,LINETHICK2;
选股公式源码
{选股公式:主力进}
GUPE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
GUPF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
GUP10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
GUP11:=GUPF<REF(GUP10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
主力进:GUP11 AND COUNT(GUP11,30)=1;
{卖出公式:主力逃}
GUPE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
GUP12:=(HIGH+LOW+CLOSE)/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:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,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;
[/ri-reply-hide]
暂无评论内容