beyond202104 发表于 2023-8-28 15:26:28

牛势起涨进场 布林改编买入【指标公式】(含选股)

第一部分 副图公式 手机/电脑


N:=27;
MA22:MA(CLOSE,22);
顶线:MA22 + 2*STD(CLOSE,22);
底线:MA22 - 2*STD(CLOSE,22);
BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORRED;
MA5:MA(CLOSE,5),COLOR0099FF;
DRAWKLINE(H,O,L,C);
DRAWICON(CROSS(MA5,BBI),BBI*0.99,38);
DRAWICON(CROSS(BBI,MA22),BBI*0.99,25);
RSVA:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;
RSVB:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
中K:=SMA(RSVB,5,1);
中D:=SMA(中K,10,1);
CAIH1:=(3*C+2*O+L+H)/7;
WMA5:=(5*CAIH1+4*REF(CAIH1 ,1 )+3*REF(CAIH1 ,2 )+2*REF(CAIH1 ,3 )+REF(CAIH1 ,4 ))/15;
CAIH2:=REVERSE(CAIH1)+2*WMA5;
CAIH3:=CROSS(WMA5,CAIH2*0.997);
K1:=SMA(RSVB,5,1);
D1:=SMA(K1,5,1);
J1:=3*K1-2*D1;
CHA1:=EMA(J1,5);
CHA2:=REF(CHA1,1);
NN:=中K>中D;
K2:=SMA(RSVA,3,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
CHB1:=EMA(J2,5);
CHB2:=REF(CHB1,1);
CHB3:=CAIH3 AND CHA1>CHA2 AND CHB1>CHB2 AND NN AND (C-REF(C,1))/REF(C,1)>0.045;
DRAWTEXT(CHB3>0,BBI*0.99,'★牛势'),COLOR0099FF;


第二部分 选股公式


{选股公式一:牛势}
N:=27;
RSVA:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;
RSVB:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
中K:=SMA(RSVB,5,1);
中D:=SMA(中K,10,1);
CAIH1:=(3*C+2*O+L+H)/7;
WMA5:=(5*CAIH1+4*REF(CAIH1 ,1 )+3*REF(CAIH1 ,2 )+2*REF(CAIH1 ,3 )+REF(CAIH1 ,4 ))/15;
CAIH2:=REVERSE(CAIH1)+2*WMA5;
CAIH3:=CROSS(WMA5,CAIH2*0.997);
K1:=SMA(RSVB,5,1);
D1:=SMA(K1,5,1);
J1:=3*K1-2*D1;
CHA1:=EMA(J1,5);
CHA2:=REF(CHA1,1);
NN:=中K>中D;
K2:=SMA(RSVA,3,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
CHB1:=EMA(J2,5);
CHB2:=REF(CHB1,1);
CHB3:=CAIH3 AND CHA1>CHA2 AND CHB1>CHB2 AND NN AND (C-REF(C,1))/REF(C,1)>0.045;
{DRAWTEXT(CHB3>0,BBI*0.99,'★牛势'),COLOR0099FF;}
牛势:CHB3>0;
{选股公式二:红钻图标}
N:=27;
MA22:=MA(CLOSE,22);
顶线:=MA22 + 2*STD(CLOSE,22);
底线:=MA22 - 2*STD(CLOSE,22);
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORRED;
{DRAWICON(CROSS(BBI,MA22),BBI*0.99,25);}
红钻图标:CROSS(BBI,MA22);

{选股公式三:红三角图标}
N:=27;
MA22:=MA(CLOSE,22);
顶线:=MA22 + 2*STD(CLOSE,22);
底线:=MA22 - 2*STD(CLOSE,22);
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORRED;
MA5:=MA(CLOSE,5),COLOR0099FF;
{DRAWICON(CROSS(MA5,BBI),BBI*0.99,38);}
红三角图标:CROSS(MA5,BBI);


阿德莱德探路者 发表于 2023-9-16 21:47:22

很好的东东

画溪在哭泣颜 发表于 2023-9-24 22:41:29

帮顶!

忧国忧民1 发表于 2023-12-5 10:38:41

过来看看的

123458728 发表于 2024-2-24 08:38:32

谢谢,谢谢!找了很久了!

漠南孙策 发表于 2024-3-8 20:22:40

好东西,收了
页: [1]
查看完整版本: 牛势起涨进场 布林改编买入【指标公式】(含选股)