① 請哪位老師幫我編一個通達信布林線收口選股公式(參數為10*2),最好是當天收盤價首次突破布林線上軌
{主圖指標或副圖指標}
M:=10;
N:=2;
MID:MA(CLOSE,M);
UB:MID + N*STD(CLOSE,M);
LB:MID - N*STD(CLOSE,M);
KK:=UB-LB;
收口漲停:=CROSS(0.5,KK=LLV(KK,30)) AND CROSS(C,UB) AND C/REF(C,1)>=1.096 AND C=H;
DRAWTEXT(收口漲停,0.8*LB,'★收口'),COLORRED;
{條件選股指標}
M:=10;
N:=2;
MID:=MA(CLOSE,M);
UB:= MID + N*STD(CLOSE,M);
LB:= MID - N*STD(CLOSE,M);
KK:=UB-LB;
收口漲停:CROSS(0.5,KK=LLV(KK,30)) AND CROSS(C,UB) AND C/REF(C,1)>=1.096 AND C=H;
② 請求通達信能用的好用的布林帶指標!通達信自帶的布林帶指標有問題,還不支持修改,請問有高手有好用的嗎
下面的布林帶是最經典的版本。
BOLL:MA(CLOSE,20);
UB:BOLL+2*STD(CLOSE,20);
LB:BOLL-2*STD(CLOSE,20);
③ 求布林帶選股公式(通達信):布林帶收窄或者已經是處於收窄狀態,最好按百分比。謝謝
BOLL:=MA(CLOSE,20);
UB:=BOLL+2*STD(CLOSE,20);
LB:=BOLL-2*STD(CLOSE,20);
XG:(UB-LB)/LB<0.06 AND (UB-LB)<0.6;沒啥好的辦法,只能將就湊專合著用屬。
④ 請哪位老師給我編一個通達信布林線收口的選股公式(參數為10*2),最好附帶條件為當天股價突破布林上
N:=10;
BOLL:=MA(CLOSE,N);
UB:=BOLL+2*STD(CLOSE,N);
LB:=BOLL-2*STD(CLOSE,N);
XG:UB/LB<=1.08 AND L<UB AND C>UB AND C>O;
⑤ 通達信神奇公式怎麼選股通達信神奇布林線股票指標公式如下:mid2:=m
{神奇布林線主圖}
MID2 := MA(CLOSE,21),COLORWHITE;
UPPER2:=MID2 + 1.96*STD(CLOSE,21),COLORYELLOW;
LOWER2:=MID2 - 1.96*STD(CLOSE,21),COLORYELLOW;
UP2:=MID2 + 2.56*STD(CLOSE,21),COLORFF00FF;
LOOW2:=MID2 - 2.56*STD(CLOSE,21),COLORFF00FF;
{上升趨勢}
STICKLINE(C>=MID2,MID2,UP2,2,0),COLOR330066;
{下降趨勢}
STICKLINE(C<MID2,MID2,LOOW2,2,0),COLOR545454;
MID:MID2,COLORWHITE;
UPPER:UPPER2,COLORYELLOW;
UP:UP2,COLORFF00FF;
LOWER:LOWER2,COLORYELLOW;
LOOW:LOOW2,COLORFF00FF;
開口:=UP-LOOW;
相離:=C-MID;
DRAWTEXT(C>=MID AND REF(開口,1)=HHV(開口,20),UPPER,'減倉'),COLOR00FF00;
DRAWTEXT(C>=MID AND REF(相離,1)=LLV(相離,5),MID,'加倉');
股價多頭:=C>MA(C,5) AND MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20);
DRAWTEXT(FILTER(股價多頭,20),LOOW*0.95,'開始建倉'),COLORRED;
DRAWICON(FILTER(股價多頭,20),LOWER,1),COLORRED;
DRAWTEXT(CROSS(MID,C),UP,'空倉觀望'),COLORYELLOW;
DRAWICON(CROSS(MID,C),UPPER,2),COLORYELLOW;
{K線}
{STICKLINE((CLOSE > OPEN),CLOSE,OPEN,5.2,0),COLOR070084;}
STICKLINE((CLOSE > OPEN),CLOSE,OPEN,4,1),COLOR0000A3;
STICKLINE((CLOSE > OPEN),CLOSE,OPEN,3.5,0),COLOR000033;
STICKLINE((CLOSE > OPEN),CLOSE,OPEN,3,0),COLOR000066;
STICKLINE((CLOSE > OPEN),CLOSE,OPEN,2.0,0),COLOR000099;
STICKLINE((CLOSE > OPEN),CLOSE,OPEN,1.5,0),COLOR0000CC;
STICKLINE((CLOSE > OPEN),CLOSE,OPEN,1.0,0),COLOR0000FF;
STICKLINE((CLOSE > OPEN),CLOSE,OPEN,0.5,0),COLORCC66FF;
STICKLINE((CLOSE > OPEN),OPEN,LOW,0.3,0),COLORRED;
STICKLINE((CLOSE > OPEN),CLOSE,HIGH,0.3,0),COLORRED;
{STICKLINE((CLOSE = OPEN AND C>REF(C,1)),CLOSE,OPEN,5.2,0),COLOR070084;}
STICKLINE((CLOSE = OPEN AND C>REF(C,1)),CLOSE,OPEN,4,1),COLOR0000A3;
STICKLINE((CLOSE = OPEN AND C>REF(C,1)),CLOSE,OPEN,3.5,0),COLOR0000B7;
STICKLINE((CLOSE = OPEN AND C>REF(C,1)),CLOSE,OPEN,3,0),COLOR0000CD;
STICKLINE((CLOSE = OPEN AND C>REF(C,1)),CLOSE,OPEN,2.0,0),COLOR0000E9;
STICKLINE((CLOSE = OPEN AND C>REF(C,1)),CLOSE,OPEN,1.5,0),COLOR0754E9;
STICKLINE((CLOSE = OPEN AND C>REF(C,1)),CLOSE,OPEN,1.0,0),COLOR076EF3;
STICKLINE((CLOSE = OPEN AND C>REF(C,1)),CLOSE,OPEN,0.5,0),COLOR077BF3;
STICKLINE((CLOSE = OPEN AND C>REF(C,1)),OPEN,LOW,0.3,0),COLOR0000CD;
STICKLINE((CLOSE = OPEN AND C>REF(C,1)),CLOSE,HIGH,0.3,0),COLOR0000CD;
{STICKLINE((OPEN > CLOSE),CLOSE,OPEN,5.2,0),COLORFF5B00;}
STICKLINE((OPEN > CLOSE),CLOSE,OPEN,4,1),COLORFF6C00;
STICKLINE((OPEN > CLOSE),CLOSE,OPEN,3.5,0),COLORFF7B00;
STICKLINE((OPEN > CLOSE),CLOSE,OPEN,2,0),COLORFF9C00;
STICKLINE((OPEN > CLOSE),CLOSE,OPEN,1.5,0),COLORFFBE00;
STICKLINE((OPEN > CLOSE),CLOSE,OPEN,1,0),COLORFFCC00;
STICKLINE((OPEN > CLOSE),CLOSE,OPEN,0.5,0),COLORFFFF00;
STICKLINE((OPEN > CLOSE),CLOSE,LOW,0.3,0),COLORFF9C00;
STICKLINE((OPEN > CLOSE),OPEN,HIGH,0.3,0),COLORFF9C00;
{STICKLINE((OPEN = CLOSE AND C<REF(C,1)),CLOSE,OPEN,5.2,0),COLORFF5B00;}
STICKLINE((OPEN = CLOSE AND C<REF(C,1)),CLOSE,OPEN,4,1),COLORFF6C00;
STICKLINE((OPEN = CLOSE AND C<REF(C,1)),CLOSE,OPEN,3.5,0),COLORFF7B00;
STICKLINE((OPEN = CLOSE AND C<REF(C,1)),CLOSE,OPEN,2,0),COLORFF9C00;
STICKLINE((OPEN = CLOSE AND C<REF(C,1)),CLOSE,OPEN,1.5,0),COLORFFBE00;
STICKLINE((OPEN = CLOSE AND C<REF(C,1)),CLOSE,OPEN,1,0),COLORFFCC00;
STICKLINE((OPEN = CLOSE AND C<REF(C,1)),CLOSE,OPEN,0.5,0),COLORFFFF00;
STICKLINE((OPEN = CLOSE AND C<REF(C,1)),CLOSE,LOW,0.3,0),COLORFF9C00;
STICKLINE((OPEN = CLOSE AND C<REF(C,1)),OPEN,HIGH,0.3,0),COLORFF9C00;
====================
{選股}
MID := MA(CLOSE,21);
相離:=C-MID;
加倉:=C>=MID AND REF(相離,1)=LLV(相離,5);
股價多頭:=C>MA(C,5) AND MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20);
開始建倉:=FILTER(股價多頭,20);
XG:加倉 OR 開始建倉;
⑥ 通達信布林線中軌上行選股公式
布林線中軌上行,不就是20日均線上行嗎.
代碼如下.
XG:MA(C,20)>REF(MA(C,20),1) AND REF(MA(C,20),1)<REF(MA(C,20),2);
想選周線,就在條件選股里把選股周期改專成周屬線就可以了.
⑦ 同花順版和通達信版會兩種最好了,布林線BOLL選股公式
通話順發和通達信會拿兩個最好你不太清楚這樣。
⑧ 求布林帶選股公式(通達信):布林帶收窄或者已經是處於收窄狀態,當天K線上穿中軌
N:=20;
MID:=MA(C,N);
VART1:=POW((C-MID),2);
VART2:=MA(VART1,N);
VART3:=SQRT(VART2);
UPPER:=MID+2*VART3;
LOWER:=MID-2*VART3;
BOLL:=REF(MID,1);
M:=1.15;
XG:UPPER/LOWER<M AND CROSS(C,BOLL) AND C>MA(C,5);
(M為收窄幅度,可自己調整。採用BOLL主圖疊加回指標)答
⑨ 請高手寫個通達信布林帶的的選股公式 謝謝
MID :=MA(CLOSE,N);
UPPER:=MID+2*STD(CLOSE,N);
LOWER:=MID-2*STD(CLOSE,N);
ENTERLONG:CROSS(CLOSE,LOWER);
EXITLONG:CROSS(CLOSE,UPPER);
⑩ 求通達信裡面股價突破布林線上軌的選股公式
BOLL:=MA(CLOSE,20);
UB:=BOLL+2*STD(CLOSE,20);
LB:=BOLL-2*STD(CLOSE,20);
C>=UB;