欧欧 欧欧量化 2023-12-04 08:01 CTA2:=(HIGH - LOW); CTA3:=ABS((OPEN - CLOSE)); CTA4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN)); CTA5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW); CTA6:=((CTA3 / CTA2) * VOL); CTA7:=((CTA4 / CTA2) * VOL); CTA8:=((CTA5 / CTA2) * VOL); CTA9:=CTA6 >= CTA7 AND CTA6 >= CTA8 AND CLOSE < OPEN; CTA10:=CLOSE < EMA(CLOSE,5) AND CTA9; 欧欧:CLOSE >= EMA(CLOSE,5) AND CTA9; CTA12:=CTA6 >= CTA7 AND CTA6 >= CTA8 AND CLOSE > OPEN; 量化:CTA8 > CTA6 AND CTA8 > CTA7; CTA13:CTA7 > CTA6 AND CTA7 > CTA8; CDP:=REF(H+L+C,1)/3; PT:=REF(H,1)-REF(L,1); AH:=CDP+PT; NH:=CDP*2-REF(L,1); 平衡:REF(H+L+C,1)/3,NODRAW; 阻力二:IF(AH>REF(C,1)*1.1,REF(C,1)*1.1,AH),NODRAW; 阻力一:IF(NH>阻力二,(阻力二-CDP)*0.618+CDP,NH),NODRAW; 支撑一:CDP*2-REF(H,1),NODRAW; 支撑二:CDP-REF(H-L,1),NODRAW; MA5:MA(VOL,5),COLORWHITE,LINETHICK2; 实量:V,VOLSTICK; STICKLINE(CTA12=1,0,实量*0.9,0.6,0),COLORYELLOW; STICKLINE(CTA13=1,0,实量*0.9,0.6,0),COLORMAGENTA; STICKLINE(量化=1,0,实量*0.9,0.6,0),COLORWHITE; STICKLINE(欧欧=1,0,实量*0.9,0.6,0),COLORGREEN; STICKLINE(CTA10=1,0,实量*0.9,0.6,0),COLORBLUE; DRAWTEXT_FIX(1,0.01,0.05,0,'【加仓】')COLOR00FFFF; DRAWTEXT_FIX(1,0.1,0.05,0,'黄芯,庄家进货强,俺也进货等起航'),COLOR00FFFF,LINETHICK2; DRAWTEXT_FIX(1,0.01,0.15,0,'【高抛】')COLOR00FFFF; DRAWTEXT_FIX(1,0.1,0.15,0,'粉芯,庄家忙,高抛低吸,俺也去逐浪'),COLORFF00FF,LINETHICK2; DRAWTEXT_FIX(1,0.01,0.25,0,'【洗盘】')COLOR00FFFF; DRAWTEXT_FIX(1,0.1,0.25,0,'白芯,庄家找底在洗盘,俺也伺机建点仓'),COLORFFFFFF,LINETHICK2; DRAWTEXT_FIX(1,0.01,0.35,0,'【莫痒】')COLOR00FFFF; DRAWTEXT_FIX(1,0.1,0.35,0,'绿芯,趋势破,离场急,比耐力,等止跌,莫手痒!'),COLORGREEN,LINETHICK2; DRAWTEXT_FIX(1,0.01,0.45,0,'【减仓】')COLOR00FFFF; DRAWTEXT_FIX(1,0.1,0.45,0,'蓝芯,巨量绿尾,庄家出逃慌,俺也赶快去减仓!'),COLORFF9900,LINETHICK2; DRAWTEXT_FIX(1,0.01,0.55,0,'【注意】')COLOR00FFFF; DRAWTEXT_FIX(1,0.1,0.55,0,'巨量下部有蓝色(大单流出)时,说明有主力出逃!'),COLOR00FF00,LINETHICK2; CBA2:=(H-L); CBA3:=ABS((O-C)); CBA4:=(H-IF((C>O),C,O)); CBA5:=(IF((C>O),O,C)-L); CBA6:=((CBA3/CBA2)*V); CBA7:=((CBA4/CBA2)*V); CBA8:=((CBA5/CBA2)*V); CBA9:=IF(((V/CAPITAL)>0.001),1,EXP(ABS(LOG(((V/CAPITAL)*100))))); VA:=(((C-MA(C,5))/MA(C,5))*100); VB:=(((MA(C,5)>MA(C,10)) AND (MA(C,10)>MA(C,30))) AND (MA(C,30)>MA(C,60))); VC:=((MA(C,5)<MA(C,10)) AND (MA(C,10)<MA(C,30))); 逢高出货:DRAWTEXT(((((((((CBA7>CBA6) AND (VA>2)) AND (CBA9>CBA8)) AND (C>MA(C,5))) AND (C>MA(C,30))) AND (H>MA(C,60))) AND (V>MA(V,5))) AND (CBA7 >= MA(V,5))),V,'▼逢高出货'),COLORF00FF0; 逢低跟进:DRAWTEXT(((((((CBA8>CBA6) AND (CBA8>CBA7)) AND (VA<(0-2))) AND (C<MA(C,30))) AND (CBA8<(MA(V,5)/2))) AND (MA(V,5)<MA(V,10))),V,'▼低进'),COLORFF00FF; 强势参与:DRAWTEXT((((((CBA6>(MA(V,5)*2)) AND (CBA6 >= CBA7)) AND (CBA6 >= CBA8)) AND (C>O)) OR ((V>(MA(V,5)*3)) AND VB)),V,'▼强势参与'),COLORCC99CC; 空头释放:DRAWTEXT(((((((CBA6 >= CBA7) AND (CBA6 >= CBA8)) AND (C<O)) AND ((CBA6/V)>0.7)) AND VC) AND (CBA6>MA(V,5))),(CBA6*2),'▼空头释放'),COLORF00FF0; 三、强势参与选股公式: 风险提示:本指标公式仅作为知识分享,模拟测试不构成任何投资建议,不作投资依据。
|
|
来自: vfswjjx9wz3kz7 > 《欧欧量化》