乾坤波段 //配合MACD与KDJ以及成交量一起使用,效果更好 GU1:=1; GU2:=(2*CLOSE+HIGH+LOW)/4; 乾: 80, POINTDOT; 坤: 20; GU3:=IF(YEAR>=2099 AND MONTH>2,0,1); GU4:=LLV(LOW,5); GU5:=HHV(HIGH,4); 散户:= EMA((GU2-GU4)/(GU5-GU4)*100,4)*GU3*GU1; 庄家: EMA(0.667*REF(散户,1)+0.333*散户,2)*GU3*GU1; GU6:=(HHV(HIGH,4)-GU2)/(HHV(HIGH,4)-LLV(LOW,4))*100-72; GU7:=(GU2-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100; 倒映:= SMA(GU6,4,1)*GU1; GU8:=SMA(GU7,2,1); 高山: SMA(GU8,2,1)*GU1; 地平线: 12;//分析家公式网 www.fxjgsw.com //DRAWTEXT(CROSS(散户,庄家) AND 散户<50 AND 29<散户,20,'短进'),COLOR00FF00; //DRAWTEXT(CROSS(庄家,散户) AND 散户>40 AND 71>散户,50,'短出'),COLOR00FFFF; //DRAWTEXT(CROSS(散户,庄家) AND 散户<30,0,'低吸'),COLOR3399CC; //DRAWTEXT(CROSS(庄家,散户) AND 散户>70,75,'高减'),COLORFFFF33; //DRAWICON(CROSS(散户,庄家) AND 散户<30,20,1); //DRAWICON(CROSS(庄家,散户) AND 散户>70,80,2); GU9:=CLOSE-REF(CLOSE,5); GUA:=EMA(EMA(GU9,5),5)/EMA(EMA(ABS(GU9),5),5)*100; GUB:=EMA(EMA(GU9,10),10)/EMA(EMA(ABS(GU9),10),10)*100; GUC:=EMA(EMA(GU9,20),20)/EMA(EMA(ABS(GU9),20),20)*100; 卖出:= IF(GUA>0 AND CROSS(GUC,GUA),-40,0); 中线:50,colorred; //DRAWTEXT(卖出,-30,'反弹 减仓!'),COLOR0033FF; //DRAWICON(卖出<0,-25,2); //DRAWTEXT(CROSS(散户,庄家),散户,'起'); //DRAWTEXT(CROSS(庄家,散户),庄家,'止'); |
