① 10鍊嶅ぇ濡栬偂鐨勫惎鍔ㄧ偣閫夎偂婧愮爜
濡備笅錛 {鐧懼簳鍏寮1} {AB:=EMA(((2*C+H+L)/4-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,8); BA:=EMA(AB,5); 涓:IF(AB>0 AND AB-BA<=0,涓1,涓1),COLORWHITE; 搴:IF(AB>0 AND AB-BA<=0,搴1,搴1),COLORYELLOW; DRAWTEXT(ISLASTBAR,(欏),STRCAT('',CON2STR(欏,2))),COLORWHITE; DRAWTEXT(ISLASTBAR,(涓),STRCAT('',CON2STR(涓,2))),COLORWHITE;楂:IF(CURRBARSCOUNT<=N,CONST(HHV(H,N)),DRAWNULL),COLORGREEN ; 浣:IF(CURRBARSCOUNT<=N,CONST(LLV(L,N)),DRAWNULL),COLORYELLOW; NOTEXT涓:浣+(楂-浣)/2 COLORWHITE; {娑ㄥ箙:(C-浣)/浣*100 NODRAW COLORFF00FF;} 娑ㄥ箙:((C-浣)/(楂-浣))*100 NODRAW COLORFF00FF; 娑ㄥぉ鏁:LLVBARS(L,100)COLORWHITE NODRAW; {璺屽箙:((C-楂)/楂)*100 NODRAW COLORD9D919;}; 璺屽箙:((C-楂)/(楂-浣))*100 NODRAW COLORD9D919; DRAWTEXT(ISLASTBAR,(NOTEXT涓),STRCAT('',CON2STR(NOTEXT涓,2))),COLORWHITE; DRAWTEXT(ISLASTBAR,(浣),STRCAT('',CON2STR(浣,2))),COLORWHITE; MA5:MA(C,5),COLORYELLOW; NOTEXT5:IF((C<=MA5 OR MA5<=REF(MA5,1)),MA5,DRAWNULL),COLORFFFF00; 鎸騫:((楂-浣)/浣)*100 NODRAW COLORGREEN; 鍧鍛ㄦ湀:INBLOCK('鍧囧懆')AND INBLOCK('鍧囨湀') COLORWHITE NODRAW; 閫冨懆鏈:INBLOCK('閫冨懆')AND INBLOCK('閫冩湀')NODRAW COLORYELLOW; {VAR6:=REF(C,1); VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100; {鐧懼簳璺:=((C-浣)/浣)*100; XG1:=BETWEEN(C,浣,浣*(1+0.03)); 鐩樻暣澶:BARSLASTCOUNT(XG1)NODRAW COLORYELLOW;} {涓婃定鍊:=MA((H+REF(L,1))/2,3); 涔拌繘楂樼偣:=MA((H+REF(H,1))/2,3); VAR1:=((O+H+L+2*C)/5)*2-L; 紿佺牬涔板叆鍊:=MA(VAR1,3);{LSS杞寸偣紿佺牬涔板叆鍊紏 {涓嬭穼鍊:=MA((REF(H,1)+L)/2,3); 鍗栧嚭浣庣偣:=MA((REF(L,1)+L)/2,3); VAR2:=((O+H+L+2*C)/5)*2-H; 紿佺牬鍗栧嚭鍊:=MA(VAR2,3); 嬈℃棩鍗栧嚭鐐:=(涓婃定鍊+涔拌繘楂樼偣+紿佺牬涔板叆鍊+H)/4; 嬈℃棩涔板叆鐐:=(涓嬭穼鍊+鍗栧嚭浣庣偣+紿佺牬鍗栧嚭鍊+L)/4;