HH:=HHV(HIGH,10);//VAR1:=COST(89)-COST(11);
LL:=LLV(LOW,10);//VAR2:=COST(99.900002)-COST(0.1);
HH1:=BARSLAST((HH>REF(HH,1)));//单峰:=(1-VAR1/VAR2)*100;
LL1:=BARSLAST((LL < REF(LL,1)));//高密:=(COST(40)-COST(1))/VAR2*100;
DRAWTEXT(CROSS(HH1,LL1),90,'众');//赢利:=SMA(WINNER(AMOUNT/VOL/99)*100,2,1);
DRAWTEXT(CROSS(LL1,HH1),90,'4');//获利成本:STICKLINE(V3>0,V3,0,3,2),COLORRED;
DRAWTEXT(CROSS(HH1,LL1),60,'龙');//套牢成本:STICKLINE(V3<=0,V3,0,3,2),COLORBLUE;
DRAWTEXT(CROSS(LL1,HH1),60,'8');//【上穿成本】:IF(CROSS(赢利,单峰),15,0),STICK,COLORRED,LINETHICK5;
DRAWTEXT(CROSS(HH1,LL1),70,'育');//【下穿成本】:IF(CROSS(单峰,赢利),(-25),0),STICK,COLORGREEN,LINETHICK5;
DRAWTEXT(CROSS(LL1,HH1),70,'1');//TDXSTEP1410:DRAWICON(【上穿成本】>0,30,5);
DRAWTEXT(CROSS(HH1,LL1),50,'指');//TDXSTEP1411:DRAWICON(【下穿成本】<0,(-15),6);
DRAWTEXT(CROSS(LL1,HH1),50,'3');
DRAWTEXT(CROSS(HH1,LL1),40,'标');
DRAWTEXT(CROSS(LL1,HH1),40,'7');
DRAWTEXT(CROSS(HH1,LL1),30,'公');
DRAWTEXT(CROSS(LL1,HH1),30,'3');
DRAWTEXT(CROSS(HH1,LL1),20,'式');
DRAWTEXT(CROSS(LL1,HH1),20,'9');
DRAWTEXT(CROSS(HH1,LL1),10,'网');
DRAWTEXT(CROSS(LL1,HH1),10,'6');
DRAWTEXT(CROSS(HH1,LL1),100,'公');
DRAWTEXT(CROSS(LL1,HH1),100,'徽');
DRAWTEXT(CROSS(HH1,LL1),80,'号');
DRAWTEXT(CROSS(LL1,HH1),80,'8');
110,COLORBLACK;
0,COLORBLACK;