input:P1(3,0,30),P2(6,1,300),P3(18,1,300),P4(250,0,300),延迟日(5,0,100); VAR1:=(((CLOSE + LOW) + HIGH) / 3); VAR2:=EMA(VAR1,6); VAR3:=EMA(VAR2,5); VAR4:=EMA(VAR3,12); VAR5:=EMA(VAR4,5); 法界佛珠:EMA(VAR3,30),POINTDOT,colorFF; DRAWICON((CLOSE >= 法界佛珠),法界佛珠,10); DRAWICON((CLOSE < 法界佛珠),法界佛珠,11); A:=HHV(MA((((LOW + HIGH) + CLOSE) / 3),3),3); B:=LLV(MA((((LOW + HIGH) + CLOSE) / 3),3),10); STICKLINE((BARSCOUNT(CLOSE) = SYSPARAM(1)),A,A,20,0),SHIFT1,LINETHICK3,colorFFFF; DRAWNUMBER((BARSCOUNT(CLOSE) = SYSPARAM(1)),A,A,3),SHIFT3,colorFFFF; STICKLINE((BARSCOUNT(CLOSE) = SYSPARAM(1)),B,B,20,0),SHIFT1,LINETHICK3,colorDB3FDD; DRAWNUMBER((BARSCOUNT(CLOSE) = SYSPARAM(1)),B,B,3),SHIFT3,colorDB3FDD; DRAWTEXT((SYSPARAM(2) = BARPOS),CLOSE,(' ' + BLKNAME)),ALIGN4,colorCCFFCC; A1:=COST(95); A2:=COST(5); LY:=(((A1 - A2) * 100) / (A1 + A2)); DRAWICON((LY > REF(LY,1)),(LOW * 0.98),8),ALIGN5; |
