DRAWGBK(OPEN》0,RGB(0,0,250),RGB(0,0,0),0,‘02’,0);
DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIFF,9),COLORFFFF00;
MACD:=(DIFF-DEA)*2;
A1:BARSLAST(DIFF《REF(DIFF,1)),COLOR00FFFF,LINETHICK1;
A11:A1*-1,COLOR00FFFF,LINETHICK1;
A2:BARSLAST(DEA《REF(DEA,1)),COLORRED,LINETHICK1;
A22:A2*-1,COLORRED,LINETHICK1;
DRAWBAND(A2,RGB(150,50,20),A1,RGB(150,100,150));
DRAWBAND(A22,RGB(150,100,150),A11,RGB(150,50,20));
STICKLINE(CROSS(DIFF,DEA)ANDDIFF《0,A11,0,2,0),COLORRED;
STICKLINE(CROSS(DIFF,DEA)ANDDIFF》0,0,A1,2,0),COLORRED;
STICKLINE(CROSS(DEA,DIFF)ANDDIFF《0,A11,0,2,0),COLORBLUE;
STICKLINE(CROSS(DEA,DIFF)ANDDIFF》0,0,A1,2,0),COLORBLUE;
MACD底违背:
STICKLINE(REF(CLOSE,A1+1)》CLOSEANDDIFF》REF(DIFF,A1+1)ANDCROSS(DIFF,DEA),-25,25,0.00001,0),COLORYELLOW;
STICKLINE(A1》0ANDA2》0,A2,A1,0.00001,0),COLORFFFFFF;
STICKLINE(A1》0ANDA2》0,A22,A11,0.00001,0),COLORFFFFFF;
STICKLINE(A1》0ANDA2》0,0,A1,0.000001,0),COLORFF00FF;
STICKLINE(A1》0ANDA2》0,0,A11,0.000001,0),COLORGREEN;
DRAWTEXT(CROSS(DIFF,DEA)ANDDIFF《0,-5,‘〇’),COLORCYAN;
DRAWTEXT(CROSS(DIFF,DEA)ANDDIFF《0,-12,‘〇’),COLORCYAN;
DRAWTEXT(CROSS(DIFF,DEA)ANDDIFF》0,5,‘〇’),COLORGREEN;
DRAWTEXT(CROSS(DIFF,DEA)ANDDIFF》0,12,‘〇’),COLORGREEN;
DRAWTEXT(A2》A1ANDA22《A11ANDA1=0ANDA11=0,A2,‘∈’),COLORGREEN;
DRAWTEXT(A2》A1ANDA22《A11ANDA1=0ANDA11=0,0,‘∈’),COLORGREEN;
DRAWTEXT(A2》A1ANDA22《A11ANDA1=0ANDA11=0,A22,‘∈’),COLORGREEN;
STICKLINE(CROSS(DIFF,DEA)ANDDIFF《0,A11,0,2,0),COLORRED;
STICKLINE(CROSS(DIFF,DEA)ANDDIFF》0,0,A1,2,0),COLORRED;
STICKLINE(CROSS(DEA,DIFF)ANDDIFF《0,A11,0,2,0),COLORBLUE;
STICKLINE(CROSS(DEA,DIFF)ANDDIFF》0,0,A1,2,0),COLORBLUE;
N:=5;M1:=5;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,M1,5);
J:=3*K-2*D;
VARB2:=(RSV/2+22)*1;
量:=EMA(VOL,13);
资金:=EMA(AMOUNT,13);
过滤:=((资金/量)/100);
提纯:=(((CLOSE-过滤)/过滤)*100);
黄金:=((提纯《(0))ANDZXNH);
低买:=IF(黄金ANDRSV《VARB2-2,50,0);
高卖:=IF(黄金ANDRSV》VARB2,80,120);
上涨分界:=25;
KDJ提早金叉:(CROSS(上涨分界,低买)),COLORFF00FF,NODRAW;
DRAWTEXT(KDJ提早金叉,0,‘⊙’),COLORFFFFFF;
免责声明:本站内容和图片由网友提供或来自网络。
如有违反到您的权益,请通知我们删除处理。文章仅代表作者本人的观点,与本站立场无关!
© 2023 nvsheng.cc 女生-个人图集收集 蜀ICP备2021006193号-3|川公网安备 51130202000403号
发表评论