牛叉的布林主图公式(主图,源码,有图)介绍
牛叉的布林主图公式(主图,源码,有图)
亲爱的童鞋们,我又来奉献了,先废话一番,做为一个股市小湿,我已经习惯了赔钱;目前的市场不知多少股市大湿被扒掉了底裤,我等小湿围观一看,原来大湿也割的木有小鸡鸡喽。虽然市场很坑爹,本小湿愿与理想众小湿共勉,争取通过不断的学习进取找到通向财务自由之路。
下面是一个布林主图公式源码,首先声明,我全是取之于理想,木有原创,源代码归原作者所有,我只是修改组合而已;“特准抄底“与”红柱抄底“源自于陆绍春老师,移动止损线的原创是谁,不好意思,忘记了,反正是理想的 向原创者致谢 那个KD金叉算我的吧,你们去掉也行,没多大用。说说“特准抄底“与”红柱抄底“的用法心得,抄底本身就是个逆势操作,利用的是股价短时间快速下跌,导致乖离率过大,以至于股价自身内在就具有自我修复的弹性需求,讲究的就是短平快,当天收盘前买入,第二天股价重心必须上扬,收阴收阳不要紧,如果第二天股价重心下移,你还傻傻的等,那就抄死了,与指标发出的指示无关,又贪心又软舍不得下刀割鸡鸡,套死那叫一个:”该“!!二者同时发出信号较准,前几天我用它成功捕获000158的涨停板;但注意,信号发出后买不买还要结合其他知识经验判断,一味迷信指标,第二幅图000979就是抄底抄死的悲剧。 ,好了废话不多说,放码,贴图。最后一句:鄙视只知索取不知回报的人;看帖不回帖我祝它股市赔光光,割得木有小鸡鸡。另外,请看着爽的股友赏点理想币。(理想众小湿:滚你个臭鸭蛋的,废话多!!)
P:=9;
MA6:MA(C,6);
MID中轨:MA(CLOSE,20),COLORFF00FF,LINETHICK2;
UPPER上轨:MID中轨 + 2*STD(CLOSE,20),COLORWHITE,LINETHICK1;
LOWER下轨:MID中轨 - 2*STD(CLOSE,20),COLORGREEN,LINETHICK1;
WH1:=IF(L=LLV(L,P),L,DRAWNULL);
WH2:=CONST(BARSLAST(WH1!=DRAWNULL));
WH3:=CONST(IF(WH2=0,H,REF(H,WH2)));
WH4:=CONST(REF(BARSLAST(H>WH3),WH2+1)+WH2+1);
WH5:=CONST(IF(WH4=0,H,REF(H,WH4)));
WH6:=CONST(REF(BARSLAST(H>WH5),WH4+1)+WH4+1);
WH7:IF(CURRBARSCOUNT<=WH2+10,CONST(IF(WH6=0,H,REF(H,WH6))),DRAWNULL);
STICKLINE(CURRBARSCOUNT<=WH2+1 AND L=LLV(L,P),O,C,3,0),COLORRED;
DRAWTEXT(CURRBARSCOUNT=WH2+10,WH7,'LINE'),COLORRED;
DRAWTEXT(ISLASTBAR,WH7,'进场线'),COLORRED;
WH8:IF(CURRBARSCOUNT<=WH2+1,IF(L=LLV(L,P),L,DRAWNULL),DRAWNULL),CIRCLEDOT;
H1:=IF(H=HHV(H,P),H,DRAWNULL);
H2:=CONST(BARSLAST(H1!=DRAWNULL));
H3:=CONST(IF(H2=0,L,REF(L,H2)));
H4:=CONST(REF(BARSLAST(L<H3),H2+1)+H2+1);
H5:=CONST(IF(H4=0,L,REF(L,H4)));
H6:=CONST(REF(BARSLAST(L<H5),H4+1)+H4+1);
H7:IF(CURRBARSCOUNT<=H2+10,CONST(IF(H6=0,L,REF(L,H6))),DRAWNULL);
H8:IF(CURRBARSCOUNT<=H2+1,IF(H=HHV(H,P),H,DRAWNULL),DRAWNULL),CIRCLEDOT;
DRAWTEXT(CURRBARSCOUNT=H2+10,H7,'LINE'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,H7,'移动止损线'),COLORYELLOW;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
DRAWTEXT(CROSS(C,MID中轨) AND CROSS(K,D),L,'↖KD金叉');
VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100;
DRAWTEXT(FILTER(REF(VAR2,1)<20 AND VAR2>REF(VAR2,1),5),L*0.99,'↖特准抄底'),COLORGREEN;
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离:=MA(BIAS,3);
DRAWTEXT(CROSS(BIAS,乖离) AND 乖离<-9.5,L*0.96,'↖红柱抄底'),COLORRED;
gd16047