1、主力建仓量 高胜率主力建仓量,不漂移 {主力建仓量} VAR1:=REF(LOW,1); VAR2:=SMA(ABS(LOW-VAR1),3,1)/SMA(MAX(LOW-VAR1,0),3,1)*100; VAR3:=EMA(IF(CLOSE*1.2,VAR2*10,VAR2/10),3); VAR4:=LLV(LOW,38); VAR5:=HHV(VAR3,38); VAR6:=IF(LLV(LOW,90),1,0); VAR7:=EMA(IF(LOW<=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6; VAR8:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; VAR9:=SMA(VAR8,13,8); 底线:0,COLORYELLOW; 主力吸货:VAR7,COLORBLACK; 吸筹1:STICKLINE(VAR7,0,VAR7,6,0),COLORRED; 吸筹2:STICKLINE(VAR7,0,VAR7,5,0),COLOR6600FF; 吸筹3:STICKLINE(VAR7,0,VAR7,4,0),COLORBB00FF; 吸筹4:STICKLINE(VAR7,0,VAR7,3,0),COLORMAGENTA; 吸筹5:STICKLINE(VAR7,0,VAR7,2,0),COLORFF33FF; 吸筹6:STICKLINE(VAR7,0,VAR7,1,0),COLORFF66FF; 吸筹7:STICKLINE(VAR7,0,VAR7,0,0),COLORFF99FF; VAR10:=CEILING(SMA(VAR9,13,8)); VAR11:=MA(3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),5); VAR12:=REF(LOW,1); VAR13:=SMA(ABS(LOW-VAR12),3,1)/SMA(MAX(LOW-VAR12,0),3,1)*100; VAR14:=EMA(IF(CLOSE*1.3,VAR13*10,VAR13/10),3); VAR15:=LLV(LOW,30); VAR16:=HHV(VAR14,30); VAR17:=IF(MA(CLOSE,58),1,0); VAR18:=EMA(IF(LOW<=VAR15,(VAR14+VAR16*2)/2,0),3)/618*VAR17; VAR19:=IF(VAR18>100,100,VAR18); 吸筹:STICKLINE(VAR19>(-120),0,VAR19,1,5),COLORMAGENTA; 2、多空MACD DIF:EMA(CLOSE,12)-EMA(CLOSE,26); DEA:EMA(DIF,9); MACD:=(DIF-DEA)*2,COLORSTICK; STICKLINE((DIF-DEA)*2<0,(DIF-DEA)*2,0,3.5,0),LINETHICK3,COLOR339933; STICKLINE((DIF-DEA)*2<0,(DIF-DEA)*2,0,2,0),LINETHICK3,COLOR33AA33; STICKLINE((DIF-DEA)*2<0,(DIF-DEA)*2,0,1,0),LINETHICK3,COLOR33DD33; STICKLINE((DIF-DEA)*2<0,(DIF-DEA)*2,0,0.5,0),LINETHICK3,COLOR33FF33; STICKLINE((DIF-DEA)*2>0,0,(DIF-DEA)*2,3.5,0),COLOR000088; STICKLINE((DIF-DEA)*2>0,0,(DIF-DEA)*2,2,0),COLOR0000AA; STICKLINE((DIF-DEA)*2>0,0,(DIF-DEA)*2,1,0),COLOR0000DD; STICKLINE((DIF-DEA)*2>0,0,(DIF-DEA)*2,0.5,0),COLOR0000FF; STICKLINE((DIF-DEA)*2=0,(DIF-DEA)*2,0,1.5,0),COLOR880088; STICKLINE((DIF-DEA)*2=0,(DIF-DEA)*2,0,2,0),COLORAA00AA; STICKLINE((DIF-DEA)*2=0,(DIF-DEA)*2,0,1,0),COLORDD00DD; STICKLINE((DIF-DEA)*2=0,(DIF-DEA)*2,0,0.5,0),COLORFF00FF; STICKLINE(MACD>0 AND MACD<=REF(MACD,1),MACD,0,3.5,0),COLOR0044AA; STICKLINE(MACD>0 AND MACD<=REF(MACD,1),MACD,0,3.4,0),COLOR0055AA; STICKLINE(MACD>0 AND MACD<=REF(MACD,1),MACD,0,3.2,0),COLOR0066BB; STICKLINE(MACD>0 AND MACD<=REF(MACD,1),MACD,0,3.0,0),COLOR0077BB; STICKLINE(MACD>0 AND MACD<=REF(MACD,1),MACD,0,2.7,0),COLOR0088CC; STICKLINE(MACD>0 AND MACD<=REF(MACD,1),MACD,0,2.4,0),COLOR0099CC; STICKLINE(MACD>0 AND MACD<=REF(MACD,1),MACD,0,2.1,0),COLOR00AADD; STICKLINE(MACD>0 AND MACD<=REF(MACD,1),MACD,0,1.8,0),COLOR00BBDD; STICKLINE(MACD>0 AND MACD<=REF(MACD,1),MACD,0,1.4,0),COLOR00CCEE; STICKLINE(MACD>0 AND MACD<=REF(MACD,1),MACD,0,1.0,0),COLOR00DDEE; STICKLINE(MACD>0 AND MACD<=REF(MACD,1),MACD,0,0.6,0),COLOR00EEEE; STICKLINE(MACD>0 AND MACD<=REF(MACD,1),MACD,0,0.2,0),COLOR00F0F3; STICKLINE(MACD>0 AND MACD<=REF(MACD,1),MACD,0,0.05,0),COLOR00F6F3; STICKLINE(MACD<0 AND MACD<REF(MACD,1),MACD,0,3,0),COLOR00FF00; STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,3,0),COLORFFFFFF; STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,3,0 ),COLORFFAA00; STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,3.3 ,0 ),COLORFFBB11; STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,2.2,0 ),COLORFFCC22; STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,1.65 ,0 ),COLORFFDD33; STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,1.1 ,0 ),COLORFFEE44; STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,0.55 ,0 ),COLORFFFF55; STICKLINE(MACD<0 AND MACD<=REF(MACD,1),MACD,0,0,0 ),COLOR00E600; STICKLINE(MACD<0 AND MACD<=REF(MACD,1),MACD,0,3.5,0 ),COLOR007700; STICKLINE(MACD<0 AND MACD<=REF(MACD,1),MACD,0,2.7,0 ),COLOR008E00; STICKLINE(MACD<0 AND MACD<=REF(MACD,1),MACD,0,2.1,0 ),COLOR009900; STICKLINE(MACD<0 AND MACD<=REF(MACD,1),MACD,0,1.5,0 ),COLOR00B500; STICKLINE(MACD<0 AND MACD<=REF(MACD,1),MACD,0,0.9,0 ),COLOR00D500; STICKLINE(MACD<0 AND MACD<=REF(MACD,1),MACD,0,0.3,0 ),COLOR00E600; STICKLINE(MACD<0 AND MACD<=REF(MACD,1),MACD,0,0,1 ),COLOR00E600; {股民学院 www.58188.com 整理} 3、精确波段,波段类 精确波段,波段类公式 {精确波段} VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*50; AA:(EMA(VAR1,3))*2; BB:MA(AA,3); STICKLINE(AA>=BB,53,47,4,0),COLOREE82EE; STICKLINE(AA<BB,53,47,4,1),COLORB3EE3A; STICKLINE(CROSS(AA,20),58,42,2,0),COLORB23AEE; VAR2:8,COLORGREEN,LINETHICK0; IF(CROSS(AA,VAR2),40,0),STICK,LINETHICK2; DRAWICON(CROSS(AA,VAR2),40,13); DRAWICON(CROSS(80,AA),80,14); IF(AA<=8,5,0),STICK,COLORFF00FF,LINETHICK5; STICKLINE(CROSS(80,AA),80,70,0.2,0),COLOR00FF00; DRAWICON(CROSS(80,AA),70,2); DRAWTEXT(CROSS(80,AA),68,'卖'); DRAWTEXT(CROSS(AA,VAR2),49,'买'); DRAWICON(CROSS(AA,20),30,1); STICKLINE(CROSS(AA,20),20,30,0.2,0),COLORRED; DRAWICON(CROSS(AA,20),20,13); DRAWICON(CROSS(AA,VAR2),0,13); DRAWTEXT(CROSS(AA,20),62,'加仓'); VAR0:=CLOSE; {IF(VAR0,0,0),COLORB3B3B3,PRECIS0;} IF(VAR0,20,0),COLORFF00FF,CIRCLEDOT; IF(VAR0,80,0),COLORFF00FF,CIRCLEDOT; IF(VAR0,100,0),COLORB3B3B3; |