通达信极限抄底主副图 出共振信号就建仓 源码

{极限抄底主图源码如下}


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

CHL2:=LLV(LOW,5);

CHL3:=HHV(HIGH,5);

CHL4:=EMA((CHL1-CHL2)/(CHL3-CHL2)*100,6);

MA1:=MA(CHL4,2);

AA:=STICKLINE(CHL4>MA1,CHL4,MA1,3,1),COLORRED;

JJX:=AMOUNT/V/100;

JJX2:MA(JJX,3);

JJX5:MA(JJX,5);

JJX10:MA(JJX,10);

JJX30:MA(JJX,30);

突破:=C>JJX2 AND JJX2<REF(JJX2,1) AND REF(JJX2,1)<REF(JJX2,2) AND REF(JJX2,2)<REF(JJX2,3) AND CHL4>MA1;

STICKLINE(突破,H,L,5,0),LINETHICK1,COLORRED;

STICKLINE(突破,H,L,0.2,0),COLORYELLOW;

STICKLINE(突破,O,C,2,0),LINETHICK1,COLORYELLOW;

STICKLINE(突破,L*0.99,L*0.92,0.02,0),LINETHICK1,COLORYELLOW;

DRAWTEXT(突破,L*0.9,'抄底');

STICKLINE(JJX AND (C-O)/O*100>3,JJX,JJX,3,1),COLORGREEN;


{极限抄底副图源码如下}


N:=9;
M1:=3;
出击线:(C-LLV(L,N))/(HHV(H,N)-LLV(L,N))*100,LINETHICK2,COLORRED;
阵地防御:SMA(出击线,M1,1),COLORWHITE;
MTM:=C-REF(CLOSE,1);
CTD1:=REF((L+O+C+H)/4,1);
CTD2:=SMA(ABS(L-CTD1),13,1)/SMA(MAX(L-CTD1,0),10,1);
CTD3:=EMA(CTD2,10);
CTD4:=LLV(L,33);
CTD5:=EMA(IF(L<=CTD4,CTD3,0),3);
低位抢筹:IF(CTD5>REF(CTD5,1),CTD5,0),COLORRED,NODRAW;
STICKLINE(CTD5>REF(CTD5,1),0,CTD5,2,0 ),COLOR000055;
STICKLINE(CTD5>REF(CTD5,1),0,CTD5,1.6,0 ),COLOR000077;
STICKLINE(CTD5>REF(CTD5,1),0,CTD5,1.5.1,0 ),COLOR000099;
STICKLINE(CTD5>REF(CTD5,1),0,CTD5,1.0,0 ),COLOR0000BB;
STICKLINE(CTD5>REF(CTD5,1),0,CTD5,0.6,0 ),COLOR0000DD;
STICKLINE(CTD5>REF(CTD5,1),0,CTD5,0.3,0 ),COLOR0000FF;
震仓柱:IF(CTD5< REF(CTD5,1),CTD5,0),COLORGREEN,NODRAW;
STICKLINE(CTD5< REF(CTD5,1),0,CTD5,2,0),COLOR005500;
STICKLINE(CTD5< REF(CTD5,1),0,CTD5,1.6,0),COLOR007700;
STICKLINE(CTD5< REF(CTD5,1),0,CTD5,1.5.1,0),COLOR009900;
STICKLINE(CTD5< REF(CTD5,1),0,CTD5,1.0,0),COLOR00BB00;
STICKLINE(CTD5< REF(CTD5,1),0,CTD5,0.6,0),COLOR00DD00;
STICKLINE(CTD5< REF(CTD5,1),0,CTD5,0.3,0),COLOR00FF00;
V1:=LLV(L,10);
V2:=HHV(HIGH,25);
价位线:=EMA((CLOSE-V1)/(V2-V1)*4,4);
DRAWTEXT(CROSS(价位线,0.3),30+6,'★买'),COLORYELLOW;





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

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

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

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