VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=LLV(LOW,34);
VAR3:=HHV(HIGH,34);
AA:EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13);
BB:EMA(0.667*REF(AA,1)+0.333*AA,2) , ;
STICKLINE(BB<AA,AA,BB,2,0),COLORRED;
XG:IF(crOSS(AA,BB) AND AA<20 ,30,0),COLORMAGENTA;
黄柱:CROSS(AA,22) AND BB<AA,COLORYELLOW;
STICKLINE(黄柱,AA+5,AA-5,2,0),COLORYELLOW;
DRAWTEXT(黄柱,AA-12,'底部参加');
逃顶:FILTER(CROSS(BB,AA) AND AA>80 ,3),COLORGREEN;
STICKLINE(逃顶,96,100,2,0),COLORGREEN;
DRAWICON(逃顶,95,15);