通达信趋势实战指标公式,通达信民间操盘+分割主图指标公式
admin888
|通达信趋势实战指标公式,通达信民间操盘+分割主图指标公式
通达信趋势实战指标公式
{参数:N 1 100 34 P 1 100 5}趋势
I:ema(100*(C-LLV(LOW,N))/(HHV(H,N)-LLV(LOW,N)),P),COLOR0000FF,LINETHICK2;
趋势II:Ema(100*(INDEXC-LLV(INDEXL,N))/(HHV(INDEXH,N)-LLV(INDEXL,N)),P),COLOR00FFFF;
100,POINTDOT;
0,POINTDOT;
对比:趋势I-趋势II,POINTDOT COLORFF8000;
stICKLINE( 对比>=0,0 ,对比*1.0,4 ,0 )COLOR0000FF;
STICKLINE( 对比>=0,0 ,对比*0.8,4 ,0 )COLOR0066FF;
STICKLINE( 对比>=0,0 ,对比*0.6,4 ,0 )COLOR0099FF;
STICKLINE( 对比>=0,0 ,对比*0.4,4 ,0 )COLOR00CCFF;
STICKLINE( 对比>=0,0 ,对比*0.2,4 ,0 )COLOR00FFFF;
STICKLINE( 对比<0,0 ,对比*1.0,4 ,0 )COLOR00FF00;
STICKLINE( 对比<0,0 ,对比*0.8,4 ,0 )COLOR00CC33;
STICKLINE( 对比<0,0 ,对比*0.6,4 ,0 )COLOR009933;
STICKLINE( 对比<0,0 ,对比*0.4,4 ,0 )COLOR007733;
STICKLINE( 对比<0,0 ,对比*0.2,4 ,0 )COLOR005500;
25,COLORFFFF00;
通达信民间操盘+分割主图指标公式
{参数: N 1 999 80 M 1 15 3}ma
5:MA(C,5);
MA13:MA(C,13);
高:=REF(HHV(H,N),M);
低:=REF(LLV(L,N),M);
H19:=高-(高-低)*0.191;
H38:=高-(高-低)*0.382;
H中:=高-(高-低)*0.5;
H61:=高-(高-低)*0.618;
H80:=高-(高-低)*0.809;
顶点:REFDATE(高,DATE),COLORWHITE;
%19.8:REFDATE(H19,DATE),COLORYELLOW;
%38.2:REFDATE(H38,DATE),COLORMAGENTA;
%50:REFDATE(H中,DATE),COLORRED;
%61.8:REFDATE(H61,DATE),COLORMAGENTA;
%80.9:REFDATE(H80,DATE),COLORYELLOW;
低点:REFDATE(低,DATE),COLORWHITE;
DRAWTEXT(ISLAstBAR,顶点,'顶点'),COLORWHITE;
DRAWTEXT(ISLASTBAR,%19.8,'%19.8'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,%38.2,'%38.2'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,%50,'%50'),COLORRED;
DRAWTEXT(ISLASTBAR,%61.8,'%61.8'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,%80.9,'%80.9'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,低点,'低点'),COLORWHITE;
A:=AMOUNT/V/100;
VARA:=ema((((A-EMA(A,13))/EMA(A,13))*(0-100)),5);
QQ:=EMA(((VARA/10)+EMA(A,13)),0);
行情线:=MA(A,1);
重心:=(C+0.618*REF(C,1)+0.382*REF(C,1)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;
【操盘线】:EMA(((SLOPE(C,22)*20)+C),55),COLORYELLOW,LINETHICK4;
【黄金线】:IF(重心>=【操盘线】,【操盘线】,DRAWNULL),COLORRED,LINETHICK2;
【空仓线】:IF(重心<【操盘线】,【操盘线】,DRAWNULL),COLORCYAN,LINETHICK2;
{DRAWTEXT(ISLASTBAR,【操盘线】,'【操盘线】'),COLORRED;}
{引:EMA(CLOSE,2),LINETHICK1,COLORMAGENTA;
探:MA(CLOSE,5),LINETHICK1;}
变:EMA(CLOSE,5),LINETHICK2,COLORYELLOW;
金:IF(变>REF(变,1),变,DRAWNULL),COLORRED,LINETHICK2;
{DRAWTEXT(ISLASTBAR,变,'【雷达线】'),COLORRED;}
{顶底信号}DA:=(EMA(H,1)+EMA(L,1)+EMA(H,1)+EMA(H,1))/4;
DB:=EMA(REF(HHV(H,25),1),2),COLORGREEN,LINETHICK1;
{DRAWTEXT(crOSS(DB,DA),DB,'←险'),COLORGREEN,LINETHICK1;}
DRAWTEXT(CROSS(DA,【操盘线】),【操盘线】-0.5,'★B'),COLORYELLOW,LINETHICK1;
{涨跌停显示}涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),1,0);
STICKLINE(涨停,O,C,3,0),COLORYELLOW;
ZDF:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(ZDF<-9.9,O,C,3,0),COLORGREEN;
DA9:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;
DB9:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4;
DRAWTEXT(CROSS(DA9-DB9,0),L*0.98,'B'),COLORYELLOW;
JH9:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(Abs(C-REF(C,1)),5,1)*100;
DRAWTEXT(CROSS(84,JH9),H*1.02,'☆S'),COLORGREEN;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。