1、VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
2、VAR2:=SMA(VAR1,9,1)+100;
3、VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
4、VAR4:=SMA(VAR3,3,1);
5、VAR5:=SMA(VAR4,3,1)+100;
6、強弱分界:50,COLORFFFFCC;
7、底部:0,COLOR00FFFF;
8、安全:20,COLORFFAA66,LINETHICK1;
9、預警:80,COLORFFAA66,LINETHICK1;
10、頂部:100,COLORFFFF33;
11、V1:=LLV(LOW,10);
12、V2:=HHV(H,25);
13、價位線:=EMA((C-V1)/(V2-V1)*4,4);
14、DRAWTEXT(CROSS(價位線,0.3),20+4,'●買'),COLORRED;
15、DRAWTEXT(CROSS(3.5,價位線),100-4,'●賣'),COLORGREEN;
16、VAR2Q:=REF(LOW,1);
17、VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100;
18、VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);
19、VAR5Q:=LLV(LOW,30);
20、VAR6Q:=HHV(VAR4Q,30);
21、VAR7Q:=IF(MA(CLOSE,58),1,0);
22、VAR8Q:=EMA(IF(LOW100,100,VAR8Q);
24、吸籌:STICKLINE(VAR9Q>-120,0,VAR9Q,8,1),COLORYELLOW;
25、AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
26、AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
27、AA5:=SMA(AA4,13,8);
28、走勢:=CEILING(SMA(AA5,13,8));
29、AA6:=SMA(AA3,21,8);
30、賣臨界:STICKLINE(走勢-AA6>85,103,100,10,1),COLORRED,LINETHICK2;
31、主力線:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
32、超短線:(((主力線-LLV(主力線,21))/(HHV(主力線,21)-LLV(主力線,21)))*(4))*(25),LINETHICK2,COLORRED;
33、VAR11:=3;
34、VAR21:=(3)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1))-(2)*(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1));
35、RSV1:=(CLOsE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
36、RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;
37、短線:SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21),COLOR00FF00;
38、中線:SMA(RSV2,5,1)+2*STD(CLOSE,37),COLORRED;
39、RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
40、長線:SMA(RSV3,5,1),COLORYELLOW;
41、看底:STICKLINE(中線