以下是同花顺亚当夏娃主图指标
同花顺亚当夏娃主图指标
源码
DRAWGBKLAST(C>0,STRIP(RGB(90,90,90),RGB(0,0,0),0));
反压:HHV(FORCAST(C,10),18),coloree8fff,linethick1;
A1:MA(C,5),CulorFFFfff,linethick1;
A2:MA(C,10),Culor00Ffff,linethick1;
A3:MA(C,21),Culorff00ff,linethick1;
A4:=MA(C,30),Culor00ff00,linethick1;
A5:MA(C,60),Culor208fff,linethick1;
A6:=MA(C,90),Culor00ff00,linethick0;
A7:=MA(C,120),Culor00Ffff,linethick0;
A8:=MA(C,240),Culor00ff00,linethick0;
指导: EMA((EMA(C,4)+EMA(C,6)+EMA(C,12)+EMA(C,24))/4,2),linethick0,CulorFFffFF;
界: MA(CLOSE,21),linethick0,Culor00FFFF;
上限:= 界+3*STD(C,20),linethick0,Culor00FFFF;
卖出:= 界+2*STD(C,20),linethick0,CulorFF00FF;
买入:= 界-2*STD(C,20),linethick0,CulorF0FF00;
下限:= 界-2.9*STD(CLOSE,20),linethick0,Culor00FF00;
DRAWICON(((C>界 AND 指导>界 AND CROSS(界,L))),L,3),ALIGN1,VALIGN0;
DRAWTEXT(((C>界 AND 指导>界 AND CROSS(指导,界))),L,’买点’),ALIGN1,VALIGN0,colorbule;
DRAWTEXT(((C>界 AND 指导>界 AND CROSS(指导,界))),L,’⊕’),ALIGN1,VALIGN0,Culorffffff;
DRAWICON(CROSS(H,上限),H,10),ALIGN1,VALIGN2;
DRAWICON(CROSS(上限,H),H,9),ALIGN1,VALIGN2;
DRAWICON((H>上限 AND CROSS(H,上限)),H,16),ALIGN1,VALIGN2;
DRAWTEXT(CROSS(H,上限),H,’上限’),ALIGN1,VALIGN0,Culor00ffff;
DRAWICON((H>卖出 AND CROSS(上限,H)),H,16),ALIGN1,VALIGN2;
DRAWTEXT(CROSS(上限,H),H,’上限’),ALIGN1,VALIGN0,Culorff00ff;
DRAWTEXT(CROSS(下限,L),L,’限’),ALIGN1,VALIGN2,Culor00ff00;
DRAWTEXT(CROSS(下限,L),L,’下限’),ALIGN1,VALIGN2,Culor00ff00;
DRAWTEXT(CROSS(买入,L),L,’△’),ALIGN1,VALIGN0,Culorffff00;
DRAWTEXT(CROSS(买入,L),L,’买入’),ALIGN1,VALIGN0,Culorffff00;
DRAWTEXT(CROSS(买入,C),L,’▲’),ALIGN1,VALIGN0,Culorffff00;
DRAWTEXT(CROSS(买入,C),L,’买入’),ALIGN1,VALIGN0,Culorffff00;
年:MA(CLOSE,26),color00ff00,LINETHICK0;
STICKLINE(C>=年 AND C>=O,C,O,7,0),COLOR0000aa;
STICKLINE(C>=年 AND C>=O,C,O,5,0),COLOR0000cc;
STICKLINE(C>=年 AND C>=O,C,O,3,0),COLOR0000ee;
STICKLINE(C>=年 AND C>=O,C,O,1,0),colorred;
STICKLINE(C>=年 AND C>=O,H,L,0,0),colorred;
STICKLINE(C>=年 AND C<O,C,O,7,0),COLOR0000aa;
STICKLINE(C>=年 AND C<O,C,O,5,0),COLOR0000cc;
STICKLINE(C>=年 AND C<O,C,O,3,0),COLOR0000ee;
STICKLINE(C>=年 AND C<O,C,O,1,0),colorred;
STICKLINE(C>=年 AND C<O,O,H,0,0),colorred;
STICKLINE(C>=年 AND C<O,C,L,0,0),colorred;
STICKLINE(C<年 AND C>O,C,O,7,0),COLORaaaa00;
STICKLINE(C<年 AND C>O,C,O,5,0),COLORcccc00;
STICKLINE(C<年 AND C>O,C,O,3,0),COLOReeee00;
STICKLINE(C<年 AND C>O,C,O,1,0),COLORffff00;
STICKLINE(C<年 AND C<=O,C,O,7,0),COLORaaaa00;
STICKLINE(C<年 AND C<=O,C,O,5,0),COLORcccc00;
STICKLINE(C<年 AND C<=O,C,O,3,0),COLOReeee00;
STICKLINE(C<年 AND C<=O,C,O,1,0),COLORffff00;
STICKLINE(C<年 AND C<=O,H,L,0,0),COLORffff00;
STICKLINE(C<年 AND C>O,C,H,0,0),COLORffff00;
STICKLINE(C<年 AND C>O,O,L,0,0),COLORffff00;
DRAWTEXT(CROSS(H,年) AND O>=年,L,’买’),coloryellow,ALIGN1,VALIGN0;
DRAWTEXT(CROSS(年,L) AND C<=年,H,’卖’),colorgreen,ALIGN1,VALIGN2;
dp:=IF(C=INDEXC,0,1);
gj:=AMOUNT/V/100;
明日阻力:=L+(gj-L)+(C-L);
明日支撑:=L+(C-gj);
今日阻力:=REF(明日阻力 , 1);
今日支撑:=REF(明日支撑 , 1);
评论(0)