源码
ma6:ma(c,6),Color0000ff;
ma18:ma(c,18),color0096ff;
ma30:ma(c,30),COLOR00ff99;
ma60:ma(c,60),Colorff00ff;
aaf:LLV(LOW,34),LINETHICK1,COLORffffcc;
bbf:MA(aaf,4),LINETHICK1,coloryellow;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100;
DRAWICON(CROSS(RSI,11) ,l*0.99,4);
Var28:=SMA(MAX(CLOSE-lc,0),5.5,1)/SMA(ABS(CLOSE-lc),6,1)*100;
DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)>0 AND EMA(CLOSE,12)/LOW>1.15,5),LOW,'☆'),linethick7 , COLORff00ff;
VARA:=((AMOUNT)/(VOL))/(100);
VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);
VARC:=((SUM(AMOUNT,7))/(VARA))/(100);
VARD:=DMA(VARB,(VOL)/(VARC));
VARE:=((CLOSE-VARD)/(VARD))*(100);
VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);
VARJ:=MA(VARE,20)+STD(VARE,20);
BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);
aa:=SMA(VARF,3,1);
ss:=(REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (aa>79);
DRAWTEXT((REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (aa>ss) and CROSS(84,RSI),h*1.01,'☆'),LINETHICK7,coloryellow;
DRAWTEXT(CROSS(84,RSI) and CROSS(76,Var28),h*1.01,'☆'),LINETHICK7,coloryellow;
V1:=EMA(CLOSE,60)-EMA(CLOSE,300);
V2:=EMA(V1,300);
V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
操盘线:=SMA(V3,2,1);
V5:=SMA(操盘线,2,1);
DRAWICON(CROSS(操盘线,V5) and ma6>ref(ma6,1),l,4);
DRAWICON(操盘线<ref(操盘线,1) and ref(操盘线,1)>ref(操盘线,2) and ma30<ref(ma30,1) and ref(操盘线,1)>40 and cross(v5,操盘线),h*1.01,5);
STICKLINE((REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (aa>ss) and CROSS(84,RSI) and CROSS(76,Var28),C,O,8,0),coloryellow,LINETHICK2;{底位红色}
STICKLINE(操盘线>ref(操盘线,1) and ref(操盘线,1)<ref(操盘线,2) and 操盘线<23 and V5>ref(V5,1) and aaf=bbf and ma18<ref(ma18,1),C,O,8,0),LINETHICK2;{底位红色}
STICKLINE(操盘线>ref(操盘线,1) and CROSS(操盘线,v5) and v5<50 and (aaf=bbf or aaf>bbf) and ma18<ref(ma18,1),C,O,8,0),LINETHICK2;{底位红色}
STICKLINE(操盘线>ref(操盘线,1) and CROSS(操盘线,v5) and v5<50 and ma18>ref(ma18,1),C,O,8,0),LINETHICK2;{底位红色};
===============================================
N:=20;P:=2;
日均线5: MA(CLOSE,5),COLOR00FFFF;
日均线10: MA(CLOSE,10),COLORFF00FF;
BOLL中线: MA(CLOSE,20),COLORFF0000;
BOLL顶线: BOLL中线+P*STDDEV(CLOSE,N),COLORFFFF10;
BOLL底线: BOLL中线-P*STDDEV(CLOSE,N),COLORFFCC66;
MA6:= MA(CLOSE,6);
MA18:= MA(CLOSE,18);
MA30:= MA(CLOSE,30);
MA60:= MA(CLOSE,60);
AAF:= LLV(LOW,34);
BBF:= MA(AAF,4);
LC:= REF(CLOSE,1);
RSI:= SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100;
DRAWICON(CROSS(84,RSI),HIGH*1.03,5),COLOR0000FF;
DRAWICON(CROSS(RSI,11),LOW*0.99,4),COLOR008000;
VAR27:= REF(CLOSE,1);
VAR28:= SMA(MAX(CLOSE-VAR27,0),5.5,1)/SMA(ABS(CLOSE-VAR27),6,1)*100;
DRAWICON(IF(CROSS(76,VAR28),1,0),HIGH*1.03,5),COLORFF0000;
DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)>0 AND EMA(CLOSE,12)/LOW>1.15,5),LOW,'☆'),COLORFF00FF;
VARA:= AMOUNT/VOL/100;
VARB:= (3*HIGH+LOW+OPEN+2*CLOSE)/7;
VARC:= SUM(AMOUNT,7)/VARA/100;
VARD:= DMA(VARB,VOL/VARC);
VARE:= (CLOSE-VARD)/VARD*100;
VARF:= (CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
VARJ:= MA(VARE,20)+STD(VARE,20);
BIAS18:= (CLOSE-MA(CLOSE,18))/MA(CLOSE,18)*100;
AA:= SMA(VARF,3,1);
SS:= REF(BIAS18,1)>=5 AND CROSS(VARJ,VARE) AND AA>79;
DRAWTEXT(REF(BIAS18,1)>=5 AND CROSS(VARJ,VARE) AND AA>SS,HIGH*1.02,'☆'),COLOR008000;
VAR1:= ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);
VAR2:= ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);
STICKLINE(VAR1,CLOSE,OPEN,8,0),COLOR00FFFF;
STICKLINE(VAR1,CLOSE,OPEN,3,0),COLOR00FFFF;
STICKLINE(VAR1,HIGH,LOW,1,0),COLOR00FFFF;
STICKLINE(VAR2,CLOSE,OPEN,8,0),COLORFF00FF;
STICKLINE(VAR2,CLOSE,OPEN,3,0),COLORFF00FF;
STICKLINE(VAR2,HIGH,LOW,1,0),COLORFF00FF;
股市参考网: VAR2,LINETHICK0,COLOR0000FF;