2024年11月4日发(作者:贵如容)
/*
<=1/100),1,0));
D22{多方炮}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) AND
REF(CLOSE,1) AND CLOSE>OPEN),1,0)); D23{出水芙蓉}:=CONST(IF(((OPEN OR OPEN< EMA(C,60)) AND (C>MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60))))AND (V/MA(V,30) >1.2 AND C/REF(C,1)>1.049)),1,0)); D24{上升三部曲}:=CONST(IF((REF(CLOSE,4)/REF(OPEN,4)>1.03 AND REF(CLOSE,3) REF(CLOSE,1) AND REF(LOW,4) REF(LOW,4) REF(HIGH,4)>REF(HIGH,2) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN>1.03 AND CLOSE>REF (CLOSE,4)),1,0)); D25{下跌三部曲}:=CONST(IF(( REF(CLOSE,4)/REF(OPEN,4)<0.97 AND REF(CLOSE,3) >REF(OPEN,3) AND REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND REF(LOW,4) REF(LOW,4) REF(HIGH,4)>REF(HIGH,2) AND REF (HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN<0.97 AND CLOSE D26{跳空缺口}:=CONST(IF(HIGH LOW>REF(HIGH,1),1,0)); D27{三只乌鸦}:=CONST(IF((REF(CLOSE,2) REF(CLOSE,1) REF(CLOSE,1) AND CLOSE D28{光脚阴线}:=CONST(IF((LOW=CLOSE AND HIGH!=LOW),1,0)); D29{光头阳线}:=CONST(IF((HIGH=CLOSE AND HIGH!=LOW),1,0)); D30{分离}:=CONST(IF((OPEN=REF(OPEN,1) AND (CLOSE-OPEN)*(REF(CLOSE,1) -REF(OPEN,1))<0),1,0)); D31{长下 影}:=CONST(IF(((MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667),1,0 )); D32{长上 影}:=CONST(IF(((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667),1, 0)); D33{十字星}:=CONST(IF((CLOSE=OPEN AND HIGH!=LOW),1,0)); D34{大阴烛}:=CONST(IF((OPEN/CLOSE > 1.05 AND HIGH/LOW < OPEN/CLOSE+0.018),1,0)); D35{好友反攻}:=CONST(IF(((REF(CLOSE,1) CLOSE>OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002) OR (REF(CLOSE,1)>REF(OPEN,1) AND CLOSE /CLOSE<0.002)),1,0)); D36{倾盆大雨}:=CONST(IF((REF(C,1)/REF(O,1)>=1.03 AND O >REF(O,1) AND C D37{M9}:=CONST(V*比>REF(V,1) AND MA(V,5)>REF(MA(V,5),1)); D38{M10}:=CONST(V*比REF(MA(V,5),1)); D39{M11}:=CONST(V*比>REF(V,1)AND MA(V,5) D40{M12}:=CONST(V*比 D41{M13}:=CONST((((IF((CLOSE = OPEN),1,0) + IF((CLOSE >= J12),1,0)) + IF ((CLOSE <= J23),1,0)) > 1)); D42{M14}:=CONST((((AMOUNT / VOL) / 100) > REF(HIGH,1))); D43{M15}:=CONST((((AMOUNT / VOL) / 100) < REF(LOW,1))); KS1:=IF(D1=1,0+0.03,0); KS2:=IF(D2=1,KS1+0.03,KS1); KS3:=IF(D3=1,KS2+0.03,KS2); KS4:=IF(D4=1,KS3+0.03,KS3); KS5:=IF(D5=1,KS4+0.03,KS4); KS6:=IF(D6=1,KS5+0.03,KS5); KS7:=IF(D7=1,KS6+0.03,KS6); KS8:=IF(D8=1,KS7+0.03,KS7); KS9:=IF(D9=1,KS8+0.03,KS8); KS10:=IF(D10=1,KS9+0.03,KS9); KS11:=IF(D11=1,KS10+0.03,KS10); KS12:=IF(D12=1,KS11+0.03,KS11); KS13:=IF(D13=1,KS12+0.03,KS12); KS14:=IF(D14=1,KS13+0.03,KS13); KS15:=IF(D15=1,KS14+0.03,KS14); KS16:=IF(D16=1,KS15+0.03,KS15); KS17:=IF(D17=1,KS16+0.03,KS16); KS18:=IF(D18=1,KS17+0.03,KS17); KS19:=IF(D19=1,KS18+0.03,KS18); KS20:=IF(D20=1,KS19+0.03,KS19); */ VAR3:=(CLOSE-MA(CLOSE,3))/MA(CLOSE,3)*100; VAR4:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100; VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100; VAR6:=(VAR3+VAR4+VAR5)/3; VAR7:=EMA(VAR6,5); 指标: EMA(EMA(VAR3,5),5)*3, COLORSTICK; VAR8:=IF(VAR6<=-20,10,0); VAR9:=HHV(VAR8,10); STICKLINE(VAR8=10,20,10,5,0),COLOR6666FF; VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0); K:EMA(VAR7,5)*2, COLORFF00FF; D:EMA(K,5), COLORWHITE; J:K*3-D*2, COLORYELLOW; VARB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) AND J>10; CAPITAL:=GETPRICE1('换手%'); 换手: VOL/CAPITAL*100,COLORGREEN; DRAWTEXT(VARA=20,15,'底部'),LINETHICK1,COLORWHITE; STICKLINE((VARA=20),0,10,5,0),COLORWHITE; VARC:=(ZIGZAG(C,6,1)>=REF(ZIGZAG(C,6,1),1)) (REF(ZIGZAG(C,6,1),1)<=REF(ZIGZAG(C,6,1),2)) (REF(ZIGZAG(C,6,1),2)<=REF(ZIGZAG(C,6,1),3)) (REF(ZIGZAG(C,6,1),3)<=REF(ZIGZAG(C,6,1),4)); VARD:=(ZIGZAG(C,6,1)<=REF(ZIGZAG(C,6,1),1)) AND AND AND AND (REF(ZIGZAG(C,6,1),1)>=REF(ZIGZAG(C,6,1),2)) AND (REF(ZIGZAG(C,6,1),2)>=REF(ZIGZAG(C,6,1),3)) AND (REF(ZIGZAG(C,6,1),3)>=REF(ZIGZAG(C,6,1),4)); STICKLINE((VARC=1),(J),J+2,4,0),COLOR0000FF; DRAWTEXT((VARC=1),(J-6),'买'),COLOR0000FF; STICKLINE((VARD=1),(J-2),0,4,0),COLOR00FF00; DRAWTEXT((VARD=1),(J+5),'卖'),COLOR00FF00; VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*S MA(SMA ((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*S MA(SMA ((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); VAR11:=VARFREF(VOL,1) AND CLOSE>REF(CLOSE,1); DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,15,'大资金活动 '),LINETHICK1,COLORFF00FF; STICKLINE(VAR11 AND COUNT(VAR11,30)=1,1,10,5,0),COLORFF00FF; VAR12:=(HIGH+LOW+CLOSE)/3; VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14)); VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70)); VAR15:=IF(VAR13>=150 AND VAR13<200 AND VAR14>=150 AND VAR14<200,10,0); VAR16:=IF(VAR13<=-150 AND VAR13>-200 AND VAR14<=-150 AND VAR14>-200,-10,VAR15); VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100; VAR18:=100-ABS(VAR17); VAR19:=IF(VAR18<90,VAR18,100); VAR1A:=IF(VARE>0,VARE,0); VAR1B:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 AND VAR13<=-150,-15,VAR16))+60; VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR19<100; DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,15,'大笔出货 '),LINETHICK1,COLORFFCC66; STICKLINE(VAR1C AND COUNT(VAR1C,30)=1,0,10,5,0),COLORFFCC66; 2024年11月4日发(作者:贵如容) /* <=1/100),1,0)); D22{多方炮}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1) AND CLOSE>OPEN),1,0)); D23{出水芙蓉}:=CONST(IF(((OPEN OR OPEN< EMA(C,60)) AND (C>MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60))))AND (V/MA(V,30) >1.2 AND C/REF(C,1)>1.049)),1,0)); D24{上升三部曲}:=CONST(IF((REF(CLOSE,4)/REF(OPEN,4)>1.03 AND REF(CLOSE,3) REF(CLOSE,1) AND REF(LOW,4) REF(LOW,4) REF(HIGH,4)>REF(HIGH,2) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN>1.03 AND CLOSE>REF (CLOSE,4)),1,0)); D25{下跌三部曲}:=CONST(IF(( REF(CLOSE,4)/REF(OPEN,4)<0.97 AND REF(CLOSE,3) >REF(OPEN,3) AND REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND REF(LOW,4) REF(LOW,4) REF(HIGH,4)>REF(HIGH,2) AND REF (HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN<0.97 AND CLOSE D26{跳空缺口}:=CONST(IF(HIGH LOW>REF(HIGH,1),1,0)); D27{三只乌鸦}:=CONST(IF((REF(CLOSE,2) REF(CLOSE,1) REF(CLOSE,1) AND CLOSE D28{光脚阴线}:=CONST(IF((LOW=CLOSE AND HIGH!=LOW),1,0)); D29{光头阳线}:=CONST(IF((HIGH=CLOSE AND HIGH!=LOW),1,0)); D30{分离}:=CONST(IF((OPEN=REF(OPEN,1) AND (CLOSE-OPEN)*(REF(CLOSE,1) -REF(OPEN,1))<0),1,0)); D31{长下 影}:=CONST(IF(((MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667),1,0 )); D32{长上 影}:=CONST(IF(((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667),1, 0)); D33{十字星}:=CONST(IF((CLOSE=OPEN AND HIGH!=LOW),1,0)); D34{大阴烛}:=CONST(IF((OPEN/CLOSE > 1.05 AND HIGH/LOW < OPEN/CLOSE+0.018),1,0)); D35{好友反攻}:=CONST(IF(((REF(CLOSE,1) CLOSE>OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002) OR (REF(CLOSE,1)>REF(OPEN,1) AND CLOSE /CLOSE<0.002)),1,0)); D36{倾盆大雨}:=CONST(IF((REF(C,1)/REF(O,1)>=1.03 AND O >REF(O,1) AND C D37{M9}:=CONST(V*比>REF(V,1) AND MA(V,5)>REF(MA(V,5),1)); D38{M10}:=CONST(V*比REF(MA(V,5),1)); D39{M11}:=CONST(V*比>REF(V,1)AND MA(V,5) D40{M12}:=CONST(V*比 D41{M13}:=CONST((((IF((CLOSE = OPEN),1,0) + IF((CLOSE >= J12),1,0)) + IF ((CLOSE <= J23),1,0)) > 1)); D42{M14}:=CONST((((AMOUNT / VOL) / 100) > REF(HIGH,1))); D43{M15}:=CONST((((AMOUNT / VOL) / 100) < REF(LOW,1))); KS1:=IF(D1=1,0+0.03,0); KS2:=IF(D2=1,KS1+0.03,KS1); KS3:=IF(D3=1,KS2+0.03,KS2); KS4:=IF(D4=1,KS3+0.03,KS3); KS5:=IF(D5=1,KS4+0.03,KS4); KS6:=IF(D6=1,KS5+0.03,KS5); KS7:=IF(D7=1,KS6+0.03,KS6); KS8:=IF(D8=1,KS7+0.03,KS7); KS9:=IF(D9=1,KS8+0.03,KS8); KS10:=IF(D10=1,KS9+0.03,KS9); KS11:=IF(D11=1,KS10+0.03,KS10); KS12:=IF(D12=1,KS11+0.03,KS11); KS13:=IF(D13=1,KS12+0.03,KS12); KS14:=IF(D14=1,KS13+0.03,KS13); KS15:=IF(D15=1,KS14+0.03,KS14); KS16:=IF(D16=1,KS15+0.03,KS15); KS17:=IF(D17=1,KS16+0.03,KS16); KS18:=IF(D18=1,KS17+0.03,KS17); KS19:=IF(D19=1,KS18+0.03,KS18); KS20:=IF(D20=1,KS19+0.03,KS19); */ VAR3:=(CLOSE-MA(CLOSE,3))/MA(CLOSE,3)*100; VAR4:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100; VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100; VAR6:=(VAR3+VAR4+VAR5)/3; VAR7:=EMA(VAR6,5); 指标: EMA(EMA(VAR3,5),5)*3, COLORSTICK; VAR8:=IF(VAR6<=-20,10,0); VAR9:=HHV(VAR8,10); STICKLINE(VAR8=10,20,10,5,0),COLOR6666FF; VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0); K:EMA(VAR7,5)*2, COLORFF00FF; D:EMA(K,5), COLORWHITE; J:K*3-D*2, COLORYELLOW; VARB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) AND J>10; CAPITAL:=GETPRICE1('换手%'); 换手: VOL/CAPITAL*100,COLORGREEN; DRAWTEXT(VARA=20,15,'底部'),LINETHICK1,COLORWHITE; STICKLINE((VARA=20),0,10,5,0),COLORWHITE; VARC:=(ZIGZAG(C,6,1)>=REF(ZIGZAG(C,6,1),1)) (REF(ZIGZAG(C,6,1),1)<=REF(ZIGZAG(C,6,1),2)) (REF(ZIGZAG(C,6,1),2)<=REF(ZIGZAG(C,6,1),3)) (REF(ZIGZAG(C,6,1),3)<=REF(ZIGZAG(C,6,1),4)); VARD:=(ZIGZAG(C,6,1)<=REF(ZIGZAG(C,6,1),1)) AND AND AND AND (REF(ZIGZAG(C,6,1),1)>=REF(ZIGZAG(C,6,1),2)) AND (REF(ZIGZAG(C,6,1),2)>=REF(ZIGZAG(C,6,1),3)) AND (REF(ZIGZAG(C,6,1),3)>=REF(ZIGZAG(C,6,1),4)); STICKLINE((VARC=1),(J),J+2,4,0),COLOR0000FF; DRAWTEXT((VARC=1),(J-6),'买'),COLOR0000FF; STICKLINE((VARD=1),(J-2),0,4,0),COLOR00FF00; DRAWTEXT((VARD=1),(J+5),'卖'),COLOR00FF00; VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*S MA(SMA ((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*S MA(SMA ((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); VAR11:=VARFREF(VOL,1) AND CLOSE>REF(CLOSE,1); DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,15,'大资金活动 '),LINETHICK1,COLORFF00FF; STICKLINE(VAR11 AND COUNT(VAR11,30)=1,1,10,5,0),COLORFF00FF; VAR12:=(HIGH+LOW+CLOSE)/3; VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14)); VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70)); VAR15:=IF(VAR13>=150 AND VAR13<200 AND VAR14>=150 AND VAR14<200,10,0); VAR16:=IF(VAR13<=-150 AND VAR13>-200 AND VAR14<=-150 AND VAR14>-200,-10,VAR15); VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100; VAR18:=100-ABS(VAR17); VAR19:=IF(VAR18<90,VAR18,100); VAR1A:=IF(VARE>0,VARE,0); VAR1B:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 AND VAR13<=-150,-15,VAR16))+60; VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR19<100; DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,15,'大笔出货 '),LINETHICK1,COLORFFCC66; STICKLINE(VAR1C AND COUNT(VAR1C,30)=1,0,10,5,0),COLORFFCC66;