买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=cross(买线,卖线);
SEL:=cross(卖线,买线);
drawtext(bu,LOW*0.999,'B'),colorred,linethick3;
DRAWTEXT(bu,LOW,'﹉'),Color208FFF,LINETHICK3;
DRAWTEXT(sel,HIGH,'﹉'),ColorFFFF00,LINETHICK3;
drawtext(sel,HIGH*1.009,'S'),colorffff00,linethick3;
stickline(买线>=卖线,low,high,1,0),colorred;
stickline(买线>=卖线,close,open,4.5,0),color0000aa;
stickline(买线>=卖线,close,open,4,0),color0000cc;
stickline(买线>=卖线,close,open,3,0),color0000cc;
stickline(买线>=卖线,close,open,2,0),color0000ee;
stickline(买线<卖线,close,open,4.5,0),coloraaaa00;
stickline(买线<卖线,close,open,4,0),colorbbbb00;
stickline(买线<卖线,close,open,3,0),colorcccc00;
stickline(买线<卖线,close,open,2,0),coloreeee00;
stickline(买线<卖线,low,high,1,0),colorffff00;
stickline(cross(买线,卖线) or cross(卖线,买线),open,close,3,0),color00ffff;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
G:=95;
DRAWTEXT(cross(J,D),L*0.999,'▲'),Color00ffff,linethick4;
DRAWTEXT(cross(J,D),L,' ̄'),Color00ffff;
DRAWTEXT(cross(J,G),H*1.009,'▼'),Colorffff00,linethick4;
DRAWTEXT(cross(J,G),H,' ̄'),Colorffff00;
指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1,ColorFFffFF;
界: MA(CLOSE,21),linethick1,Color00FFFF;
上限: 界+3*STD(CLOSE,m),linethick1,Color00FFFF;
卖: 界+2*STD(CLOSE,m),linethick1,ColorFF00FF;
买: 界-2*STD(CLOSE,m),linethick1,ColorF0FF00;
下限: 界-2.9*STD(close,m),linethick1,Color00FF00;
DRAWICON(H>=上限,h,1);
DRAWTEXT(H>=上限,H,' ̄'),Color00ffff;
DRAWICON(cross(H,上限),h,10);
DRAWTEXT(cross(H,上限),H,' ̄'),Color00ffff;
DRAWICON(cross(上限,H),h,9);
DRAWTEXT(cross(上限,H),H,' ̄'),Color00ffff;
DRAWTEXT(cross(H,卖),H,'▼'),Colorff00ff;
DRAWTEXT(cross(H,卖),H,' ̄'),Colorff00ff;
DRAWTEXT(cross(C,卖),H,'★'),Colorff00ff;
DRAWTEXT(cross(C,卖),H,' ̄'),Colorff00ff;
DRAWTEXT(cross(下限,L),l,'观'),Color00ff00;
DRAWTEXT(cross(下限,L),l,' ̄'),Color00ff00;
DRAWTEXT(下限>L,l,'观'),Color00ff00;
DRAWTEXT(下限>L,l,' ̄'),Color00ff00;
DRAWTEXT(cross(买,L),l,'△'),Colorffff00;
DRAWTEXT(买>L,l,'△'),Colorffff00;
DRAWTEXT(cross(买,L),l,' ̄'),Colorffff00;
DRAWTEXT(cross(买,C),L,'▲'),Colorffff00;
DRAWTEXT(cross(买,C),L,' ̄'),Colorffff00;
转载请注明出自股海明灯论坛 http://www.178448.com/,本贴地址:http://www.178448.com/thread-73983-1-1.html |