通达信主力大单吸筹主副图指标 红色共振是确定性吸筹买点 源码

{主力大单吸筹主图源码如下}

DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);

DEA:=EMA(DIFF,5);

AA1:=DIFF>DEA;

好1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;

K:=SMA(好1,3,1);

D:=SMA(K,3,1);

AA2:=K>D;

LC:=REF(CLOSE,1);

CBA1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;

CBA2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;

AA3:=CBA1>CBA2;

好:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;

MA5:MA(C,5)DOTLINE;

MA10:MA(C,13)LINETHICK2;

股1:=SMA(好,3,1);

股2:=SMA(股1,3,1);

AA4:=股1>股2;

BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;

AA5:=CLOSE>BBI;

MTM:=CLOSE-REF(CLOSE,1);

MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);

MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);

AA6:=MMS>MMM;

MAV:=(C*2+H+L)/4;

SK:=EMA(MAV,13)-EMA(MAV,34);

SD:=EMA(SK,5);

空方主力:=(-2*(SK-SD))*3.8,COLORGREEN;

多方主力:=(2*(SK-SD))*3.8,COLORRED;

AA7:=多方主力>空方主力;

MA11:=MA(CLOSE,5);

MA22:=REF(MA(CLOSE,5),1);

XYZ2:=IF(MONTH< 12,1,1);

XYZ3:=(2*CLOSE+HIGH+LOW)/4;

XYZ4:=LLV(LOW,34);

XYZ5:=HHV(HIGH,34);

主力:=EMA((XYZ3-XYZ4)/(XYZ5-XYZ4)*100,13)*XYZ2;

散户:=EMA(0.667*REF(主力,1)+0.333*主力,2);

AA9:=主力>散户;

AA10:=(多方主力>空方主力) AND (主力>散户);

AA11:=(多方主力>空方主力) AND (主力>散户) AND (DIFF>DEA) AND (K>D) AND (CBA1>CBA2) AND (股1>股2) AND (CLOSE>BBI) AND (MMS>MMM);

共振:=BARSLASTCOUNT((AA1 AND AA2 AND AA3 AND AA4 AND AA5 AND AA6 AND AA7 AND AA9 AND AA10 AND AA11))=1;

DRAWICON((AA1 AND AA2 AND AA3 AND AA4 AND AA5 AND AA6 AND AA7 AND AA9 AND AA10 AND AA11),L,1);

STICKLINE((AA1 AND AA2 AND AA3 AND AA4 AND AA5 AND AA6 AND AA7 AND AA9 AND AA10 AND AA11),OPEN,CLOSE,2,0),COLORYELLOW;

STICKLINE((AA1 AND AA2 AND AA3 AND AA4 AND AA5 AND AA6 AND AA7 AND AA9 AND AA10 AND AA11),OPEN,CLOSE,1,0),COLORFF00FF;

DRAWICON(共振,L,5);

DRAWTEXT(共振,L*0.91,'★吸筹'),COLORFF00FF;


{主力大单吸筹副图源码如下}


CTA1:=HHV(HIGH,12)-LLV(LOW,26);CTA2:=HHV(HIGH,9)-CLOSE;

CTA3:=CLOSE-LLV(LOW,9);

CTA4:=CTA2/CTA1*100-70;

CTA5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;

CTA6:=(2*CLOSE+HIGH+LOW)/4;

CTA7:=SMA(CTA3/CTA1*100,3,1);

CTA8:=LLV(LOW,34);

CTA9:=SMA(CTA7,3,1)-SMA(CTA4,9,1);

CTA10:=IF(CTA9>100,CTA9-100,0);

CTA11:=HHV(HIGH,34);

CTA12:=EMA((CTA6-CTA8)/(CTA11-CTA8)*100,13);

CTA13:=EMA(0.667*REF(CTA12,1)+0.333*CTA12,2);

CTA14:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;

CTA15:=MA(CTA14,3);

天地线:EMA(CTA13,1),COLORMAGENTA;

CTA16:=HHV(HIGH,9)-LLV(LOW,9);

CTA17:=HHV(HIGH,9)-CLOSE;

CTA18:=CLOSE-LLV(LOW,9);

CTA19:=CTA17/CTA16*100-70;

CTA20:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;

CTA21:=(2*CLOSE+HIGH+LOW)/4;

CTA22:=SMA(CTA18/CTA16*100,3,1);

CTA23:=LLV(LOW,34);

CTA24:=SMA(CTA22,3,1)-SMA(CTA19,9,1);

CTA25:=IF(CTA24>100,CTA24-100,0);

CTA26:=HHV(HIGH,34);

CTA27:=EMA((CTA21-CTA23)/(CTA26-CTA23)*100,8);

B2:EMA(CTA27,5),COLORFF7000;STICKLINE(CTA27-B2>0,CTA27,B2,2,0),COLORRED;

STICKLINE(CTA27-B2<0,CTA27,B2,2,0),COLORGREEN;

CTA28:=MA(CLOSE,5)=HHV(MA(CLOSE,5),20);

CTA29:=MA(CLOSE,5)>MA(CLOSE,10);

CTA30:=MA(VOL,5)>MA(VOL,40)*1.01;

CTA31:=COUNT(MA(CLOSE,1)>REF(CLOSE,1),2)=2;

CTA32:=CTA28 AND CTA29 AND CTA30 AND CTA31;

CTA33:=EMA(CLOSE,8);

CTA34:=EMA(CTA33,20);

CTA35:=CROSS(CTA33,CTA34);

CTA36:=CTA33<EMA(CLOSE,120);

CTA37:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1);

大单吸筹:IF(CROSS(CTA12,天地线) AND CTA12>CTA13 AND CTA12<55 AND CLOSE>OPEN,50,0),STICK,COLORRED,LINETHICK4;



来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图