AA:=(HHV(HIGH,120)-LLV(LOW,120))/30;VAR1:=(2*CLOSE+HIGH+LOW)/4;转换线:(HHV(HIGH,9)+LLV(LOW,9))/2;基准线:(HHV(HIGH,26)+LLV(LOW,26))/2;先行带A:(转换线+基准线)/2;先行带B:(HHV(HIGH,52)+LLV(LOW,52))/2;STICKLINE(先行带A>先行带B,先行带A,先行带B,0.1,-1),colorlired;STICKLINE(先行带A<先行带B,先行带A,先行带B,0.1,-1),colorlicyan;TL11:=REF(转换线,1)=REF(基准线,1) AND 转换线>基准线;DRAWTEXT(CROSS(转换线,基准线) AND VAR1<MIN(先行带A,先行带B),MIN(基准线,LOW)*0.995,'▲'),colorred;DRAWTEXT(CROSS(转换线,基准线) AND RANGE(VAR1,MIN(先行带A,先行带B),MAX(先行带A,先行带B)),LOW*0.995,'▲▲'),colorred;DRAWTEXT(CROSS(转换线,基准线) AND VAR1>MAX(先行带A,先行带B),L*0.95,'▲▲▲'),colorred;DRAWTEXT(TL11 AND VAR1>MAX(先行带A,先行带B),L*0.95,'▲▲▲'),colorred;DRAWTEXT(CROSS(基准线,转换线) AND VAR1<MIN(先行带A,先行带B),MAX(基准线,HIGH)+AA*2,'▼▼▼'),colorblue;