N1:=4;N2:=8;N3:=16;M:=6;N:=34;HH:=MAX(HIGH,REF(CLOSE,1));LL:=MIN(LOW,REF(CLOSE,1));AA:=SUM(CLOSE-LL,4)/SUM(HH-LL,4);BB:=SUM(CLOSE-LL,8)/SUM(HH-LL,8);CC:=SUM(CLOSE-LL,16)/SUM(HH-LL,16);B:(AA/4+BB/8+CC/16)*4*8*16/(4*8+8*16+4*16)*100,COLORRED,LINETHICK2;S:EMA(B,6),COLORCYAN,LINETHICK2;{DRWGBKLAST(V>1,STRIP(RGB(0,0,0)RGB(90,90,90),0));}SAT:=(AMOUNT/C)/(HHV(AMOUNT,34)/HHV(C,34));飽和度IF(SAT>1,1,SAT)*100,量能≦5:STICKLINE(飽和度≦5,5飽和度+20,4,0COLORWHITE;量能5~80:STICKLINE((~>5AND飽和度<80),5,飽和度+8,4,0),COLOR5290FF;量能80~97:STICKLINE(飽和度,4,0),COLORRED;量能≧97:STICKLINE(飽和度>=97,5,飽和度,4,0),COLORYELLOW;{IF BARSTAUS=2 AND(飽和度)THEN BEGIN DRAWTEXTREL(0,100,'飽和度;'+NUMTOSTRN(飽和度,2)),LINETHICK6,COLORCCFFCC;END;DIFF:(EMA(CLOSE,9)-EMA(CLOSE,17))*50,COLORRED;};
聯(lián)系客服