N:=5; 红:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),colorred,LINETHICK0;
绿:2*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
1*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),5.2,1),colorgreen,LINETHICK0;
蓝:1.765*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
1*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),5.2,1),colorwhite,LINETHICK0;
VARO5:=LLV(LOW,27);
VARO6:=HHV(HIGH,34);
VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
顶: IF((VARO7<10),90,120),LINETHICK0,colorblue;
底:10;
0,LINETHICK2 ,COLORFFFFFF;
DRAWTEXT(红<10AND 红>=0,红,'底'),COLORFF00FF;
DRAWTEXT(红<0,红,'负'),colorred;
DRAWTEXT(红>=10AND 红<20,红,'1'),COLOR00FFFF;
DRAWTEXT(红>=20AND 红<30,红,'2'),COLOR00FFFF;
DRAWTEXT(红>=30AND 红<40,红,'3'),COLOR00FFFF;
DRAWTEXT(红>=40AND 红<50,红,'4'),COLOR00FFFF;
DRAWTEXT(红>=50AND 红<60,红,'5'),COLOR00FFFF;
DRAWTEXT(红>=60AND 红<70,红,'6'),COLOR00FFFF;
DRAWTEXT(红>=70AND 红<80,红,'7'),COLOR00FFFF;
DRAWTEXT(红>=80AND 红<90,红,'8'),COLOR00FFFF;
DRAWTEXT(红>=90AND 红<100,红,'9'),colorred;
DRAWTEXT(红>=100AND 红<101,红,'0'),COLORFF00FF;
DRAWTEXT(红>=101AND 红<102,红,'01'),COLORFF00FF;
DRAWTEXT(红>=102AND 红<103,红,'02'),COLORFF00FF;
DRAWTEXT(红>=103AND 红<104,红,'03'),COLORFF00FF;
DRAWTEXT(红>=104AND 红<105,红,'04'),COLORFF00FF;
DRAWTEXT(红>=105AND 红<106,红,'05'),COLORFF00FF;
DRAWTEXT(红>=106AND 红<107,红,'06'),COLORFF00FF;
DRAWTEXT(红>=107AND 红<108,红,'07'),COLORFF00FF;
DRAWTEXT(红>=108AND 红<109,红,'08'),COLORFF00FF;
DRAWTEXT(红>=109AND 红<110,红,'09'),COLORFF00FF;
DRAWTEXT(红>110,红,'11'),COLORFF00FF;
|
