华尔街终结同花顺主图指标源码

DRAWBAND(MA(CLOSE,60),RGB(55,0,0),MA(CLOSE,120),RGB(0,91,0));
MA60:=MA(CLOSE,60);
生命线:MA60,LINETHICK2,colormagenta;
MA120:MA(CLOSE,120),LINETHICK2,colorgreen;
五日线:=MA(C,5),colorwhite;
十日线:=MA(C,10),colorgreen;
三多头后挂单:=MA(C,20),LINETHICK2,colorred;
DRAWTEXT(MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20) AND CURRBARSCOUNT=5,MA(C,20)*0.9,''),colorred;
DRAWKLINE(H,O,L,C);
DRAWICON(CROSS(MA60,MA120),MA60,23);
DRAWICON(CROSS(MA120,MA60),MA60,15),;
DRAWTEXT(CROSS(MA120,MA60),MA60+0.08,'熊上岗'),colorgreen;
W1:=IF(CROSS(MA(C,60),MA(C,120)),1,0);
W2:=IF(CROSS(MA(C,120),MA(C,60)),1,0);
STICKLINE(W1,MA(C,60)*1.05,MA(C,60)*0.95,0.01,0),colorlired;
STICKLINE(W2,MA(C,120)*1.05,MA(C,120)*0.95,0.01,0),colorgreen;
DRAWTEXT(W1,MA(C,60)*1.05,'稳健才是王道'),colorred;
DRAWTEXT(W1,MA(C,60)*0.95,'牛市'),colorred;
DRAWTEXT(W2,MA(C,120)*1.05,'熊市'),colorgreen;
DRAWTEXT(W2,MA(C,120)*0.95,'贪婪必死'),colorgreen;
KK:=MA60<MA120 AND  COUNT(MA60>REF(MA60,1),5)=5;
DRAWTEXT(KK AND  COUNT(KK,20)=5,REF(MA60,5),'地板'),colorred;
STICKLINE(KK AND  COUNT(KK,20)=5,REF(MA60,5),REF(MA60,5),10,1),colorred;
KK2:=MA60>MA120 AND  COUNT(MA60<REF(MA60,1),5)=5;
DRAWTEXT(KK2 AND  COUNT(KK2,20)=5,REF(MA60,5),'天灵盖'),colorred;
STICKLINE(KK2 AND  COUNT(KK2,20)=5,REF(MA60,5),REF(MA60,5),10,1),colorred;
TY:=C;
A1:=REF(TY,10)=HHV(TY,2*10+1);
B1:=FILTER(A1,10);
C1:=BACKSET(B1,10+1);
HD:=FILTER(C1,10);
MA(C,5),coloryellow,LINETHICK2;
MA(C,5)*0.9,colorred,DOTLINE;
前期高位:REF(C,BARSLAST(HD)),COLOR00FF00,POINTDOT;
STICKLINE(C,前期高位,前期高位,8,0),coloryellow;
CM:=REF(C,1);
涨停:=IF((C-CM)*100/CM>=9.9,1,0);
STICKLINE(涨停,OPEN,CLOSE,3.8,0),colormagenta;
STICKLINE(涨停,H,L,0,0),colorlired;
跌停:=IF((C-CM)*100/CM<=-9.9,1,0);
STICKLINE(跌停,OPEN,CLOSE,3.8,0),colorgreen;
STICKLINE(跌停,H,L,0,0),colorgreen;
大盘涨幅:=("999999$C"-LLV("999999$L",40))/LLV("999999$L",40);
DRAWTEXT(CURRBARSCOUNT<2,LLV(L,40)*(1+大盘涨幅),'  1倍以下很安全');
DRAWTEXT(CURRBARSCOUNT<2,LLV(L,40)*(1+大盘涨幅*2),'  2倍以下高抛低吸');
DRAWTEXT(CURRBARSCOUNT<2,LLV(L,40)*(1+大盘涨幅*3),'  3倍以上要抛出');
STICKLINE(CURRBARSCOUNT<2,LLV(L,40)*(1+大盘涨幅),LLV(L,40)*(1+大盘涨幅),1,0),LINETHICK8,colorcyan;
STICKLINE(CURRBARSCOUNT<2,LLV(L,40)*(1+大盘涨幅*2),LLV(L,40)*(1+大盘涨幅*2),1,0),LINETHICK8,colorcyan;
STICKLINE(CURRBARSCOUNT<2,LLV(L,40)*(1+大盘涨幅*3),LLV(L,40)*(1+大盘涨幅*3),1,0),LINETHICK8,colorcyan;
六天涨幅:=C/REF(C,5)<1.06;
DRAWTEXT(CURRBARSCOUNT=1 AND 六天涨幅,C,'价满足DDX');
DRAWTEXT(CURRBARSCOUNT=1 AND 六天涨幅=0,C,'卖出');







未来函数检测结果如下:
该公式包含未来函数:BACKSET
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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