同花顺短线黑马公式
VAR1A:=(CLOSE-LLV(LOW,P1))/(HHV(HIGH,P1)-LLV(LOW,P1))*100;
VAR2A:=EMA(VAR1A,P2);
VAR3A:=EMA(VAR2A,P1);
VAR4A:=3*VAR2A-2*VAR3A;
VAR5A:=EMA(VAR4A,5);
黑马逃顶: 80;
HY: EMA(VAR5A,1);
黑马抄底: 10;
HL: HY, COLORSTICK;
二十以下金叉KDJ:IF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)) AND "KDJ.K"(9,3,3)<20,75,0),COLOR00FF00;
DRAWTEXT(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)) AND "KDJ.K"(9,3,3)<20,15,'KDJ'),coloryellow;
DRAWTEXT(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)) AND "KDJ.K"(9,3,3)<20,11,'20以下金叉'),coloryellow;
A3:=EMA((((SLOPE(C,21)) * 20) + C),68);
A4:=EMA(C,10);
DRAWTEXT(CROSS(A4,A3),L*0.9,'【石帅专用】'),LINETHICK4,coloryellow;