以下是通達(dá)信布林線主圖買賣點(diǎn)源碼(無源碼的請(qǐng)下載附件導(dǎo)入)
NN:=20;
MIDA:=MA(C,NN);
VART1:=POW((C-MIDA),2);
VART2:=MA(VART1,NN);
VART3:=SQRT(VART2);
UPPERA:=MIDA+2*VART3;
LOWERA:=MIDA-2*VART3;
BOLL:REF(MIDA,1)COLORRED,LINETHICK2;
UB:REF(UPPERA,1)COLORBLUE,LINETHICK2;
LB:REF(LOWERA,1)COLORGREEN,LINETHICK2;
上穿下軌:CROSS(CLOSE,LB) AND C>REF(C,1)COLORRED;
DRAWICON(上穿下軌,L*0.95,7);
昨日中軌:=REF(C,1)>BOLL;
回踩中軌:=(L-BOLL)/L<=0.01 AND (L-BOLL)/L>=-0.01 AND C>BOLL AND C>O;
中軌連漲:=UPNDAY(BOLL,3);
回踩布林中軌:回踩中軌 AND 昨日中軌 AND 中軌連漲,COLORLIRED;
DRAWICON(回踩布林中軌,L*0.995,1);
收口:=(UB-LB)/LB<=0.25;
上穿軌道:=CROSS(C,BOLL) OR CROSS(C,UB);
中軌向上:=BOLL>REF(BOLL,1) OR BOLL=REF(BOLL,1);
布林收口選股:收口 AND 上穿軌道 AND 中軌向上;
DRAWICON(布林收口選股,L*0.985,23);
昨日上軌:=REF(CROSS(C,UB),1);
回踩上軌:=(L-UB)/L<=0.01 AND (L-UB)/L>=-0.01 AND C>UB AND C>L;
回踩上軌選股:昨日上軌 AND 回踩上軌;
DRAWICON(回踩上軌選股,L*0.975,21);
DRAWICON(N77,H*1.002,2);
|