QF1:100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10));
QF2:100*(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13));
IF(QF1>QF2,QF1,DRAWNULL)COLORMAGENTA;
IF(QF1<QF2,QF1,DRAWNULL)COLORLIBLUE;
AA:IF(QF2=QF1,QF2,DRAWNULL)COLORGREEN,LINETHICK2;
40,LINETHICK2,COLORRED;
起飞:IF(QF2=QF1,QF2,DRAWNULL)COLORGREEN,LINETHICK2;
{ _通达信股票指标公式}
STICKLINE(REF(crOSS(40,QF2),2) AND CROSS(40,QF1),QF1,98,0,1),COLORMAGENTA,LINETHICK2;
STICKLINE(REF(QF2,1)<40 AND CROSS(40,QF1),QF1,98,0,1),COLORGREEN,LINETHICK2;
STICKLINE(REF(CROSS(40,QF2),1) AND CROSS(40,QF1),QF1,98,0,1),COLORRED,LINETHICK2;
XG:=REF(CROSS(40,QF2),1) AND CROSS(40,QF1);
DRAWICON(CROSS(40,QF1),40,1);
DRAWICON(CROSS(40,QF2),30,9);
DRAWICON(REF(CROSS(40,QF2),1) AND CROSS(40,QF1),100,1);
DRAWTEXT(REF(CROSS(40,QF2),1) AND CROSS(40,QF1),88,'拉升在即'),COLORYELLOW;