通达信风险量化组合趋势主图指标公式,通达信道氏百分比回撤与趋势炒股主图指标公式
admin888
|通达信风险量化组合趋势主图指标公式,通达信道氏百分比回撤与趋势炒股主图指标公式
通达信风险量化组合趋势主图指标公式
年:=1+(BArslAst(YEAR!=REF(YEAR,1) OR DATETODAY(DATE)=1));
天数:=IF(PERIOD=5,年,DRAWNULL);
高1:=HHV(H,天数);
低1:=LLV(L,天数);
★风险量化:(C-低1)/(高1-低1)*100,,NODRAW,COLORYELLOW;
振幅:=(高1-低1)/低1*100,NODRAW,COLORWHITE;
◆顶部:=CONST(高1),NODRAW,COLORYELLOW;
◆筑底:=CONST(低1),NODRAW,COLOR00FF00;
{步入风险区:=CONST(高1-(高1-低1)*1/3),NODRAW,COLORRED;
☆邰氏盈利☆:=CONST(高1-(高1-低1)*1/2),NODRAW,COLORWHITE;
弱势区:=CONST(高1-(高1-低1)*2/3),NODRAW,COLOR0099FF;
STICKLINE(C>0,CONST(高1-(高1-低1)*1/4),CONST(高1-(高1-低1)*1 /4),2,0),COLORFF00FF;
STICKLINE(C>0,CONST(高1-(高1-低1)*3/4),CONST(高1-(高1-低1)*3 /4),2,0),COLORFF00FF;
STICKLINE(C>0,◆顶部,◆顶部,10,0),COLORYELLOW,LINETHICK2;
STICKLINE(C>0,◆筑底,◆筑底,10,0),COLOR00FF00,LINETHICK2;
STICKLINE(C>0,步入风险区,步入风险区,10,0),COLORRED,LINETHICK2;
STICKLINE(C>0,☆邰氏盈利☆,☆邰氏盈利☆,10,0),COLORWHITE;
STICKLINE(C>0,弱势区,弱势区,10,0),COLOR0099FF;}
N:=12;
DP:=(H+L+2*C)/4;
DK:=(ema(DP,12)-Ema(DP,50));
RC:=◆筑底;
STICKLINE(DK>0 AND DK>REF(DK,1),RC,RC+DK,1,0),COLOR00CC00;
STICKLINE(DK>0 AND DK<=REF(DK,1),RC,RC+DK,1,1),COLORLIBLUE;
STICKLINE(DK<0 AND DK>REF(DK,1),RC,RC+DK,1,0),COLOR00CC00;
STICKLINE(DK<0 AND DK<=REF(DK,1),RC,RC+DK,1,0),COLORLIBLUE;
DN:=Abs(CLOSE-REF(CLOSE,N));
VY:=SUM(ABS(CLOSE-REF(CLOSE,1)),N);
ER:=DN/VY;
FSC:=2/(2+1);
SSC:=2/(N+1);
SC:=ER*(FSC-SSC)+SSC;
SCSQ:=SC*SC;
★切忌进场★:dma(DP,SCSQ),COLORBLUE,LINETHICK2;
★持股待涨★:IF(★切忌进场★>EMA(★切忌进场★,3)=1,★切忌进场 ★,DRAWNULL),COLOR00FF00,LINETHICK3;
〖趋势为空〗:EMA(DP,50),COLORCYAN,LINETHICK2;
【趋势为多】:IF(〖趋势为空〗>MA(DP,48),〖趋势为空〗,DRAWNULL),COLORRED,LINETHICK3;
BUY:=★切忌进场★>EMA(★切忌进场★,3);
DRAWKLINE(H,O,L,C);
【量H】:=IF((AMOUNT/C)/(HHV(AMOUNT,21)/HHV(C,21))*100>100,100,(AMOUNT/C) /(HHV(AMOUNT,21)/HHV(C,21))*100);
STICKLINE(【量H】=100,L,H,0.4,0),COLORMAGENTA;
STICKLINE(【量H】=100 AND C>=O,C,O,4,1),COLORGREEN;
STICKLINE(【量H】=100 AND C
ZDF:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(ZDF>9.8,O,C,1,0),COLORGREEN;
STICKLINE(ZDF<-9.8,O,C,1,0),COLORBLUE;
{Q43:=CONST(高1-(高1-低1)*1/4),NODRAW;
Q41:=CONST(高1-(高1-低1)*3/4),NODRAW;
DK1:=DK+RC;
M20:=MA(DK1,20);
S:=STD(DK1,20);
高:=M20+2*S;
低:=M20-2*S;
【上】:= 高,COLORFFFF00;
【下】:= 低,COLORFFFF00;
DRAWTEXT(crOSS(高,DK1),高,'★'),COLOR00FF00;
DRAWICON(CROSS(DK1,高),H+0.3,2);
{DRAWTEXT(CROSS(DK1,低),低,'▲'),COLOR00FF00;
DRAWICON(CROSS(低,DK1),L-0.3,1);};
邰:=EMA(CLOSE,12)-EMA(CLOSE,26);
小:=EMA(邰,9);
杰:=(邰<-0.1 AND 邰>小);
Ψ财神¥:IF(杰,LLV(L,21),DRAWNULL),COLORBROWN,LINETHICK6;
DRAWTEXT(FILTER(CROSS(〖趋势为空〗,★切忌进场★),144),RC*0.95,'★多空为主☆持股与否做确认☆结合先知A进场 ★快进快出★')COLORCYAN;
通达信道氏百分比回撤与趋势炒股主图指标公式
高1:=REF(HHV(H,144),3);
低1:=REF(LLV(L,144),3);
H1:=高1-(高1-低1)*0.191;
H2:=高1-(高1-低1)*0.382;
H3:=高1-(高1-低1)*0.5;
H4:=高1-(高1-低1)*0.618;
H5:=高1-(高1-低1)*0.809;
顶:REFDATE(高1,DATE),POINTDOT,COLORCYAN;
%19:=REFDATE(H1,DATE),POINTDOT,COLORYELLOW;
%38:REFDATE(H2,DATE),POINTDOT,COLORYELLOW;
%50:REFDATE(H3,DATE),POINTDOT,COLORWHITE;
%62:REFDATE(H4,DATE),POINTDOT,COLORYELLOW;
%80:=REFDATE(H5,DATE),POINTDOT,COLORYELLOW;
☆突破价:REF(ema(C,14),1)COLORBLUE;
A1X:=(Ema(C,14)-☆突破价)/☆突破价*100,NODRAW;
★操作区:IF(A1X>=0,REF(EMA(C,14),BArslAst(crOSS(A1X,0))+1),DRAWNULL)COLORGREEN,LINETHICK2;
☆观望区:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL)COLORBLUE,LINETHICK2;
趋势而为:IF(A1X>=0,☆突破价,DRAWNULL)COLORGREEN;
STICKLINE(A1X>=0,★操作区,☆突破价,0,-1)COLORGREEN;
STICKLINE(A1X<0,☆观望区,☆突破价,0,-1)COLORBLUE;
STICKLINE(CROSS(A1X,0),C,O,2,0)COLORGREEN;
STICKLINE(CROSS(0,A1X),C,O,2,0)COLORBLUE;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。