当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:BS双BOLL买卖(同花顺公式 主图 源码 测试图)
软件名称:[B]BS双BOLL买卖(同花顺公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2021-02-09 00:10:29
软件简介:
//评台线2:HHV(CLOSE,160)*0.93,colorred,LINETHICK5;
//评台线:HHV(CLOSE,176),,DOTLINE,coloryellow,LINETHICK1;
N:=22;
P:=2;
MID : MA(CLOSE,N),linethick2;
UPPER: MID + P*STD(CLOSE,N),linethick2;
LOWER: MID - P*STD(CLOSE,N),linethick2;
连根拔起:=ZIG(3,15);
卖线:=MA(连根拔起,2);
BU:=CROSS(连根拔起,卖线);
SEL:=CROSS(卖线,连根拔起);
DRAWTEXT(bu,L*0.99,'买'),linethick1,color00aaff;
DRAWTEXT(sel,H*1.01,'卖'),linethick1,color00ff00;
DRAWTEXT(CROSS(ZIG(3,70/4),REF(ZIG(3,70/4),1)),LOW*0.8,'主力进场') ,LINETHICK2,colormagenta;
MA2:=EMA(C,2);
MA5:EMA(C,5);
MA10:EMA(C,10);
MA30:EMA(C,30);
MA60:EMA(C,60);
YCX:=MA5>=REF(MA5,1);
H1:=MAX(MAX(MA5,MA10),MA30);
L1:=MIN(MIN(MA5,MA10),MA30);
一阳穿三线:= H1<C AND O<L1 AND YCX AND MA2>REF(MA2,1);
STICKLINE(一阳穿三线,O,C,15,2),coloryellow;
DRAWTEXT(一阳穿三线,L*0.82, '穿3线'),colorgreen;
V1:=(MA(CLOSE,4)+MA(CLOSE,8)+MA(CLOSE,13)+MA(CLOSE,29))/4;
V2:=REF(V1,1)<REF(V1,2) AND V1>REF(V1,1);
V3:=C>V1 AND O<V1;
V4:=(V1-O)/O>0.01 AND (C-V1)/(V1-O)>0.5;
小反弹:=V2 AND V3 AND V4,coloryellow;
DRAWTEXT(小反弹,L*0.89,'1穿三线'),coloryellow;
//DRAWTEXT_FIX(1,0.00,0,0,HYBLOCK)COLOR0080FF;
//DRAWTEXT_FIX(1,0.14,0,0,DYBLOCK)COLOR00FFFF;
箱底:=TROUGH(CLOSE,10,1)*1.02,COLOR008888,LINETHICK2;
价低箱底:=COUNT(L<箱底,3);
底箱:=TROUGH(CLOSE,10,1)*1.05,COLOR008888,LINETHICK1;
DRAWTEXT(价低箱底>=1 AND 箱底<MA30 AND CROSS(C,底箱),L*0.99,'杀入'),COLOR00CCCC;
DRAWTEXT(MA30>MA60 AND 价低箱底>=1 AND 箱底<MA30 AND CROSS(C,底箱),L*0.99,'杀入加强'),COLOR00CCCC;
金柱选股:=价低箱底>=1 AND 箱底<MA30 AND CROSS(C,底箱),COLOR00AAAA,NODRAW;
STICKLINE(金柱选股,OPEN,CLOSE,3.5,0),COLOR008888;
STICKLINE(金柱选股,OPEN,CLOSE,1.6,0),COLOR00AAAA;
STICKLINE(金柱选股,OPEN,CLOSE,0.8,0),COLOR00CCCC;
STICKLINE(金柱选股,OPEN,CLOSE,0.2,0),COLOR00FFFF;
DRAWTEXT(bu,L*0.99,'买'),linethick1,color00aaff;
DRAWTEXT(sel,H*1.01,'卖'),linethick1,color00ff00;
//STICKLINE(连根拔起>=卖线,LOW,HIGH,0.1,0),color0000CC;
//STICKLINE(连根拔起>=卖线,CLOSE,OPEN,7,0),color0000CC;
STICKLINE(连根拔起<卖线,CLOSE,OPEN,7,0),colorCCCC00;
STICKLINE(连根拔起<卖线,LOW,HIGH,0.1,0),colorCCCC00;
STICKLINE(CROSS(连根拔起,卖线),OPEN,CLOSE,7,0),color00AAFF;
STICKLINE(CROSS(卖线,连根拔起),OPEN,CLOSE,7,0),color00DD00;
BUYG:ZIG(3,70/8);
SEL:=MA(BUYG,2);
STICKLINE(BUYG>SEL AND O>=C,C,O,-1,0),colorred;
STICKLINE(BUYG>SEL AND O>=C,L,H,0,0),colorred;
STICKLINE(BUYG<SEL AND O<=C,O,C,-1,1),colorcyan;
STICKLINE(BUYG<SEL AND O<=C,O,L,0,1),colorcyan;
STICKLINE(BUYG<SEL AND O<=C,C,H,0,1),colorcyan;
DRAWTEXT(CROSS(ZIG(3,11),REF(ZIG(3,11),1)),LOW*0.98,'短买') , colormagenta;
DRAWTEXT(CROSS(REF(ZIG(3,7),1),ZIG(3,7)),HIGH*1.02,'短卖'),colorblue;
VARC:=(ZIG(3,6)>REF(ZIG(3,6),1)) AND (REF(ZIG(3,6),1)<=REF(ZIG(3,6),2)) AND
(REF(ZIG(3,6),2)<=REF(ZIG(3,6),3));
VARD:=(ZIG(3,4)<REF(ZIG(3,4),1)) AND (REF(ZIG(3,4),1)>=REF(ZIG(3,4),2)) AND
(REF(ZIG(3,4),2)>=REF(ZIG(3,4),3));
DRAWTEXT((VARD=1),H*0.99,'卖半'),COLOR00FF00;
DRAWTEXT((VARC=1),L*0.98,'短'),colormagenta;
BL:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;
DRAWTEXT(FILTER(BL,3),H+0.25,'倍'),coloryellow;
STICKLINE(FILTER(BL,3),OPEN,CLOSE,1.5,0),coloryellow;
XG5:=SUMBARS(FILTER(BL,3),1);
STICKLINE(XG5,REF(C,XG5-1),REF(C,XG5-1),10,0),coloryellow;
X12:=(C+L+H)/3;
BB13:=ATAN(EMA(X12,13)-REF(EMA(X12,13),1))*3.1416*10;
EMA8:=EMA(C,7);DRAWTEXT(FILTER(BB13>1 AND EMA(X12,13)>REF(EMA(X12,7),1),10),
EMA8,'∠45上升'),LINETHICK2,colorcyan;
MA30:MA(C,30),colorred,LINETHICK0;
KS:IF(MA10>MA30,MA10,MA30),colorblue,LINETHICK0;
AA3:=(C-LLV(L,11))/(HHV(H,11)-LLV(L,11))*100;
AA4:=SMA(AA3,3,1);
AA5:=SMA(AA4,2,1);
AA6:=3*AA4-2*AA5;
AA7:=C-REF(C,1);
AA8:=100*EMA(EMA(AA7,6),6)/EMA(EMA(ABS(AA7),6),6);
买:=LLV(AA8,2)=LLV(AA8,7) AND COUNT(AA8<0,2) AND CROSS(AA8,MA(AA8,2));
DRAWTEXT(FILTER(买=1,4),LOW-0.05,'跟庄'),coloryellow;
STICKLINE(买,OPEN,CLOSE,2,0),coloryellow;
[url=http://www.70822.com/soft/sort013/sort036/down-154047.html]BS双BOLL买卖(同花顺公式 主图 源码 测试图)[/url]