坐标线:0;20;50;80;100;
底部区域:20,COLORGREEN;
强弱分界线:50,COLORYELLOW;
顶部区域:80,COLORRED;
趋势线: 3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*
SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1);
STICKLINE(趋势线>=REF(趋势线,1) AND 趋势线>50,趋势线,50,3,0),COLOR000033;
STICKLINE(趋势线>=REF(趋势线,1) AND 趋势线>50,趋势线,50,2.5,0),COLOR000099;
STICKLINE(趋势线>=REF(趋势线,1) AND 趋势线>50,趋势线,50,2,0),COLOR0000AA;
STICKLINE(趋势线>=REF(趋势线,1) AND 趋势线>50,趋势线,50,1,0),COLOR0000CC;
STICKLINE(趋势线>=REF(趋势线,1) AND 趋势线>50,趋势线,50,0,0),COLORRED;
STICKLINE(趋势线<REF(趋势线,1) AND 趋势线>50,趋势线,50,3,0),COLOR003333;
STICKLINE(趋势线<REF(趋势线,1) AND 趋势线>50,趋势线,50,2.5,0),COLOR009999;
STICKLINE(趋势线<REF(趋势线,1) AND 趋势线>50,趋势线,50,2,0),COLOR00AAAA;
STICKLINE(趋势线<REF(趋势线,1) AND 趋势线>50,趋势线,50,1,0),COLOR00CCCC;
STICKLINE(趋势线<REF(趋势线,1) AND 趋势线>50,趋势线,50,0.1,0),COLORYELLOW;
STICKLINE(趋势线<=REF(趋势线,1) AND 趋势线<50,趋势线,50,3,0),COLOR003300;
STICKLINE(趋势线<=REF(趋势线,1) AND 趋势线<50,趋势线,50,2.5,0),COLOR006600;
STICKLINE(趋势线<=REF(趋势线,1) AND 趋势线<50,趋势线,50,2,0),COLOR00AA00;
STICKLINE(趋势线<=REF(趋势线,1) AND 趋势线<50,趋势线,50,1,0),COLOR00CC00;
STICKLINE(趋势线<=REF(趋势线,1) AND 趋势线<50,趋势线,50,0.1,0),COLORGREEN;
STICKLINE(趋势线>=REF(趋势线,1) AND 趋势线<50,趋势线,50,3,0),COLOR330033;
STICKLINE(趋势线>=REF(趋势线,1) AND 趋势线<50,趋势线,50,2,0),COLOR660066;
STICKLINE(趋势线>=REF(趋势线,1) AND 趋势线<50,趋势线,50,1.5,0),COLOR990099;
STICKLINE(趋势线>=REF(趋势线,1) AND 趋势线<50,趋势线,50,1,0),COLORAA00AA;
STICKLINE(趋势线>=REF(趋势线,1) AND 趋势线<50,趋势线,50,0,0),COLORFA05FF;
低吸: IF((趋势线<20),10,0) ,COLORF344C7,LINETHICK2;
高抛:IF((趋势线>80),90,100),COLOR00FF00,LINETHICK2;
A:=趋势线>=REF(趋势线,1) AND REF(趋势线,1)<REF(趋势线,2) AND 趋势线<50;
DRAWICON(A,趋势线-2,1);
DRAWTEXT(CROSS(趋势线,50),0-0,'买'),COLORFF00FF;
DRAWTEXT(CROSS(50,趋势线),0-0,'卖'),COLORGREEN;