2024黑马异动 离场果断《通达信+指标+公式+副图+源码》
副图公式源码支持 手机/电脑
GUA1:=MA(C,20);
GUA2:=GUA1+2*STD(C,20);
GUA3:=GUA1-2*STD(C,20);
GUA4:=CROSS(C,GUA2) AND C/REF(C,1)>1.05,COLORRED;
DRAWTEXT(GUA4 AND C>MA(C,60) AND C>MA(C,90) AND C>MA(C,120) AND C>MA(C,250),H*0.98,'*黑马异动'),COLORRED;
GUP10:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
GUP20:=(HIGH+LOW+CLOSE)/3;
GUP30:=(GUP20-MA(GUP20,14))/(0.015*AVEDEV(GUP20,14));
GUP40:=(GUP20-MA(GUP20,70))/(0.015*AVEDEV(GUP20,70));
GUP50:=IF(GUP30>=150 AND GUP30<200 AND GUP40>=150 AND GUP40<200,10,0);
GUP60:=IF(GUP30<=-150 AND GUP30>-200 AND GUP40<=-150 AND GUP40>-200,-10,GUP50);
GUP70:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
GUP80:=100-ABS(GUP70);
GUP90:=IF(GUP80<90,GUP80,100);
GUPA:=IF(GUP10>0,GUP10,0);
GUPB:=IF(GUP40>=200 AND GUP30>=150,15,IF(GUP40<=-200 AND GUP30<=-150,-15,GUP60))+60;
GUPC:=GUPA>48 AND GUPB>60 AND GUP90<100;
DRAWTEXT(GUPC AND COUNT(GUPC,30)=1,C,'*果断清仓'),COLORGREEN;
选股公式源码
{选股公式:黑马异动}
GUA1:=MA(C,20);
GUA2:=GUA1+2*STD(C,20);
GUA3:=GUA1-2*STD(C,20);
GUA4:=CROSS(C,GUA2) AND C/REF(C,1)>1.05,COLORRED;
GUP10:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
GUP20:=(HIGH+LOW+CLOSE)/3;
GUP30:=(GUP20-MA(GUP20,14))/(0.015*AVEDEV(GUP20,14));
黑马异动:GUA4 AND C>MA(C,60) AND C>MA(C,90) AND C>MA(C,120) AND C>MA(C,250);
{卖出公式:果断清仓}
GUP10:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
GUP20:=(HIGH+LOW+CLOSE)/3;
GUP30:=(GUP20-MA(GUP20,14))/(0.015*AVEDEV(GUP20,14));
GUP40:=(GUP20-MA(GUP20,70))/(0.015*AVEDEV(GUP20,70));
GUP50:=IF(GUP30>=150 AND GUP30<200 AND GUP40>=150 AND GUP40<200,10,0);
GUP60:=IF(GUP30<=-150 AND GUP30>-200 AND GUP40<=-150 AND GUP40>-200,-10,GUP50);
GUP70:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
GUP80:=100-ABS(GUP70);
GUP90:=IF(GUP80<90,GUP80,100);
GUPA:=IF(GUP10>0,GUP10,0);
GUPB:=IF(GUP40>=200 AND GUP30>=150,15,IF(GUP40<=-200 AND GUP30<=-150,-15,GUP60))+60;
GUPC:=GUPA>48 AND GUPB>60 AND GUP90<100;
果断清仓:GUPC AND COUNT(GUPC,30)=1;
页:
[1]