1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
| SH1:=REF(C,1); SH2:=SMA(MAX(C-SH1,0),2,1)/SMA(ABS(C-SH1),2,1)*100-50; SH3:=SH2<(-45); SH4:=CROSS((-40),SH2); SH5:=SH3 OR SH4; SH6:=SH5 AND C>O; SH7:=10; SH8:=100*(HHV(H,SH7)-C)/(HHV(H,SH7)-LLV(L,SH7)); SH9:=100*(HHV(H,6)-C)/(HHV(H,6)-LLV(L,6)); SH10:=SH8>90 OR SH9>90; SH11:=5; SH12:=IF(DATE< 1900612,1,1); SH13:=(H+MAX(C,O))/2; SH14:=MA(SH13,3); SH15:=(H+L+C+O)/4; SH16:=MA(SH15,3); SH17:=REF((C+O)/2,1)>REF((C+O)/2,2) AND REF(MIN(C,O),1)>REF(MAX(C,O),2); SH18:=(SH16-(REF(SH16,1)-SH16)-L)/L*100; SH19:=(SH14+(SH14-REF(SH14,1))-L)/L*100; SH20:=IF(SH17,SH19,SH18); SH21:=SMA(L,4,3); SH22:=REF(L,1)-HHV(MAX(REF(L,2),REF(L,1))-MIN(REF(L,2),REF(L,1)),2); SH23:=REF((C+O)/2,1)>REF((C+O)/2,2); SH24:=L<=SH22+SH22*0.01 AND O>REF(O,2) AND O>=REF(L,3) AND COUNT(C>O,7)>3; SH25:=(SH22-L)/L*100; SH26:=(SH21-L)/L>SH11/1000; SH27:=SH26; SH28:=(REF(H,1)-O)/O*100-(REF(MAX(C,O),2)-REF(MAX(C,O),1))/REF(MAX(C,O),1)*100; SH29:=IF(SH23,SH25,SH28); SH30:=SH25+SH29>2; SH31:=IF(SH23,SH24,SH30) AND SH20>2; SH32:=SH12 AND SH27 AND SH31; 捞月:REF(SH32,1) AND L< REF(L/0.995,1) AND SH6 AND SH10,COLORYELLOW; DRAWTEXT_FIX(C>O,0.01,0.9,0,'SGZBK.TOP'),COLORWHITE; STICKLINE(捞月,0,1.2,1,0),COLORYELLOW; STICKLINE(捞月,0,1,3,0),COLORRED; DRAWICON(捞月,1,36); DRAWICON(捞月,1,36); DRAWICON(捞月,1.3,13);
|