当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:渤海智能操盘(通达信公式 主图 源码 测试图)
软件名称:[B]渤海智能操盘(通达信公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2022-06-24 00:15:30
软件简介:
渤海智能操盘
【全周期】【主图】
渤海商品专用指标
日线
HH:=HHV(HIGH,10);
LL:=LLV(LOW,10);
HH1:=BARSLAST((HH > REF(HH,1)));
LL1:=BARSLAST((LL < REF(LL,1)));
Y:=(H+L)/2;
BLUE:=SMA(Y,13,1);
RED:=SMA(Y,2.5,1);
GREEN:=SMA(Y,5,1);
B2:=REF(BLUE,8);
R2:=REF(RED,5);
G2:=REF(GREEN,3);
KU1:=IFF(H==HHV(H,3) AND H>RED,1,0);
KD1:=IFF(L==LLV(L,3) AND L<RED,1,0);
UL:=IFF(REF(KU1,2)==1 AND REF(KU1,1)==0 AND KU1==0,REF(H,2),REF(H,2+BARSLAST(REF(KU1,2)==1 AND REF(KU1,1)==0 AND KU1==0)));
DL:=IFF(REF(KD1,2)==1 AND REF(KD1,1)==0 AND KD1==0,REF(L,2),REF(L,2+BARSLAST(REF(KD1,2)==1 AND REF(KD1,1)==0 AND KD1==0)));
蓝:=SMA(Y,13,1),COLORBLUE;
红:=SMA(Y,2.5,1),COLORRED;
绿:=SMA(Y,5,1),COLORGREEN;
上碎:=IFF(H>=R2,UL,REF(UL,BARSLAST(H>R2)));
下碎:=IFF(L<=R2,DL,REF(DL,BARSLAST(L<=R2)));
做多平空:=C>上碎 AND C>O;
做空平多:=C<下碎 AND C<O;
做多平空B:=TFILTER(做多平空,做空平多,1);
做空平多B:=TFILTER(做空平多,做多平空,1);
信号:=做多平空B OR 做空平多B;
开多:=((HH1 <= LL1) AND (REF(HH1,1) >= REF(LL1,1)) AND BARSLAST(信号)==BARSLAST(做多平空B) AND BARSLAST(做多平空B)>=1) OR (做多平空B AND HH1 <= LL1 AND REF(HH1,1) <= REF(LL1,1));
开空:=((HH1 >= LL1) AND (REF(HH1,1) <= REF(LL1,1)) AND BARSLAST(信号)==BARSLAST(做空平多B) AND BARSLAST(做空平多B)>=1) OR (做空平多B AND HH1 >= LL1 AND REF(HH1,1) >= REF(LL1,1));
平多:=((HH1 >= LL1) AND (REF(HH1,1) <= REF(LL1,1)) AND BARSLAST(信号)==BARSLAST(做多平空B) AND BARSLAST(做多平空B)>=1) OR (做空平多B AND HH1 <= LL1 AND REF(HH1,1) <= REF(LL1,1));
平空:=((HH1 <= LL1) AND (REF(HH1,1) >= REF(LL1,1)) AND BARSLAST(信号)==BARSLAST(做空平多B) AND BARSLAST(做空平多B)>=1) OR (做多平空B AND HH1 >= LL1 AND REF(HH1,1) >= REF(LL1,1));
开多平空:=(HH1 <= LL1) AND REF(HH1,1) >= REF(LL1,1) AND 做多平空B;
开空平多:=(HH1 >= LL1) AND REF(HH1,1) <= REF(LL1,1) AND 做空平多B;
总信号:= 开多 OR 开空 OR 平多 OR 平空 OR 开多平空 OR 开空平多 ;
UP_Z:=(C>O);
UP_P:=(C==O);
UP_D:=(C<O);
UP_A:=BARSLAST(总信号)==BARSLAST(开多平空) OR BARSLAST(总信号)==BARSLAST(开多);
STICKLINE(UP_A AND UP_Z,CLOSE,OPEN,2.5,1),COLORRED;
STICKLINE(UP_A AND UP_P,CLOSE,OPEN,2.5,0),COLORRED;
STICKLINE(UP_A AND UP_D,CLOSE,OPEN,2.5,0),COLORRED;
UP_B:=BARSLAST(总信号)==BARSLAST(开空平多) OR BARSLAST(总信号)==BARSLAST(开空);
STICKLINE(UP_B AND UP_Z,CLOSE,OPEN,2.5,1),COLORCYAN;
STICKLINE(UP_B AND UP_P,CLOSE,OPEN,2.5,0),COLORCYAN;
STICKLINE(UP_B AND UP_D,CLOSE,OPEN,2.5,0),COLORCYAN;
UP_C:=BARSLAST(总信号)==BARSLAST(平多) OR BARSLAST(总信号)==BARSLAST(平空);
STICKLINE(UP_C AND UP_Z,CLOSE,OPEN,2.5,1),COLORYELLOW;
STICKLINE(UP_C AND UP_P,CLOSE,OPEN,2.5,0),COLORYELLOW;
STICKLINE(UP_C AND UP_D,CLOSE,OPEN,2.5,0),COLORYELLOW;
UP_DD:=BARSLAST(总信号)==BARSLAST(开多平空) OR BARSLAST(总信号)==BARSLAST(开多);
STICKLINE(UP_DD AND UP_Z,L,O,0,0),COLORRED;
STICKLINE(UP_DD AND UP_Z,H,C,0,0),COLORRED;
STICKLINE(UP_DD AND UP_P,L,H,0,0),COLORRED;
STICKLINE(UP_DD AND UP_D,L,H,0,0),COLORRED;
UP_E:=BARSLAST(总信号)==BARSLAST(开空平多) OR BARSLAST(总信号)==BARSLAST(开空);
STICKLINE(UP_E AND UP_Z,L,O,0,0),COLORCYAN;
STICKLINE(UP_E AND UP_Z,C,H,0,0),COLORCYAN;
STICKLINE(UP_E AND UP_P,L,H,0,0),COLORCYAN;
STICKLINE(UP_E AND UP_D,L,H,0,0),COLORCYAN;
UP_F:=BARSLAST(总信号)==BARSLAST(平多) OR BARSLAST(总信号)==BARSLAST(平空);
STICKLINE(UP_F AND UP_Z,L,O,0,0),COLORYELLOW;
STICKLINE(UP_F AND UP_Z,C,H,0,0),COLORYELLOW;
STICKLINE(UP_F AND UP_P,L,H,0,0),COLORYELLOW;
STICKLINE(UP_F AND UP_D,L,H,0,0),COLORYELLOW;
多头市:IFF(UP_A OR UP_DD,100,DRAWNULL),NODRAW,COLORRED;
震荡市:IFF(UP_C OR UP_F,100,DRAWNULL),NODRAW,COLORYELLOW;
空头市:IFF(UP_B OR UP_E,100,DRAWNULL),NODRAW,COLORCYAN;
多单止盈:IFF(BARSLAST(总信号)==BARSLAST(开多平空) OR BARSLAST(总信号)==BARSLAST(开多),LL,DRAWNULL),COLORRED;
空单止盈:IFF(BARSLAST(总信号)==BARSLAST(开空平多) OR BARSLAST(总信号)==BARSLAST(开空),HH,DRAWNULL),COLORCYAN;
[url=http://www.70822.com/soft/sort013/sort05/down-162984.html]渤海智能操盘(通达信公式 主图 源码 测试图)[/url]