亚当夏娃主图源码:
DRAWGBKLAST(C 0,STRIP(RGB(90,90,90),RGB(0,0,0),0));
反压:HHV(FORCAST(C,10),18),coloree8fff,linethick1;
A1:MA(C,5),ColorFFFfff,linethick1;
A2:MA(C,10),Color00Ffff,linethick1;
A3:MA(C,21),Colorff00ff,linethick1;
A4:=MA(C,30),Color00ff00,linethick1;
A5:MA(C,60),Color208fff,linethick1;
A6:=MA(C,90),Color00ff00,linethick0;
A7:=MA(C,120),Color00Ffff,linethick0;
A8:=MA(C,240),Color00ff00,linethick0;
指导: EMA((EMA(C,4)+EMA(C,6)+EMA(C,12)+EMA(C,24))/4,2),linethick0,ColorFFffFF;
界: MA(CLOSE,21),linethick0,Color00FFFF;
上限:= 界+3*STD(C,20),linethick0,Color00FFFF;
卖出:= 界+2*STD(C,20),linethick0,ColorFF00FF;
买入:= 界-2*STD(C,20),linethick0,ColorF0FF00;
下限:= 界-2.9*STD(CLOSE,20),linethick0,Color00FF00;
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,Colorffffff;
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,Color00ffff;
DRAWICON((H 卖出 AND CROSS(上限,H)),H,16),ALIGN1,VALIGN2;
DRAWTEXT(CROSS(上限,H),H,'上限'),ALIGN1,VALIGN0,Colorff00ff;
DRAWTEXT(CROSS(下限,L),L,'限'),ALIGN1,VALIGN2,Color00ff00;
DRAWTEXT(CROSS(下限,L),L,'下限'),ALIGN1,VALIGN2,Color00ff00;
DRAWTEXT(CROSS(买入,L),L,'△'),ALIGN1,VALIGN0,Colorffff00;
DRAWTEXT(CROSS(买入,L),L,'买入'),ALIGN1,VALIGN0,Colorffff00;
DRAWTEXT(CROSS(买入,C),L,'▲'),ALIGN1,VALIGN0,Colorffff00;
DRAWTEXT(CROSS(买入,C),L,'买入'),ALIGN1,VALIGN0,Colorffff00;
年: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);