机构K线通达信公式 副图 源码附图

C1:=10000*C/INDEXC;
H1:=10000*H/INDEXH;
LL1:=10000*L/INDEXL;
O1:=10000*O/INDEXO;
STICKLINE(C1>=O1,C,O,3,1),COLORRED;
STICKLINE(C1>=O1,L,H,0.2,1),COLORRED;
STICKLINE(C1<O1,C,O,3,1),COLORGREEN;
STICKLINE(C1<O1,L,H,0.2,1),COLORGREEN;
{捞钱手}
MMS:=MA(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,1),5,1)/SMA(ABS((L+H+2*C)/4-REF((L+H+2*C)/4,1)),5,1)*100,1)+50;
G1:=IF(-MMS>95,0,20);
UOO:=(-(((C-LLV(C,7))/(HHV(C,7)-LLV(C,7))*100=100)>0 AND G1)+1);
KS:=(C-EMA(C,13))/EMA(C,13)*(-100);
趋势线:=EMA((KS/10)+EMA(C,10),3);
SSL:=EMA(C,3);
MMV:=EMA(SLOPE(C,22)*20+C,55);
MM:=MA(MMV,1);
SA:=MM*0.985;
SS:=MA(C,5);
捞钱手:IF(SSL>MM,MM,SA),LINETHICK2,COLORFF00FF;
A:=EMA((O+H+L)/3,4);
B:=REF(EMA((O+H+L)/3,4),1);
智能黄金线:A,COLORYELLOW,LINETHICK1;
箱顶:MA(REF(HHV(C,30),1),2),COLOR0000FF,LINETHICK2;
箱底:MA(REF(LLV(C,30),1),2),COLOR00FF00,LINETHICK2;
DRAWTEXT(CROSS(EMA(C,8),EMA(C,20))AND C>=O AND 智能黄金线>REF(智能黄金线,1),EMA(C,8)*0.97,'★买'),COLOR00FF00;
VAR3:=SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,3,1),3,1);
VAR4:=SMA(VAR3,3,1);
DRAWTEXT(CROSS(VAR3,VAR4),L,'--中期好'),COLOR00FFFF;
DRAWTEXT(CROSS(VAR4,VAR3),H,'--中期坏'),COLORF0F000;
DRAWTEXT(CROSS(A,B),L,'--短期好'),COLOR00FFFF;
DRAWTEXT(CROSS(B,A),H,'--短期坏'),COLORF0F000;
DRAWTEXT(CROSS(VAR3,VAR4)AND C>=O AND VAR3<40 AND UOO>0,L*0.96,'★'),COLORF00FF0;
买线:=EMA(C,2);{}
卖线:=EMA(SLOPE(C,21)*20+C,42);
DRAWTEXT(CROSS(买线,卖线) AND 箱顶>=REF(箱顶,1),L*0.95,'★跟'),COLOR00FFFF;
STICKLINE(CROSS(买线,卖线),O,C,-1,0),COLOR00FFFF;


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

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

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

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