// 交易师 公式


	BI_TIME:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 0, 0, 0);
	BI_PRICE:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 0, 1, 0);
	PolyLine(BI_TIME, BI_PRICE),CROSSDOT,COLOR408080;
	
	XIANDUAN_1_TIME:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 1, 0, 0);
	XIANDUAN_1_PRICE:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 1, 1, 0);
	PolyLine(XIANDUAN_1_TIME, XIANDUAN_1_PRICE),CROSSDOT,COLOR808040;

	XIANDUAN_2_TIME:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 2, 0, 0);
	XIANDUAN_2_PRICE:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 2, 1, 0);
	PolyLine(XIANDUAN_2_TIME, XIANDUAN_2_PRICE),CROSSDOT,COLORFF8000;
	
	XIANDUAN_2_GuaiDian_Raw:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 8, 0, 0);
	XIANDUAN_2_GuaiDian:= mod(XIANDUAN_2_GuaiDian_Raw,4);
	XIANDUAN_2_GuaiDian_Pos:=floor(abs(XIANDUAN_2_GuaiDian_Raw)/4);
	DRAWICON(XIANDUAN_2_GuaiDian==-2, LOW, '取消的底分型.ico'); 
	DRAWICON(XIANDUAN_2_GuaiDian==-1, LOW, '底分型.ico');  
	DRAWICON(XIANDUAN_2_GuaiDian==-3, LOW, 'ZIG底分型.ico'); 
	DRAWICON(XIANDUAN_2_GuaiDian==2, HIGH, '取消的顶分型.ico'); 
	DRAWICON(XIANDUAN_2_GuaiDian==1, HIGH, '顶分型.ico');
	DRAWICON(XIANDUAN_2_GuaiDian==3, HIGH, 'ZIG顶分型.ico'); 
	DRAWTEXT(XIANDUAN_2_GuaiDian<0, LOW*0.9, XIANDUAN_2_GuaiDian_Pos),COLORFFFFFF;
	DRAWTEXT(XIANDUAN_2_GuaiDian>0, HIGH*1.1, XIANDUAN_2_GuaiDian_Pos),COLORFFFFFF;

	XIANDUAN_3_TIME:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 3, 0, 0);
	XIANDUAN_3_PRICE:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 3, 1, 0);
	PolyLine(XIANDUAN_3_TIME, XIANDUAN_3_PRICE),CROSSDOT,COLOR4080FF;

	XIANDUAN_4_TIME:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 4, 0, 0);
	XIANDUAN_4_PRICE:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 4, 1, 0);
	PolyLine(XIANDUAN_4_TIME, XIANDUAN_4_PRICE),COLORSTICK,COLORFF00FF;
	
	XIANDUAN_5_TIME:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 5, 0, 0);
	XIANDUAN_5_PRICE:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 5, 1, 0);
	PolyLine(XIANDUAN_5_TIME, XIANDUAN_5_PRICE),LINEDASH,COLORFFFF00;
	
	XIANDUAN_6_TIME:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 6, 0, 0);
	XIANDUAN_6_PRICE:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 6, 1, 0);
	PolyLine(XIANDUAN_6_TIME, XIANDUAN_6_PRICE),LINEDASH,COLOR40FF00;
	
	XIANDUAN_7_TIME:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 7, 0, 0);
	XIANDUAN_7_PRICE:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 7, 1, 0);
	PolyLine(XIANDUAN_7_TIME, XIANDUAN_7_PRICE),LINEDASH,COLOR0000FF;
	
	
	ZHONGSHU_0_TIME:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 0, 0, 1);
	ZHONGSHU_0_DURATION:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 0, 1, 1);
	ZHONGSHU_0_LOW:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 0, 2, 1);
	ZHONGSHU_0_HIGH:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 0, 3, 1);
	StickLine(ZHONGSHU_0_TIME == 1, ZHONGSHU_0_LOW, ZHONGSHU_0_HIGH, 1, 0),LineThick1,COLOR408080;
	StickLine(ZHONGSHU_0_TIME == 2, ZHONGSHU_0_LOW, ZHONGSHU_0_HIGH, 1, 0),LineThick1,COLOR408080;
	DRAWSL(ZHONGSHU_0_TIME == 1, ZHONGSHU_0_LOW, (RefX(ZHONGSHU_0_LOW,ZHONGSHU_0_DURATION) - ZHONGSHU_0_LOW)/ZHONGSHU_0_DURATION, ZHONGSHU_0_DURATION,0),LineThick1,COLOR408080;
	DRAWSL(ZHONGSHU_0_TIME == 1, ZHONGSHU_0_HIGH, (RefX(ZHONGSHU_0_HIGH,ZHONGSHU_0_DURATION) - ZHONGSHU_0_HIGH)/ZHONGSHU_0_DURATION, ZHONGSHU_0_DURATION,0),LineThick1,COLOR408080;

	

	ZHONGSHU_1_TIME:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 1, 0, 1);
	ZHONGSHU_1_DURATION:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 1, 1, 1);
	ZHONGSHU_1_LOW:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 1, 2, 1);
	ZHONGSHU_1_HIGH:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 1, 3, 1);
	StickLine(ZHONGSHU_1_TIME == 1, ZHONGSHU_1_LOW, ZHONGSHU_1_HIGH, 1, 0),LineThick1,COLOR808040;
	DRAWNUMBER(ZHONGSHU_1_TIME == 1.5, (ZHONGSHU_1_HIGH + ZHONGSHU_1_LOW)/2, 1, 0),LineThick18, COLOR808040;  
	StickLine(ZHONGSHU_1_TIME == 2, ZHONGSHU_1_LOW, ZHONGSHU_1_HIGH, 1, 0),LineThick1,COLOR808040;
	DRAWSL(ZHONGSHU_1_TIME == 1, ZHONGSHU_1_LOW, (RefX(ZHONGSHU_1_LOW,ZHONGSHU_1_DURATION) - ZHONGSHU_1_LOW)/ZHONGSHU_1_DURATION, ZHONGSHU_1_DURATION,0),LineThick1,COLOR808040;
	DRAWSL(ZHONGSHU_1_TIME == 1, ZHONGSHU_1_HIGH, (RefX(ZHONGSHU_1_HIGH,ZHONGSHU_1_DURATION) - ZHONGSHU_1_HIGH)/ZHONGSHU_1_DURATION, ZHONGSHU_1_DURATION,0),LineThick1,COLOR808040;

	ZHONGSHU_2_TIME:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 2, 0, 1);
	ZHONGSHU_2_DURATION:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 2, 1, 1);
	ZHONGSHU_2_LOW:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 2, 2, 1);
	ZHONGSHU_2_HIGH:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 2, 3, 1);
	StickLine(ZHONGSHU_2_TIME == 1, ZHONGSHU_2_LOW, ZHONGSHU_2_HIGH, 1, 0),LineThick1,COLORFF8000;
	DRAWNUMBER(ZHONGSHU_2_TIME == 1.5, (ZHONGSHU_2_HIGH + ZHONGSHU_2_LOW)/2, 2, 0),LineThick22, COLORFF8000;  
	StickLine(ZHONGSHU_2_TIME == 2, ZHONGSHU_2_LOW, ZHONGSHU_2_HIGH, 1, 0),LineThick1,COLORFF8000;
	DRAWSL(ZHONGSHU_2_TIME == 1, ZHONGSHU_2_LOW , (RefX(ZHONGSHU_2_LOW,ZHONGSHU_2_DURATION) - ZHONGSHU_2_LOW)/ZHONGSHU_2_DURATION, ZHONGSHU_2_DURATION,0),LineThick1,COLORFF8000;
	DRAWSL(ZHONGSHU_2_TIME == 1, ZHONGSHU_2_HIGH, (RefX(ZHONGSHU_2_HIGH,ZHONGSHU_2_DURATION) - ZHONGSHU_2_HIGH)/ZHONGSHU_2_DURATION, ZHONGSHU_2_DURATION,0),LineThick1,COLORFF8000;

	ZHONGSHU_3_TIME:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 3, 0, 1);
	ZHONGSHU_3_DURATION:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 3, 1, 1);
	ZHONGSHU_3_LOW:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 3, 2, 1);
	ZHONGSHU_3_HIGH:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 3, 3, 1);
	StickLine(ZHONGSHU_3_TIME == 1, ZHONGSHU_3_LOW, ZHONGSHU_3_HIGH, 1, 0),LineThick1,COLOR4080FF;
	DRAWNUMBER(ZHONGSHU_3_TIME == 1.5, (ZHONGSHU_3_HIGH + ZHONGSHU_3_LOW)/2, 3, 0),LineThick22, COLOR4080FF;  
	StickLine(ZHONGSHU_3_TIME == 2, ZHONGSHU_3_LOW, ZHONGSHU_3_HIGH, 1, 0),LineThick1,COLOR4080FF;
	DRAWSL(ZHONGSHU_3_TIME == 1, ZHONGSHU_3_LOW, (RefX(ZHONGSHU_3_LOW,ZHONGSHU_3_DURATION) - ZHONGSHU_3_LOW)/ZHONGSHU_3_DURATION, ZHONGSHU_3_DURATION,0),LineThick1,COLOR4080FF;
	DRAWSL(ZHONGSHU_3_TIME == 1, ZHONGSHU_3_HIGH, (RefX(ZHONGSHU_3_HIGH,ZHONGSHU_3_DURATION) - ZHONGSHU_3_HIGH)/ZHONGSHU_3_DURATION, ZHONGSHU_3_DURATION,0),LineThick1,COLOR4080FF;

	ZHONGSHU_4_TIME:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 4, 0, 1);
	ZHONGSHU_4_DURATION:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 4, 1, 1);
	ZHONGSHU_4_LOW:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 4, 2, 1);
	ZHONGSHU_4_HIGH:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 4, 3, 1);
	StickLine(ZHONGSHU_4_TIME == 1, ZHONGSHU_4_LOW, ZHONGSHU_4_HIGH, 1, 0),LineThick1,COLORFF00FF;
	DRAWNUMBER(ZHONGSHU_4_TIME == 1.5, (ZHONGSHU_4_HIGH + ZHONGSHU_4_LOW)/2, 4, 0),LineThick22, COLORFF00FF;  
	StickLine(ZHONGSHU_4_TIME == 2, ZHONGSHU_4_LOW, ZHONGSHU_4_HIGH, 1, 0),LineThick1,COLORFF00FF;
	DRAWSL(ZHONGSHU_4_TIME == 1, ZHONGSHU_4_LOW, (RefX(ZHONGSHU_4_LOW,ZHONGSHU_4_DURATION) - ZHONGSHU_4_LOW)/ZHONGSHU_4_DURATION, ZHONGSHU_4_DURATION,0),LineThick1,COLORFF00FF;
	DRAWSL(ZHONGSHU_4_TIME == 1, ZHONGSHU_4_HIGH, (RefX(ZHONGSHU_4_HIGH,ZHONGSHU_4_DURATION) - ZHONGSHU_4_HIGH)/ZHONGSHU_4_DURATION, ZHONGSHU_4_DURATION,0),LineThick1,COLORFF00FF;

	ZHONGSHU_5_TIME:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 5, 0, 1);
	ZHONGSHU_5_DURATION:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 5, 1, 1);
	ZHONGSHU_5_LOW:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 5, 2, 1);
	ZHONGSHU_5_HIGH:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 5, 3, 1);
	StickLine(ZHONGSHU_5_TIME == 1, ZHONGSHU_5_LOW, ZHONGSHU_5_HIGH, 1, 0),LineThick1,COLORFFFF00;
	DRAWNUMBER(ZHONGSHU_5_TIME == 1.5, (ZHONGSHU_5_HIGH + ZHONGSHU_5_LOW)/2, 5, 0),LineThick22, COLORFFFF00;  
	StickLine(ZHONGSHU_5_TIME == 2, ZHONGSHU_5_LOW, ZHONGSHU_5_HIGH, 1, 0),LineThick1,COLORFFFF00;
	DRAWSL(ZHONGSHU_5_TIME == 1, ZHONGSHU_5_LOW, (RefX(ZHONGSHU_5_LOW,ZHONGSHU_5_DURATION) - ZHONGSHU_5_LOW)/ZHONGSHU_5_DURATION, ZHONGSHU_5_DURATION,0),LineThick1,COLORFFFF00;
	DRAWSL(ZHONGSHU_5_TIME == 1, ZHONGSHU_5_HIGH, (RefX(ZHONGSHU_5_HIGH,ZHONGSHU_5_DURATION) - ZHONGSHU_5_HIGH)/ZHONGSHU_5_DURATION, ZHONGSHU_5_DURATION,0),LineThick1,COLORFFFF00;

	ZHONGSHU_6_TIME:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 6, 0, 1);
	ZHONGSHU_6_DURATION:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 6, 1, 1);
	ZHONGSHU_6_LOW:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 6, 2, 1);
	ZHONGSHU_6_HIGH:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 6, 3, 1);
	StickLine(ZHONGSHU_6_TIME == 1, ZHONGSHU_6_LOW, ZHONGSHU_6_HIGH, 1, 0),LineThick1,COLOR40FF00;
	DRAWNUMBER(ZHONGSHU_6_TIME == 1.5, (ZHONGSHU_6_HIGH + ZHONGSHU_6_LOW)/2, 6, 0),LineThick23, COLOR40FF00;  
	StickLine(ZHONGSHU_6_TIME == 2, ZHONGSHU_6_LOW, ZHONGSHU_6_HIGH, 1, 0),LineThick1,COLOR40FF00;
	DRAWSL(ZHONGSHU_6_TIME == 1, ZHONGSHU_6_LOW, (RefX(ZHONGSHU_6_LOW,ZHONGSHU_6_DURATION) - ZHONGSHU_6_LOW)/ZHONGSHU_6_DURATION, ZHONGSHU_6_DURATION,0),LineThick1,COLOR40FF00;
	DRAWSL(ZHONGSHU_6_TIME == 1, ZHONGSHU_6_HIGH, (RefX(ZHONGSHU_6_HIGH,ZHONGSHU_6_DURATION) - ZHONGSHU_6_HIGH)/ZHONGSHU_6_DURATION, ZHONGSHU_6_DURATION,0),LineThick1,COLOR40FF00;

	ZHONGSHU_7_TIME:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 7, 0, 1);
	ZHONGSHU_7_DURATION:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 7, 1, 1);
	ZHONGSHU_7_LOW:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 7, 2, 1);
	ZHONGSHU_7_HIGH:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 7, 3, 1);
	StickLine(ZHONGSHU_7_TIME == 1, ZHONGSHU_7_LOW, ZHONGSHU_7_HIGH, 1, 0),LineThick1,COLOR0000FF;
	DRAWNUMBER(ZHONGSHU_7_TIME == 1.5, (ZHONGSHU_7_HIGH + ZHONGSHU_7_LOW)/2, 7, 0),LineThick24, COLOR0000FF;  
	StickLine(ZHONGSHU_7_TIME == 2, ZHONGSHU_7_LOW, ZHONGSHU_7_HIGH, 1, 0),LineThick1,COLOR0000FF;
	DRAWSL(ZHONGSHU_7_TIME == 1, ZHONGSHU_7_LOW, (RefX(ZHONGSHU_7_LOW,ZHONGSHU_7_DURATION) - ZHONGSHU_7_LOW)/ZHONGSHU_7_DURATION, ZHONGSHU_7_DURATION,0),LineThick1,COLOR0000FF;
	DRAWSL(ZHONGSHU_7_TIME == 1, ZHONGSHU_7_HIGH, (RefX(ZHONGSHU_7_HIGH,ZHONGSHU_7_DURATION) - ZHONGSHU_7_HIGH)/ZHONGSHU_7_DURATION, ZHONGSHU_7_DURATION,0),LineThick1,COLOR0000FF;



// 交易师(KT) 只显示较低级别的线段

	BI_TIME:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 0, 0, 0);
	BI_PRICE:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 0, 1, 0);
	PolyLine(BI_TIME, BI_PRICE),CROSSDOT,COLOR408080;
	
	XIANDUAN_1_TIME:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 1, 0, 0);
	XIANDUAN_1_PRICE:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 1, 1, 0);
	PolyLine(XIANDUAN_1_TIME, XIANDUAN_1_PRICE),COLORSTICK, ColorYellow ,LineThick2;

	XIANDUAN_2_TIME:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 2, 0, 0);
	XIANDUAN_2_PRICE:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 2, 1, 0);
	PolyLine(XIANDUAN_2_TIME, XIANDUAN_2_PRICE),CROSSDOT,COLORFF8000,LineThick3;
	
	XIANDUAN_3_TIME:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 3, 0, 0);
	XIANDUAN_3_PRICE:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 3, 1, 0);
	PolyLine(XIANDUAN_3_TIME, XIANDUAN_3_PRICE),CROSSDOT,COLOR4080FF,LineThick2;

	XIANDUAN_4_TIME:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 4, 0, 0);
	XIANDUAN_4_PRICE:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 4, 1, 0);
	PolyLine(XIANDUAN_4_TIME, XIANDUAN_4_PRICE),CROSSDOT,COLORFF00FF,LineThick2;
	
	ZHONGSHU_0_TIME:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 0, 0, 1);
	ZHONGSHU_0_DURATION:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 0, 1, 1);
	ZHONGSHU_0_LOW:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 0, 2, 1);
	ZHONGSHU_0_HIGH:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 0, 3, 1);
	StickLine(ZHONGSHU_0_TIME == 1, ZHONGSHU_0_LOW, ZHONGSHU_0_HIGH, 1, 0),LineThick1,COLOR808080;
	StickLine(ZHONGSHU_0_TIME == 2, ZHONGSHU_0_LOW, ZHONGSHU_0_HIGH, 1, 0),LineThick1,COLOR808080;
	DRAWSL(ZHONGSHU_0_TIME == 1, ZHONGSHU_0_LOW, (RefX(ZHONGSHU_0_LOW,ZHONGSHU_0_DURATION) - ZHONGSHU_0_LOW)/ZHONGSHU_0_DURATION, ZHONGSHU_0_DURATION,0),LineThick1,COLOR808080;
	DRAWSL(ZHONGSHU_0_TIME == 1, ZHONGSHU_0_HIGH, (RefX(ZHONGSHU_0_HIGH,ZHONGSHU_0_DURATION) - ZHONGSHU_0_HIGH)/ZHONGSHU_0_DURATION, ZHONGSHU_0_DURATION,0),LineThick1,COLOR808080;

	

	ZHONGSHU_1_TIME:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 1, 0, 1);
	ZHONGSHU_1_DURATION:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 1, 1, 1);
	ZHONGSHU_1_LOW:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 1, 2, 1);
	ZHONGSHU_1_HIGH:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 1, 3, 1);
	StickLine(ZHONGSHU_1_TIME == 1, ZHONGSHU_1_LOW, ZHONGSHU_1_HIGH, 1, 0),LineThick1,COLOR808040;
	DRAWNUMBER(ZHONGSHU_1_TIME == 1.5, (ZHONGSHU_1_HIGH + ZHONGSHU_1_LOW)/2, 1, 0),LineThick18, COLOR808040;  
	StickLine(ZHONGSHU_1_TIME == 2, ZHONGSHU_1_LOW, ZHONGSHU_1_HIGH, 1, 0),LineThick1,COLOR808040;
	DRAWSL(ZHONGSHU_1_TIME == 1, ZHONGSHU_1_LOW, (RefX(ZHONGSHU_1_LOW,ZHONGSHU_1_DURATION) - ZHONGSHU_1_LOW)/ZHONGSHU_1_DURATION, ZHONGSHU_1_DURATION,0),LineThick1,COLOR808040;
	DRAWSL(ZHONGSHU_1_TIME == 1, ZHONGSHU_1_HIGH, (RefX(ZHONGSHU_1_HIGH,ZHONGSHU_1_DURATION) - ZHONGSHU_1_HIGH)/ZHONGSHU_1_DURATION, ZHONGSHU_1_DURATION,0),LineThick1,COLOR808040;

	
	ZHONGSHU_2_TIME:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 2, 0, 1);
	ZHONGSHU_2_DURATION:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 2, 1, 1);
	ZHONGSHU_2_LOW:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 2, 2, 1);
	ZHONGSHU_2_HIGH:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 2, 3, 1);
	StickLine(ZHONGSHU_2_TIME == 1, ZHONGSHU_2_LOW, ZHONGSHU_2_HIGH, 1, 0),LineThick1,COLORFF8000;
	DRAWNUMBER(ZHONGSHU_2_TIME == 1.5, (ZHONGSHU_2_HIGH + ZHONGSHU_2_LOW)/2, 2, 0),LineThick22, COLORFF8000;  
	StickLine(ZHONGSHU_2_TIME == 2, ZHONGSHU_2_LOW, ZHONGSHU_2_HIGH, 1, 0),LineThick1,COLORFF8000;
	DRAWSL(ZHONGSHU_2_TIME == 1, ZHONGSHU_2_LOW , (RefX(ZHONGSHU_2_LOW,ZHONGSHU_2_DURATION) - ZHONGSHU_2_LOW)/ZHONGSHU_2_DURATION, ZHONGSHU_2_DURATION,0),LineThick1,COLORFF8000;
	DRAWSL(ZHONGSHU_2_TIME == 1, ZHONGSHU_2_HIGH, (RefX(ZHONGSHU_2_HIGH,ZHONGSHU_2_DURATION) - ZHONGSHU_2_HIGH)/ZHONGSHU_2_DURATION, ZHONGSHU_2_DURATION,0),LineThick1,COLORFF8000;

	ZHONGSHU_3_TIME:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 3, 0, 1);
	ZHONGSHU_3_DURATION:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 3, 1, 1);
	ZHONGSHU_3_LOW:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 3, 2, 1);
	ZHONGSHU_3_HIGH:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 3, 3, 1);
	StickLine(ZHONGSHU_3_TIME == 1, ZHONGSHU_3_LOW, ZHONGSHU_3_HIGH, 1, 0),LineThick1,COLOR4080FF;
	DRAWNUMBER(ZHONGSHU_3_TIME == 1.5, (ZHONGSHU_3_HIGH + ZHONGSHU_3_LOW)/2, 3, 0),LineThick22, COLOR4080FF;  
	StickLine(ZHONGSHU_3_TIME == 2, ZHONGSHU_3_LOW, ZHONGSHU_3_HIGH, 1, 0),LineThick1,COLOR4080FF;
	DRAWSL(ZHONGSHU_3_TIME == 1, ZHONGSHU_3_LOW, (RefX(ZHONGSHU_3_LOW,ZHONGSHU_3_DURATION) - ZHONGSHU_3_LOW)/ZHONGSHU_3_DURATION, ZHONGSHU_3_DURATION,0),LineThick1,COLOR4080FF;
	DRAWSL(ZHONGSHU_3_TIME == 1, ZHONGSHU_3_HIGH, (RefX(ZHONGSHU_3_HIGH,ZHONGSHU_3_DURATION) - ZHONGSHU_3_HIGH)/ZHONGSHU_3_DURATION, ZHONGSHU_3_DURATION,0),LineThick1,COLOR4080FF;

	ZHONGSHU_4_TIME:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 4, 0, 1);
	ZHONGSHU_4_DURATION:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 4, 1, 1);
	ZHONGSHU_4_LOW:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 4, 2, 1);
	ZHONGSHU_4_HIGH:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 4, 3, 1);
	StickLine(ZHONGSHU_4_TIME == 1, ZHONGSHU_4_LOW, ZHONGSHU_4_HIGH, 1, 0),LineThick1,COLORFF00FF;
	DRAWNUMBER(ZHONGSHU_4_TIME == 1.5, (ZHONGSHU_4_HIGH + ZHONGSHU_4_LOW)/2, 4, 0),LineThick22, COLORFF00FF;  
	StickLine(ZHONGSHU_4_TIME == 2, ZHONGSHU_4_LOW, ZHONGSHU_4_HIGH, 1, 0),LineThick1,COLORFF00FF;
	DRAWSL(ZHONGSHU_4_TIME == 1, ZHONGSHU_4_LOW, (RefX(ZHONGSHU_4_LOW,ZHONGSHU_4_DURATION) - ZHONGSHU_4_LOW)/ZHONGSHU_4_DURATION, ZHONGSHU_4_DURATION,0),LineThick1,COLORFF00FF;
	DRAWSL(ZHONGSHU_4_TIME == 1, ZHONGSHU_4_HIGH, (RefX(ZHONGSHU_4_HIGH,ZHONGSHU_4_DURATION) - ZHONGSHU_4_HIGH)/ZHONGSHU_4_DURATION, ZHONGSHU_4_DURATION,0),LineThick1,COLORFF00FF;

	ZHONGSHU_5_TIME:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 5, 0, 1);
	ZHONGSHU_5_DURATION:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 5, 1, 1);
	ZHONGSHU_5_LOW:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 5, 2, 1);
	ZHONGSHU_5_HIGH:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 5, 3, 1);
	StickLine(ZHONGSHU_5_TIME == 1, ZHONGSHU_5_LOW, ZHONGSHU_5_HIGH, 1, 0),LineThick1,COLORFFFF00;
	DRAWNUMBER(ZHONGSHU_5_TIME == 1.5, (ZHONGSHU_5_HIGH + ZHONGSHU_5_LOW)/2, 5, 0),LineThick22, COLORFFFF00;  
	StickLine(ZHONGSHU_5_TIME == 2, ZHONGSHU_5_LOW, ZHONGSHU_5_HIGH, 1, 0),LineThick1,COLORFFFF00;
	DRAWSL(ZHONGSHU_5_TIME == 1, ZHONGSHU_5_LOW, (RefX(ZHONGSHU_5_LOW,ZHONGSHU_5_DURATION) - ZHONGSHU_5_LOW)/ZHONGSHU_5_DURATION, ZHONGSHU_5_DURATION,0),LineThick1,COLORFFFF00;
	DRAWSL(ZHONGSHU_5_TIME == 1, ZHONGSHU_5_HIGH, (RefX(ZHONGSHU_5_HIGH,ZHONGSHU_5_DURATION) - ZHONGSHU_5_HIGH)/ZHONGSHU_5_DURATION, ZHONGSHU_5_DURATION,0),LineThick1,COLORFFFF00;

	ZHONGSHU_6_TIME:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 6, 0, 1);
	ZHONGSHU_6_DURATION:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 6, 1, 1);
	ZHONGSHU_6_LOW:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 6, 2, 1);
	ZHONGSHU_6_HIGH:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 6, 3, 1);
	StickLine(ZHONGSHU_6_TIME == 1, ZHONGSHU_6_LOW, ZHONGSHU_6_HIGH, 1, 0),LineThick1,COLOR40FF00;
	DRAWNUMBER(ZHONGSHU_6_TIME == 1.5, (ZHONGSHU_6_HIGH + ZHONGSHU_6_LOW)/2, 6, 0),LineThick23, COLOR40FF00;  
	StickLine(ZHONGSHU_6_TIME == 2, ZHONGSHU_6_LOW, ZHONGSHU_6_HIGH, 1, 0),LineThick1,COLOR40FF00;
	DRAWSL(ZHONGSHU_6_TIME == 1, ZHONGSHU_6_LOW, (RefX(ZHONGSHU_6_LOW,ZHONGSHU_6_DURATION) - ZHONGSHU_6_LOW)/ZHONGSHU_6_DURATION, ZHONGSHU_6_DURATION,0),LineThick1,COLOR40FF00;
	DRAWSL(ZHONGSHU_6_TIME == 1, ZHONGSHU_6_HIGH, (RefX(ZHONGSHU_6_HIGH,ZHONGSHU_6_DURATION) - ZHONGSHU_6_HIGH)/ZHONGSHU_6_DURATION, ZHONGSHU_6_DURATION,0),LineThick1,COLOR40FF00;

	ZHONGSHU_7_TIME:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 7, 0, 1);
	ZHONGSHU_7_DURATION:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 7, 1, 1);
	ZHONGSHU_7_LOW:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 7, 2, 1);
	ZHONGSHU_7_HIGH:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 7, 3, 1);
	StickLine(ZHONGSHU_7_TIME == 1, ZHONGSHU_7_LOW, ZHONGSHU_7_HIGH, 1, 0),LineThick1,COLOR0000FF;
	DRAWNUMBER(ZHONGSHU_7_TIME == 1.5, (ZHONGSHU_7_HIGH + ZHONGSHU_7_LOW)/2, 7, 0),LineThick24, COLOR0000FF;  
	StickLine(ZHONGSHU_7_TIME == 2, ZHONGSHU_7_LOW, ZHONGSHU_7_HIGH, 1, 0),LineThick1,COLOR0000FF;
	DRAWSL(ZHONGSHU_7_TIME == 1, ZHONGSHU_7_LOW, (RefX(ZHONGSHU_7_LOW,ZHONGSHU_7_DURATION) - ZHONGSHU_7_LOW)/ZHONGSHU_7_DURATION, ZHONGSHU_7_DURATION,0),LineThick1,COLOR0000FF;
	DRAWSL(ZHONGSHU_7_TIME == 1, ZHONGSHU_7_HIGH, (RefX(ZHONGSHU_7_HIGH,ZHONGSHU_7_DURATION) - ZHONGSHU_7_HIGH)/ZHONGSHU_7_DURATION, ZHONGSHU_7_DURATION,0),LineThick1,COLOR0000FF;

	/////// 死1-1: 黄金线下穿生命线;死1-2: 黄金线下穿M34;死2: 黄金线下穿控盘线;死3: M34线下穿控盘线
	/////// 金1-1: 黄金线上穿生命线;金1-2: 黄金线上穿M34;金2: 黄金线上穿控盘线;金3: M34线上穿控盘线
	/////// 离场的步骤: 30分死1警示 --- 反弹 --- 30分死2离场需要减仓的60% -- 反弹 --- 30分死3离场需要减仓的40% --- 60分钟死2则必须放弃全部减仓。
	/////// 进场的步骤: 30分金1警示 --- 下跌 --- 30分金2进场需要进仓的60% -- 下跌 --- 30分金3进场需要进仓的40% --- 60分钟金2则可以全仓进入。
	/////// 60分金3不犹豫;30分死3不奢望,60分死2要清仓
	/////// 下跌中,如果手中筹码被套,那么在出现30分金2之前,只可以做T,做T注意 不可以用太重的仓位,以免T不成功被埋;当出现30分金2后,才可以买入并持有,未出现30分金2 只许T,不许持有增加仓位;
	三:MA(CLOSE,M3),COLORFFFFFF;
	七:MA(CLOSE,M7),COLORC0C0C0;
	黄:MA(CLOSE,M13),POINTDOT,LINETHICK3,COLORYELLOW;
	生:MA(CLOSE,M21),LINETHICK2,COLORBLUE;
	MA34:MA(CLOSE,M34),COLORGREEN,LINETHICK2;
	控:MA(CLOSE,M55),LINETHICK2,COLORRED;
	MA120:MA(CLOSE,M120),COLOR808080;
	MA233:MA(CLOSE,M233),COLORFF0080;
	MA377:MA(CLOSE,M377),COLOR408000;
	MA611:MA(CLOSE,M611),COLOR008080;


 //  KT中,专家系统(显示红色、绿色箭头)
黄金线:=MA(CLOSE,M13);
生命线:=MA(CLOSE,M21);
MA34:=MA(CLOSE,M34);
控盘线:=MA(CLOSE,M55);

//多头买入:金3
EnterLong:CROSS(MA34,控盘线);
//多头卖出:死2
ExitLong:CROSS(控盘线,黄金线);
//空头卖出:死3
EnterShort:CROSS(控盘线,MA34);
//空头买入:金2
ExitShort:CROSS(黄金线,控盘线);


// 水平、垂直翻转180度,逆向看图
	MAXV:=0;
	MO:=MAXV-O;
	MH:=MAXV-H;
	ML:=MAXV-L;
	MC:=MAXV-C;

	KLINE(MO,MH,ML,MC,0);

	BI_TIME_R:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 0, 0, 0);
	BI_PRICE_R:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 0, 1, 0);
	POLYLINE(BI_TIME_R, BI_PRICE_R),CROSSDOT,ColorGreen;
	
	XIANDUAN_1_TIME_R:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 1, 0, 0);
	XIANDUAN_1_PRICE_R:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 1, 1, 0);
	POLYLINE(XIANDUAN_1_TIME_R, XIANDUAN_1_PRICE_R),CROSSDOT,COLOR0080FF;

	XIANDUAN_2_TIME_R:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 2, 0, 0);
	XIANDUAN_2_PRICE_R:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 2, 1, 0);
	POLYLINE(XIANDUAN_2_TIME_R, XIANDUAN_2_PRICE_R),PointDot,LineThick2,COLOR8080FF;
	
	XIANDUAN_3_TIME_R:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 3, 0, 0);
	XIANDUAN_3_PRICE_R:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 3, 1, 0);
	POLYLINE(XIANDUAN_3_TIME_R, XIANDUAN_3_PRICE_R),CROSSDOT,LineThick3,COLORFF8000;

	ZHONGSHU_0_TIME:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 0, 0, 1);
	ZHONGSHU_0_DURATION:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 0, 1, 1);
	ZHONGSHU_0_LOW:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 0, 2, 1);
	ZHONGSHU_0_HIGH:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 0, 3, 1);
	StickLine(ZHONGSHU_0_TIME == 1, ZHONGSHU_0_LOW, ZHONGSHU_0_HIGH, 1, 0),LineThick1,COLOR808080;
	StickLine(ZHONGSHU_0_TIME == 2, ZHONGSHU_0_LOW, ZHONGSHU_0_HIGH, 1, 0),LineThick1,COLOR808080;
	DRAWSL(ZHONGSHU_0_TIME == 1, ZHONGSHU_0_LOW, (RefX(ZHONGSHU_0_LOW,ZHONGSHU_0_DURATION) - ZHONGSHU_0_LOW)/ZHONGSHU_0_DURATION, ZHONGSHU_0_DURATION,0),LineThick1,COLOR808080;
	DRAWSL(ZHONGSHU_0_TIME == 1, ZHONGSHU_0_HIGH, (RefX(ZHONGSHU_0_HIGH,ZHONGSHU_0_DURATION) - ZHONGSHU_0_HIGH)/ZHONGSHU_0_DURATION, ZHONGSHU_0_DURATION,0),LineThick1,COLOR808080;

	

	ZHONGSHU_1_TIME:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 1, 0, 1);
	ZHONGSHU_1_DURATION:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 1, 1, 1);
	ZHONGSHU_1_LOW:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 1, 2, 1);
	ZHONGSHU_1_HIGH:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 1, 3, 1);
	StickLine(ZHONGSHU_1_TIME == 1, ZHONGSHU_1_LOW, ZHONGSHU_1_HIGH, 1, 0),LineThick1,COLOR808040;
	DRAWNUMBER(ZHONGSHU_1_TIME == 1.5, (ZHONGSHU_1_HIGH + ZHONGSHU_1_LOW)/2, 1, 0),LineThick18, COLOR808040;  
	StickLine(ZHONGSHU_1_TIME == 2, ZHONGSHU_1_LOW, ZHONGSHU_1_HIGH, 1, 0),LineThick1,COLOR808040;
	DRAWSL(ZHONGSHU_1_TIME == 1, ZHONGSHU_1_LOW, (RefX(ZHONGSHU_1_LOW,ZHONGSHU_1_DURATION) - ZHONGSHU_1_LOW)/ZHONGSHU_1_DURATION, ZHONGSHU_1_DURATION,0),LineThick1,COLOR808040;
	DRAWSL(ZHONGSHU_1_TIME == 1, ZHONGSHU_1_HIGH, (RefX(ZHONGSHU_1_HIGH,ZHONGSHU_1_DURATION) - ZHONGSHU_1_HIGH)/ZHONGSHU_1_DURATION, ZHONGSHU_1_DURATION,0),LineThick1,COLOR808040;

	
	
	ZHONGSHU_2_TIME:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 2, 0, 1);
	ZHONGSHU_2_DURATION:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 2, 1, 1);
	ZHONGSHU_2_LOW:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 2, 2, 1);
	ZHONGSHU_2_HIGH:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 2, 3, 1);
	StickLine(ZHONGSHU_2_TIME == 1, ZHONGSHU_2_LOW, ZHONGSHU_2_HIGH, 1, 0),LineThick1,COLORFF8000;
	DRAWNUMBER(ZHONGSHU_2_TIME == 1.5, (ZHONGSHU_2_HIGH + ZHONGSHU_2_LOW)/2, 2, 0),LineThick22, COLORFF8000;  
	StickLine(ZHONGSHU_2_TIME == 2, ZHONGSHU_2_LOW, ZHONGSHU_2_HIGH, 1, 0),LineThick1,COLORFF8000;
	DRAWSL(ZHONGSHU_2_TIME == 1, ZHONGSHU_2_LOW , (RefX(ZHONGSHU_2_LOW,ZHONGSHU_2_DURATION) - ZHONGSHU_2_LOW)/ZHONGSHU_2_DURATION, ZHONGSHU_2_DURATION,0),LineThick1,COLORFF8000;
	DRAWSL(ZHONGSHU_2_TIME == 1, ZHONGSHU_2_HIGH, (RefX(ZHONGSHU_2_HIGH,ZHONGSHU_2_DURATION) - ZHONGSHU_2_HIGH)/ZHONGSHU_2_DURATION, ZHONGSHU_2_DURATION,0),LineThick1,COLORFF8000;

	ZHONGSHU_3_TIME:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 3, 0, 1);
	ZHONGSHU_3_DURATION:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 3, 1, 1);
	ZHONGSHU_3_LOW:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 3, 2, 1);
	ZHONGSHU_3_HIGH:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 3, 3, 1);
	StickLine(ZHONGSHU_3_TIME == 1, ZHONGSHU_3_LOW, ZHONGSHU_3_HIGH, 1, 0),LineThick1,COLOR4080FF;
	DRAWNUMBER(ZHONGSHU_3_TIME == 1.5, (ZHONGSHU_3_HIGH + ZHONGSHU_3_LOW)/2, 3, 0),LineThick22, COLOR4080FF;  
	StickLine(ZHONGSHU_3_TIME == 2, ZHONGSHU_3_LOW, ZHONGSHU_3_HIGH, 1, 0),LineThick1,COLOR4080FF;
	DRAWSL(ZHONGSHU_3_TIME == 1, ZHONGSHU_3_LOW, (RefX(ZHONGSHU_3_LOW,ZHONGSHU_3_DURATION) - ZHONGSHU_3_LOW)/ZHONGSHU_3_DURATION, ZHONGSHU_3_DURATION,0),LineThick1,COLOR4080FF;
	DRAWSL(ZHONGSHU_3_TIME == 1, ZHONGSHU_3_HIGH, (RefX(ZHONGSHU_3_HIGH,ZHONGSHU_3_DURATION) - ZHONGSHU_3_HIGH)/ZHONGSHU_3_DURATION, ZHONGSHU_3_DURATION,0),LineThick1,COLOR4080FF;

	ZHONGSHU_4_TIME:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 4, 0, 1);
	ZHONGSHU_4_DURATION:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 4, 1, 1);
	ZHONGSHU_4_LOW:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 4, 2, 1);
	ZHONGSHU_4_HIGH:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 4, 3, 1);
	StickLine(ZHONGSHU_4_TIME == 1, ZHONGSHU_4_LOW, ZHONGSHU_4_HIGH, 1, 0),LineThick1,COLORFF00FF;
	DRAWNUMBER(ZHONGSHU_4_TIME == 1.5, (ZHONGSHU_4_HIGH + ZHONGSHU_4_LOW)/2, 4, 0),LineThick22, COLORFF00FF;  
	StickLine(ZHONGSHU_4_TIME == 2, ZHONGSHU_4_LOW, ZHONGSHU_4_HIGH, 1, 0),LineThick1,COLORFF00FF;
	DRAWSL(ZHONGSHU_4_TIME == 1, ZHONGSHU_4_LOW, (RefX(ZHONGSHU_4_LOW,ZHONGSHU_4_DURATION) - ZHONGSHU_4_LOW)/ZHONGSHU_4_DURATION, ZHONGSHU_4_DURATION,0),LineThick1,COLORFF00FF;
	DRAWSL(ZHONGSHU_4_TIME == 1, ZHONGSHU_4_HIGH, (RefX(ZHONGSHU_4_HIGH,ZHONGSHU_4_DURATION) - ZHONGSHU_4_HIGH)/ZHONGSHU_4_DURATION, ZHONGSHU_4_DURATION,0),LineThick1,COLORFF00FF;

	ZHONGSHU_5_TIME:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 5, 0, 1);
	ZHONGSHU_5_DURATION:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 5, 1, 1);
	ZHONGSHU_5_LOW:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 5, 2, 1);
	ZHONGSHU_5_HIGH:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 5, 3, 1);
	StickLine(ZHONGSHU_5_TIME == 1, ZHONGSHU_5_LOW, ZHONGSHU_5_HIGH, 1, 0),LineThick1,COLORFFFF00;
	DRAWNUMBER(ZHONGSHU_5_TIME == 1.5, (ZHONGSHU_5_HIGH + ZHONGSHU_5_LOW)/2, 5, 0),LineThick22, COLORFFFF00;  
	StickLine(ZHONGSHU_5_TIME == 2, ZHONGSHU_5_LOW, ZHONGSHU_5_HIGH, 1, 0),LineThick1,COLORFFFF00;
	DRAWSL(ZHONGSHU_5_TIME == 1, ZHONGSHU_5_LOW, (RefX(ZHONGSHU_5_LOW,ZHONGSHU_5_DURATION) - ZHONGSHU_5_LOW)/ZHONGSHU_5_DURATION, ZHONGSHU_5_DURATION,0),LineThick1,COLORFFFF00;
	DRAWSL(ZHONGSHU_5_TIME == 1, ZHONGSHU_5_HIGH, (RefX(ZHONGSHU_5_HIGH,ZHONGSHU_5_DURATION) - ZHONGSHU_5_HIGH)/ZHONGSHU_5_DURATION, ZHONGSHU_5_DURATION,0),LineThick1,COLORFFFF00;


// 飞狐交易师 5.1版本,反向看

//MAXV:=FindHigh(H,1,100000000000,1);
MAXV:=0;
MO:=MAXV-O;
MH:=MAXV-H;
ML:=MAXV-L;
MC:=MAXV-C;

KLINE(MO,MH,ML,MC,0);

	BI_TIME_R:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 0, 0, 0);
	BI_PRICE_R:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 0, 1, 0);
	POLYLINE(BI_TIME_R, BI_PRICE_R),CROSSDOT,ColorGreen;
	
	XIANDUAN_1_TIME:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 1, 0, 0);
	XIANDUAN_1_PRICE:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 1, 1, 0);
	POLYLINE(XIANDUAN_1_TIME, XIANDUAN_1_PRICE),CROSSDOT,COLOR0080FF;

	XIANDUAN_2_TIME:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 2, 0, 0);
	XIANDUAN_2_PRICE:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 2, 1, 0);
	POLYLINE(XIANDUAN_2_TIME, XIANDUAN_2_PRICE),PointDot,LineThick2,COLOR8080FF;
	
	XIANDUAN_3_TIME:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 3, 0, 0);
	XIANDUAN_3_PRICE:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 3, 1, 0);
	POLYLINE(XIANDUAN_3_TIME, XIANDUAN_3_PRICE),CROSSDOT,LineThick3,COLORFF8000;

	ZHONGSHU_0_TIME:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 0, 0, 1);
	ZHONGSHU_0_DURA:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 0, 1, 1);
	ZHONGSHU_0_LOW:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 0, 2, 1);
	ZHONGSHU_0_HIGH:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 0, 3, 1);
	StickLine(ZHONGSHU_0_TIME = 1, ZHONGSHU_0_LOW, ZHONGSHU_0_HIGH, 1, 0),LineThick1,COLOR808080;
	StickLine(ZHONGSHU_0_TIME = 2, ZHONGSHU_0_LOW, ZHONGSHU_0_HIGH, 1, 0),LineThick1,COLOR808080;
	DRAWSL(ZHONGSHU_0_TIME = 1, ZHONGSHU_0_LOW, (RefX(ZHONGSHU_0_LOW,ZHONGSHU_0_DURA) - ZHONGSHU_0_LOW)/ZHONGSHU_0_DURA, ZHONGSHU_0_DURA,0),LineThick1,COLOR808080;
	DRAWSL(ZHONGSHU_0_TIME = 1, ZHONGSHU_0_HIGH, (RefX(ZHONGSHU_0_HIGH,ZHONGSHU_0_DURA) - ZHONGSHU_0_HIGH)/ZHONGSHU_0_DURA, ZHONGSHU_0_DURA,0),LineThick1,COLOR808080;

	

	ZHONGSHU_1_TIME:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 1, 0, 1);
	ZHONGSHU_1_DURA:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 1, 1, 1);
	ZHONGSHU_1_LOW:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 1, 2, 1);
	ZHONGSHU_1_HIGH:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 1, 3, 1);
	StickLine(ZHONGSHU_1_TIME = 1, ZHONGSHU_1_LOW, ZHONGSHU_1_HIGH, 1, 0),LineThick1,COLOR808040;
	DRAWNUMBER(ZHONGSHU_1_TIME = 1.5, (ZHONGSHU_1_HIGH + ZHONGSHU_1_LOW)/2, 1, 0),LineThick18, COLOR808040;  
	StickLine(ZHONGSHU_1_TIME = 2, ZHONGSHU_1_LOW, ZHONGSHU_1_HIGH, 1, 0),LineThick1,COLOR808040;
	DRAWSL(ZHONGSHU_1_TIME = 1, ZHONGSHU_1_LOW, (RefX(ZHONGSHU_1_LOW,ZHONGSHU_1_DURA) - ZHONGSHU_1_LOW)/ZHONGSHU_1_DURA, ZHONGSHU_1_DURA,0),LineThick1,COLOR808040;
	DRAWSL(ZHONGSHU_1_TIME = 1, ZHONGSHU_1_HIGH, (RefX(ZHONGSHU_1_HIGH,ZHONGSHU_1_DURA) - ZHONGSHU_1_HIGH)/ZHONGSHU_1_DURA, ZHONGSHU_1_DURA,0),LineThick1,COLOR808040;

	
	
	ZHONGSHU_2_TIME:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 2, 0, 1);
	ZHONGSHU_2_DURA:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 2, 1, 1);
	ZHONGSHU_2_LOW:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 2, 2, 1);
	ZHONGSHU_2_HIGH:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 2, 3, 1);
	StickLine(ZHONGSHU_2_TIME = 1, ZHONGSHU_2_LOW, ZHONGSHU_2_HIGH, 1, 0),LineThick1,COLORFF8000;
	DRAWNUMBER(ZHONGSHU_2_TIME = 1.5, (ZHONGSHU_2_HIGH + ZHONGSHU_2_LOW)/2, 2, 0),LineThick22, COLORFF8000;  
	StickLine(ZHONGSHU_2_TIME = 2, ZHONGSHU_2_LOW, ZHONGSHU_2_HIGH, 1, 0),LineThick1,COLORFF8000;
	DRAWSL(ZHONGSHU_2_TIME = 1, ZHONGSHU_2_LOW , (RefX(ZHONGSHU_2_LOW,ZHONGSHU_2_DURA) - ZHONGSHU_2_LOW)/ZHONGSHU_2_DURA, ZHONGSHU_2_DURA,0),LineThick1,COLORFF8000;
	DRAWSL(ZHONGSHU_2_TIME = 1, ZHONGSHU_2_HIGH, (RefX(ZHONGSHU_2_HIGH,ZHONGSHU_2_DURA) - ZHONGSHU_2_HIGH)/ZHONGSHU_2_DURA, ZHONGSHU_2_DURA,0),LineThick1,COLORFF8000;

	ZHONGSHU_3_TIME:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 3, 0, 1);
	ZHONGSHU_3_DURA:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 3, 1, 1);
	ZHONGSHU_3_LOW:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 3, 2, 1);
	ZHONGSHU_3_HIGH:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 3, 3, 1);
	StickLine(ZHONGSHU_3_TIME = 1, ZHONGSHU_3_LOW, ZHONGSHU_3_HIGH, 1, 0),LineThick1,COLOR4080FF;
	DRAWNUMBER(ZHONGSHU_3_TIME = 1.5, (ZHONGSHU_3_HIGH + ZHONGSHU_3_LOW)/2, 3, 0),LineThick22, COLOR4080FF;  
	StickLine(ZHONGSHU_3_TIME = 2, ZHONGSHU_3_LOW, ZHONGSHU_3_HIGH, 1, 0),LineThick1,COLOR4080FF;
	DRAWSL(ZHONGSHU_3_TIME = 1, ZHONGSHU_3_LOW, (RefX(ZHONGSHU_3_LOW,ZHONGSHU_3_DURA) - ZHONGSHU_3_LOW)/ZHONGSHU_3_DURA, ZHONGSHU_3_DURA,0),LineThick1,COLOR4080FF;
	DRAWSL(ZHONGSHU_3_TIME = 1, ZHONGSHU_3_HIGH, (RefX(ZHONGSHU_3_HIGH,ZHONGSHU_3_DURA) - ZHONGSHU_3_HIGH)/ZHONGSHU_3_DURA, ZHONGSHU_3_DURA,0),LineThick1,COLOR4080FF;

	ZHONGSHU_4_TIME:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 4, 0, 1);
	ZHONGSHU_4_DURA:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 4, 1, 1);
	ZHONGSHU_4_LOW:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 4, 2, 1);
	ZHONGSHU_4_HIGH:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 4, 3, 1);
	StickLine(ZHONGSHU_4_TIME = 1, ZHONGSHU_4_LOW, ZHONGSHU_4_HIGH, 1, 0),LineThick1,COLORFF00FF;
	DRAWNUMBER(ZHONGSHU_4_TIME = 1.5, (ZHONGSHU_4_HIGH + ZHONGSHU_4_LOW)/2, 4, 0),LineThick22, COLORFF00FF;  
	StickLine(ZHONGSHU_4_TIME = 2, ZHONGSHU_4_LOW, ZHONGSHU_4_HIGH, 1, 0),LineThick1,COLORFF00FF;
	DRAWSL(ZHONGSHU_4_TIME = 1, ZHONGSHU_4_LOW, (RefX(ZHONGSHU_4_LOW,ZHONGSHU_4_DURA) - ZHONGSHU_4_LOW)/ZHONGSHU_4_DURA, ZHONGSHU_4_DURA,0),LineThick1,COLORFF00FF;
	DRAWSL(ZHONGSHU_4_TIME = 1, ZHONGSHU_4_HIGH, (RefX(ZHONGSHU_4_HIGH,ZHONGSHU_4_DURA) - ZHONGSHU_4_HIGH)/ZHONGSHU_4_DURA, ZHONGSHU_4_DURA,0),LineThick1,COLORFF00FF;

	ZHONGSHU_5_TIME:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 5, 0, 1);
	ZHONGSHU_5_DURA:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 5, 1, 1);
	ZHONGSHU_5_LOW:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 5, 2, 1);
	ZHONGSHU_5_HIGH:="STOCKFUNC1@CHZHSHCH"(MO, MC, ML, MH, 5, 3, 1);
	StickLine(ZHONGSHU_5_TIME = 1, ZHONGSHU_5_LOW, ZHONGSHU_5_HIGH, 1, 0),LineThick1,COLORFFFF00;
	DRAWNUMBER(ZHONGSHU_5_TIME = 1.5, (ZHONGSHU_5_HIGH + ZHONGSHU_5_LOW)/2, 5, 0),LineThick22, COLORFFFF00;  
	StickLine(ZHONGSHU_5_TIME = 2, ZHONGSHU_5_LOW, ZHONGSHU_5_HIGH, 1, 0),LineThick1,COLORFFFF00;
	DRAWSL(ZHONGSHU_5_TIME = 1, ZHONGSHU_5_LOW, (RefX(ZHONGSHU_5_LOW,ZHONGSHU_5_DURA) - ZHONGSHU_5_LOW)/ZHONGSHU_5_DURA, ZHONGSHU_5_DURA,0),LineThick1,COLORFFFF00;
	DRAWSL(ZHONGSHU_5_TIME = 1, ZHONGSHU_5_HIGH, (RefX(ZHONGSHU_5_HIGH,ZHONGSHU_5_DURA) - ZHONGSHU_5_HIGH)/ZHONGSHU_5_DURA, ZHONGSHU_5_DURA,0),LineThick1,COLORFFFF00;




// 飞狐交易师5.1版本; 飞狐交易师安装包里有自己的.zip开发包,里面的API数据结构,有些不同,对应的API接口位于 FoxFunc.h中

	BI_TIME:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 0, 0, 0);
	BI_PRICE:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 0, 1, 0);
	PolyLine(BI_TIME, BI_PRICE),CROSSDOT,COLOR408080;
	
	XIANDUAN_1_TIME:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 1, 0, 0);
	XIANDUAN_1_PRICE:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 1, 1, 0);
	PolyLine(XIANDUAN_1_TIME, XIANDUAN_1_PRICE),CROSSDOT,COLOR808040;

	XIANDUAN_2_TIME:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 2, 0, 0);
	XIANDUAN_2_PRICE:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 2, 1, 0);
	PolyLine(XIANDUAN_2_TIME, XIANDUAN_2_PRICE),CROSSDOT,COLORFF8000;
	
	XIANDUAN_3_TIME:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 3, 0, 0);
	XIANDUAN_3_PRICE:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 3, 1, 0);
	PolyLine(XIANDUAN_3_TIME, XIANDUAN_3_PRICE),CROSSDOT,COLOR4080FF;

	XIANDUAN_4_TIME:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 4, 0, 0);
	XIANDUAN_4_PRICE:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 4, 1, 0);
	PolyLine(XIANDUAN_4_TIME, XIANDUAN_4_PRICE),COLORSTICK,COLORFF00FF;
	
	XIANDUAN_5_TIME:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 5, 0, 0);
	XIANDUAN_5_PRICE:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 5, 1, 0);
	PolyLine(XIANDUAN_5_TIME, XIANDUAN_5_PRICE),LINEDASH,COLORFFFF00;
	
	XIANDUAN_6_TIME:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 6, 0, 0);
	XIANDUAN_6_PRICE:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 6, 1, 0);
	PolyLine(XIANDUAN_6_TIME, XIANDUAN_6_PRICE),LINEDASH,COLOR40FF00;
	
	XIANDUAN_7_TIME:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 7, 0, 0);
	XIANDUAN_7_PRICE:="STOCKFUNC@CHZHSHCH"(Open, Close, Low, High, 7, 1, 0);
	PolyLine(XIANDUAN_7_TIME, XIANDUAN_7_PRICE),LINEDASH,COLOR0000FF;
	
	ZHONGSHU_0_TIME:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 0, 0, 1);
	ZHONGSHU_0_DURA:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 0, 1, 1);
	ZHONGSHU_0_LOW:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 0, 2, 1);
	ZHONGSHU_0_HIGH:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 0, 3, 1);
	StickLine(ZHONGSHU_0_TIME = 1, ZHONGSHU_0_LOW, ZHONGSHU_0_HIGH, 1, 0),LineThick1,COLOR808080;
	StickLine(ZHONGSHU_0_TIME = 2, ZHONGSHU_0_LOW, ZHONGSHU_0_HIGH, 1, 0),LineThick1,COLOR808080;
	DRAWSL(ZHONGSHU_0_TIME = 1, ZHONGSHU_0_LOW, (RefX(ZHONGSHU_0_LOW,ZHONGSHU_0_DURA) - ZHONGSHU_0_LOW)/ZHONGSHU_0_DURA, ZHONGSHU_0_DURA,0),LineThick1,COLOR808080;
	DRAWSL(ZHONGSHU_0_TIME = 1, ZHONGSHU_0_HIGH, (RefX(ZHONGSHU_0_HIGH,ZHONGSHU_0_DURA) - ZHONGSHU_0_HIGH)/ZHONGSHU_0_DURA, ZHONGSHU_0_DURA,0),LineThick1,COLOR808080;


	ZHONGSHU_1_TIME:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 1, 0, 1);
	ZHONGSHU_1_DURA:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 1, 1, 1);
	ZHONGSHU_1_LOW:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 1, 2, 1);
	ZHONGSHU_1_HIGH:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 1, 3, 1);
	StickLine(ZHONGSHU_1_TIME = 1, ZHONGSHU_1_LOW, ZHONGSHU_1_HIGH, 1, 0),LineThick1,COLOR808040;
	DRAWNUMBER(ZHONGSHU_1_TIME = 1.5, (ZHONGSHU_1_HIGH + ZHONGSHU_1_LOW)/2, 1, 0),LineThick18, COLOR808040;  
	StickLine(ZHONGSHU_1_TIME = 2, ZHONGSHU_1_LOW, ZHONGSHU_1_HIGH, 1, 0),LineThick1,COLOR808040;
	DRAWSL(ZHONGSHU_1_TIME = 1, ZHONGSHU_1_LOW, (RefX(ZHONGSHU_1_LOW,ZHONGSHU_1_DURA) - ZHONGSHU_1_LOW)/ZHONGSHU_1_DURA, ZHONGSHU_1_DURA,0),LineThick1,COLOR808040;
	DRAWSL(ZHONGSHU_1_TIME = 1, ZHONGSHU_1_HIGH, (RefX(ZHONGSHU_1_HIGH,ZHONGSHU_1_DURA) - ZHONGSHU_1_HIGH)/ZHONGSHU_1_DURA, ZHONGSHU_1_DURA,0),LineThick1,COLOR808040;

	
	ZHONGSHU_2_TIME:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 2, 0, 1);
	ZHONGSHU_2_DURA:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 2, 1, 1);
	ZHONGSHU_2_LOW:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 2, 2, 1);
	ZHONGSHU_2_HIGH:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 2, 3, 1);
	StickLine(ZHONGSHU_2_TIME = 1, ZHONGSHU_2_LOW, ZHONGSHU_2_HIGH, 1, 0),LineThick1,COLORFF8000;
	DRAWNUMBER(ZHONGSHU_2_TIME = 1.5, (ZHONGSHU_2_HIGH + ZHONGSHU_2_LOW)/2, 2, 0),LineThick22, COLORFF8000;  
	StickLine(ZHONGSHU_2_TIME = 2, ZHONGSHU_2_LOW, ZHONGSHU_2_HIGH, 1, 0),LineThick1,COLORFF8000;
	DRAWSL(ZHONGSHU_2_TIME = 1, ZHONGSHU_2_LOW , (RefX(ZHONGSHU_2_LOW,ZHONGSHU_2_DURA) - ZHONGSHU_2_LOW)/ZHONGSHU_2_DURA, ZHONGSHU_2_DURA,0),LineThick1,COLORFF8000;
	DRAWSL(ZHONGSHU_2_TIME = 1, ZHONGSHU_2_HIGH, (RefX(ZHONGSHU_2_HIGH,ZHONGSHU_2_DURA) - ZHONGSHU_2_HIGH)/ZHONGSHU_2_DURA, ZHONGSHU_2_DURA,0),LineThick1,COLORFF8000;

	ZHONGSHU_3_TIME:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 3, 0, 1);
	ZHONGSHU_3_DURA:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 3, 1, 1);
	ZHONGSHU_3_LOW:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 3, 2, 1);
	ZHONGSHU_3_HIGH:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 3, 3, 1);
	StickLine(ZHONGSHU_3_TIME = 1, ZHONGSHU_3_LOW, ZHONGSHU_3_HIGH, 1, 0),LineThick1,COLOR4080FF;
	DRAWNUMBER(ZHONGSHU_3_TIME = 1.5, (ZHONGSHU_3_HIGH + ZHONGSHU_3_LOW)/2, 3, 0),LineThick22, COLOR4080FF;  
	StickLine(ZHONGSHU_3_TIME = 2, ZHONGSHU_3_LOW, ZHONGSHU_3_HIGH, 1, 0),LineThick1,COLOR4080FF;
	DRAWSL(ZHONGSHU_3_TIME = 1, ZHONGSHU_3_LOW, (RefX(ZHONGSHU_3_LOW,ZHONGSHU_3_DURA) - ZHONGSHU_3_LOW)/ZHONGSHU_3_DURA, ZHONGSHU_3_DURA,0),LineThick1,COLOR4080FF;
	DRAWSL(ZHONGSHU_3_TIME = 1, ZHONGSHU_3_HIGH, (RefX(ZHONGSHU_3_HIGH,ZHONGSHU_3_DURA) - ZHONGSHU_3_HIGH)/ZHONGSHU_3_DURA, ZHONGSHU_3_DURA,0),LineThick1,COLOR4080FF;

	ZHONGSHU_4_TIME:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 4, 0, 1);
	ZHONGSHU_4_DURA:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 4, 1, 1);
	ZHONGSHU_4_LOW:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 4, 2, 1);
	ZHONGSHU_4_HIGH:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 4, 3, 1);
	StickLine(ZHONGSHU_4_TIME = 1, ZHONGSHU_4_LOW, ZHONGSHU_4_HIGH, 1, 0),LineThick1,COLORFF00FF;
	DRAWNUMBER(ZHONGSHU_4_TIME = 1.5, (ZHONGSHU_4_HIGH + ZHONGSHU_4_LOW)/2, 4, 0),LineThick22, COLORFF00FF;  
	StickLine(ZHONGSHU_4_TIME = 2, ZHONGSHU_4_LOW, ZHONGSHU_4_HIGH, 1, 0),LineThick1,COLORFF00FF;
	DRAWSL(ZHONGSHU_4_TIME = 1, ZHONGSHU_4_LOW, (RefX(ZHONGSHU_4_LOW,ZHONGSHU_4_DURA) - ZHONGSHU_4_LOW)/ZHONGSHU_4_DURA, ZHONGSHU_4_DURA,0),LineThick1,COLORFF00FF;
	DRAWSL(ZHONGSHU_4_TIME = 1, ZHONGSHU_4_HIGH, (RefX(ZHONGSHU_4_HIGH,ZHONGSHU_4_DURA) - ZHONGSHU_4_HIGH)/ZHONGSHU_4_DURA, ZHONGSHU_4_DURA,0),LineThick1,COLORFF00FF;

	ZHONGSHU_5_TIME:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 5, 0, 1);
	ZHONGSHU_5_DURA:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 5, 1, 1);
	ZHONGSHU_5_LOW:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 5, 2, 1);
	ZHONGSHU_5_HIGH:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 5, 3, 1);
	StickLine(ZHONGSHU_5_TIME = 1, ZHONGSHU_5_LOW, ZHONGSHU_5_HIGH, 1, 0),LineThick1,COLORFFFF00;
	DRAWNUMBER(ZHONGSHU_5_TIME = 1.5, (ZHONGSHU_5_HIGH + ZHONGSHU_5_LOW)/2, 5, 0),LineThick22, COLORFFFF00;  
	StickLine(ZHONGSHU_5_TIME = 2, ZHONGSHU_5_LOW, ZHONGSHU_5_HIGH, 1, 0),LineThick1,COLORFFFF00;
	DRAWSL(ZHONGSHU_5_TIME = 1, ZHONGSHU_5_LOW, (RefX(ZHONGSHU_5_LOW,ZHONGSHU_5_DURA) - ZHONGSHU_5_LOW)/ZHONGSHU_5_DURA, ZHONGSHU_5_DURA,0),LineThick1,COLORFFFF00;
	DRAWSL(ZHONGSHU_5_TIME = 1, ZHONGSHU_5_HIGH, (RefX(ZHONGSHU_5_HIGH,ZHONGSHU_5_DURA) - ZHONGSHU_5_HIGH)/ZHONGSHU_5_DURA, ZHONGSHU_5_DURA,0),LineThick1,COLORFFFF00;

	ZHONGSHU_6_TIME:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 6, 0, 1);
	ZHONGSHU_6_DURA:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 6, 1, 1);
	ZHONGSHU_6_LOW:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 6, 2, 1);
	ZHONGSHU_6_HIGH:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 6, 3, 1);
	StickLine(ZHONGSHU_6_TIME = 1, ZHONGSHU_6_LOW, ZHONGSHU_6_HIGH, 1, 0),LineThick1,COLOR40FF00;
	DRAWNUMBER(ZHONGSHU_6_TIME = 1.5, (ZHONGSHU_6_HIGH + ZHONGSHU_6_LOW)/2, 6, 0),LineThick23, COLOR40FF00;  
	StickLine(ZHONGSHU_6_TIME = 2, ZHONGSHU_6_LOW, ZHONGSHU_6_HIGH, 1, 0),LineThick1,COLOR40FF00;
	DRAWSL(ZHONGSHU_6_TIME = 1, ZHONGSHU_6_LOW, (RefX(ZHONGSHU_6_LOW,ZHONGSHU_6_DURA) - ZHONGSHU_6_LOW)/ZHONGSHU_6_DURA, ZHONGSHU_6_DURA,0),LineThick1,COLOR40FF00;
	DRAWSL(ZHONGSHU_6_TIME = 1, ZHONGSHU_6_HIGH, (RefX(ZHONGSHU_6_HIGH,ZHONGSHU_6_DURA) - ZHONGSHU_6_HIGH)/ZHONGSHU_6_DURA, ZHONGSHU_6_DURA,0),LineThick1,COLOR40FF00;

	ZHONGSHU_7_TIME:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 7, 0, 1);
	ZHONGSHU_7_DURA:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 7, 1, 1);
	ZHONGSHU_7_LOW:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 7, 2, 1);
	ZHONGSHU_7_HIGH:="STOCKFUNC@CHZHSHCH"(O, C, L, H, 7, 3, 1);
	StickLine(ZHONGSHU_7_TIME = 1, ZHONGSHU_7_LOW, ZHONGSHU_7_HIGH, 1, 0),LineThick1,COLOR0000FF;
	DRAWNUMBER(ZHONGSHU_7_TIME = 1.5, (ZHONGSHU_7_HIGH + ZHONGSHU_7_LOW)/2, 7, 0),LineThick24, COLOR0000FF;  
	StickLine(ZHONGSHU_7_TIME = 2, ZHONGSHU_7_LOW, ZHONGSHU_7_HIGH, 1, 0),LineThick1,COLOR0000FF;
	DRAWSL(ZHONGSHU_7_TIME = 1, ZHONGSHU_7_LOW, (RefX(ZHONGSHU_7_LOW,ZHONGSHU_7_DURA) - ZHONGSHU_7_LOW)/ZHONGSHU_7_DURA, ZHONGSHU_7_DURA,0),LineThick1,COLOR0000FF;
	DRAWSL(ZHONGSHU_7_TIME = 1, ZHONGSHU_7_HIGH, (RefX(ZHONGSHU_7_HIGH,ZHONGSHU_7_DURA) - ZHONGSHU_7_HIGH)/ZHONGSHU_7_DURA, ZHONGSHU_7_DURA,0),LineThick1,COLOR0000FF;