源码
hh:=hhv(h,250);
ll:=llv(l,250);
e:=(hh-ll)/100;
gj:=if(C>=100,(C+h+l+O)/4,AMOUNT/(V+0.01)/100);
明日阻力:l+(gj-l)+(c-l);
明日支撑:l+(c-gj);
今日阻力:REF(明日阻力 , 1);
今日支撑:REF(明日支撑 , 1);
STICKLINE(c>0,hh+hh,0,10,0),Color443300;
年:MA(CLOSE,26),color00ff00,linethick2;
反压线:HHV(FORCAST(C,10),18),coloree8fff,linethick1;
M5:MA(C,5),ColorFFFfff,linethick1;
M10:MA(C,10),Color00Ffff,linethick1;
M60:MA(C,60),Color208fff,linethick1;
M90:=MA(C,90),Color00ff00,linethick0;
M125:=MA(C,125),Color00Ffff,linethick0;
M250:=MA(C,250),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;
DRAWTEXT(((c>界 and 指导线>界 and cross(界,l))),l,'▲'),Color0000ff;
DRAWTEXT(((c>界 and 指导线>界 and cross(界,l))),l*0.997,'↑'),Color0000ff;
DRAWTEXT(((c>界 and 指导线>界 and cross(指导线,界))),l,'买点'),Color00578C;
DRAWTEXT(((c>界 and 指导线>界 and cross(指导线,界))),l,'⊕'),Colorffffff;
DRAWICON(cross(H,上限),h,10);
DRAWICON(cross(上限,H),h,9);
DRAWTEXT(h>上限 and cross(h,上限),h+3*e,'●'),Color0000ff;
DRAWTEXT(cross(H,上限),H+3*e,'_'),linethick2,Color00ffff;
DRAWTEXT(h>卖 and cross(上限,H),h+3*e,'▼'),Color00ff00;
DRAWTEXT(cross(上限,H),H+3*e,'_'),linethick2,Colorff00ff;
DRAWTEXT(cross(下限,L),l,'限'),Color00ff00;
DRAWTEXT(cross(下限,L),l,' ̄'),Color00ff00;
DRAWTEXT(cross(买,L),l,'△'),ColorFFFFFF;
DRAWTEXT(cross(买,L),l,' ̄'),ColorFFFFFF;
DRAWTEXT(cross(买,C),L,'▲'),Colorffff00;
DRAWTEXT(cross(买,C),L,' ̄'),Colorffff00;
vVAAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
vVAAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
vVAAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
DRAWTEXT(CROSS(vVAAR2,MA(vVAAR3,6)),(LOW ),'Ψ'),colorFFFFFF;
DRAWTEXT(CROSS(MA(vVAAR3,6),vVAAR1),(HIGH+2*e),'◇'),colorFFFFFF;
STICKLINE(C>=年 AND C>=O,C,O,4,0),COLORRED;
STICKLINE(C>=年 AND C>=O,H,L,0,0),COLORRED;
STICKLINE(C>=年 AND C
STICKLINE(C<年 AND C<=O,C,O,4,1),COLORffff00;
STICKLINE(C<年 AND C<=O,H,L,0,1),COLORffff00;
STICKLINE(C<年 AND C>O,C,H,0,1),COLORffff00;
STICKLINE(C<年 AND C>O,O,L,0,1),COLORffff00;