通达信六剑操盘

GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
A:=GJTJ1=GJTJ2 AND GJTJ2=GJTJ3 AND GJTJ1=100 AND GJTJ4>96;
B:=COUNT(A,2)=1;
D1:=GJTJ1<GJTJ2 AND GJTJ1<GJTJ3 AND GJTJ1<GJTJ4 AND GJTJ2<GJTJ3 AND GJTJ4<95;
YH:=INDEXC/REF(INDEXC,1)*REF(C,1);
YH1:=REF(C,1)+C-INDEXC/REF(INDEXC,1)*REF(C,1);
X1:=EMA(YH1,7);
X2:=EMA(YH1,14);
X3:=EMA(X1,14);
E:=X1>X2 AND X2>X3;
竟星:=B AND D1 AND E;
DRAWTEXT(竟星,(L * 0.95),'竟星'),COLORLIMAGENTA;
XG:=BARSLAST(CROSS(GJTJ4,GJTJ1))<5 AND GJTJ1>GJTJ4;
天瀑:=COUNT(XG,3)=1 AND XG;
DRAWTEXT(天瀑,(L * 0.95),'天瀑'),COLORCYAN;
A1:=BARSLAST(CROSS(30,GJTJ1))<2 AND BARSLAST(CROSS(GJTJ1,50))<2;
B1:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4;
E1:=GJTJ1>60 AND GJTJ4>70;
白金:=A1 AND B1 AND E1;
DRAWTEXT(白金,(L * 0.95),'白金'),COLORWHITE;
A2:=BARSLAST(CROSS(97,GJTJ1))<=1 AND BARSLAST(CROSS(GJTJ1,85))<=1;
B2:=BARSLAST(CROSS(97,GJTJ2))<=1 AND BARSLAST(CROSS(GJTJ2,85))<=1;
A3:=A2 AND B2;
AA:=BARSLAST(CROSS(97,GJTJ1))<=2 AND BARSLAST(CROSS(GJTJ1,85))<=1;
BA:=BARSLAST(CROSS(97,GJTJ2))<=2 AND BARSLAST(CROSS(GJTJ2,85))<=1;
A4:=AA AND BA ;
AAA:=BARSLAST(CROSS(97,GJTJ1))<=3 AND BARSLAST(CROSS(GJTJ1,85))<=1;
BAA:=BARSLAST(CROSS(97,GJTJ2))<=3 AND BARSLAST(CROSS(GJTJ2,85))<=1;
A8:=AAA AND BAA ;
B21:=REF(A3,1);
B3:=REF(A4,1);
B4:=REF(A8,1);
D2:=GJTJ1=100 AND GJTJ2=100 AND A3 ;
D3:=GJTJ1=100 AND GJTJ2=100 AND A4 ;
D4:=GJTJ1=100 AND GJTJ2=100 AND A8 ;
日月:=D2 OR D3 OR D3;
DRAWTEXT(日月,(L * 0.95),'日月'),COLORLIGRAY;
A5:=BARSLAST(CROSS(95,GJTJ1))<=2;
B5:=BARSLAST(CROSS(95,GJTJ2))<=2;
E5:= GJTJ4<GJTJ1 AND GJTJ1<GJTJ2 AND GJTJ1<GJTJ3;
F1:=GJTJ2>50 AND GJTJ3>50;
G1:=GJTJ1=100 AND GJTJ2=100;
TX:=COUNT(G1,2)=1;
青干:=A5 AND B5 AND E5 AND F1 AND TX;
DRAWTEXT(青干,(L * 0.95),'青干'),COLORGREEN;
A6:=GJTJ3=100;
B6:=GJTJ4<90;
莫问:=COUNT(A6,2) = 2 AND B6;
DRAWTEXT(莫问,(L * 0.95),'莫问'),COLORBLUE;
A7:=BARSLAST(CROSS(50,GJTJ1))<3 AND BARSLAST(CROSS(GJTJ1,50))<3;
B7:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4;
黄金:=A7 AND B7;
DRAWTEXT(黄金,(L * 0.95),'黄金'),COLORYELLOW;
A9:=BARSLAST(CROSS(GJTJ4,GJTJ1))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3;
B9:=BARSLAST(CROSS(GJTJ4,GJTJ2));
D9:=GJTJ3<GJTJ4 AND GJTJ2<GJTJ4;
E9:=BARSLAST(CROSS(GJTJ4,GJTJ3))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3;
F9:=GJTJ2<GJTJ3 AND GJTJ2<GJTJ4 AND GJTJ2<GJTJ1 AND GJTJ1=100;
B91:=A9>0 AND REF(A9,1)=0 AND REF(A9,2)>0;
舍神:=A9 AND B9 AND D9 AND E9 AND F9;
DRAWTEXT(舍神,(L * 0.95),'舍神'),COLORRED;
三:EMA(MA(C,8),3),COLORGREEN;
五: EMA(MA(C,21),5),COLORYELLOW;
八:EMA(MA(C,34),8),COLORLIMAGENTA;
十三:EMA(MA(C,55),13),COLORWHITE;
上:= 五+ 2*STD(CLOSE,20);
下:= 五- 2*STD(CLOSE,20);
压力:EMA(上,3),COLORRED,LINETHICK2;
支撑:EMA(下,3),COLORGREEN,LINETHICK2;
 



来函数检测结果如下:
该公式没有未来函数


解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

GJTJ1赋值:100*(C-5日内L最低值)/(5日内C最高值-5日内L最低值)

GJTJ2赋值:100*(C-10日内L最低值)/(10日内C最高值-10日内L最低值)

GJTJ3赋值:100*(C-20日内L最低值)/(20日内C最高值-20日内L最低值)

GJTJ4赋值:100*(C-30日内L最低值)/(30日内C最高值-30日内L最低值)

A赋值:GJTJ1=GJTJ2 AND GJTJ2=GJTJ3 AND GJTJ1=100 AND GJTJ4>96

B赋值:统计2日满足A的天数=1

D1赋值:GJTJ1
YH赋值:INDEXC/1日前的INDEXC*1日前的C

YH1:=1日前的C+C-INDEXC/1日前的INDEXC*1日前的C

X1赋值:YH1的7日指数移动平均

X2赋值:YH1的14日指数移动平均

X3赋值:X1的14日指数移动平均

E赋值:X1>X2 AND X2>X3

竟星赋值:B AND D1 AND E

DRAWTEXT(竟星,(L * 0.95),'竟星'),COLORLIMAGENTA

XG赋值:上次GJTJ4上穿GJTJ1距今天数<5 AND GJTJ1>GJTJ4

天瀑赋值:统计3日满足XG的天数=1 AND XG

DRAWTEXT(天瀑,(L * 0.95),'天瀑'),画青色

A1:=上次30上穿GJTJ1距今天数<2 AND BARSLAST(GJTJ1上穿50)<2

B1:=上次GJTJ4上穿GJTJ1距今天数<2 AND GJTJ1>GJTJ4

E1:=GJTJ1>60 AND GJTJ4>70

白金赋值:A1 AND B1 AND E1

DRAWTEXT(白金,(L * 0.95),'白金'),画白色

A2:=上次97上穿GJTJ1距今天数<=1 AND BARSLAST(GJTJ1上穿85)<=1

B2:=上次97上穿GJTJ2距今天数<=1 AND BARSLAST(GJTJ2上穿85)<=1

A3:=A2 AND B2

AA:=上次97上穿GJTJ1距今天数<=2 AND BARSLAST(GJTJ1上穿85)<=1

BA:=上次97上穿GJTJ2距今天数<=2 AND BARSLAST(GJTJ2上穿85)<=1

A4:=AA AND BA

AAA:=上次97上穿GJTJ1距今天数<=3 AND BARSLAST(GJTJ1上穿85)<=1

BAA:=上次97上穿GJTJ2距今天数<=3 AND BARSLAST(GJTJ2上穿85)<=1

A8:=AAA AND BAA

B21:=1日前的A3

B3:=1日前的A4

B4:=1日前的A8

D2赋值:GJTJ1=100 AND GJTJ2=100 AND A3

D3赋值:GJTJ1=100 AND GJTJ2=100 AND A4

D4赋值:GJTJ1=100 AND GJTJ2=100 AND A8

日月赋值:D2 OR D3 OR D3

DRAWTEXT(日月,(L * 0.95),'日月'),COLORLIGRAY

A5:=上次95上穿GJTJ1距今天数<=2

B5:=上次95上穿GJTJ2距今天数<=2

E5:= GJTJ4
F1赋值:GJTJ2>50 AND GJTJ3>50

G1赋值:GJTJ1=100 AND GJTJ2=100

TX赋值:统计2日满足G1的天数=1

青干赋值:A5 AND B5 AND E5 AND F1 AND TX

DRAWTEXT(青干,(L * 0.95),'青干'),画绿色

A6:=GJTJ3=100

B6:=GJTJ4<90

莫问赋值:统计2日满足A6的天数 = 2 AND B6

DRAWTEXT(莫问,(L * 0.95),'莫问'), 画蓝色

A7:=上次50上穿GJTJ1距今天数<3 AND BARSLAST(GJTJ1上穿50)<3

B7:=上次GJTJ4上穿GJTJ1距今天数<2 AND GJTJ1>GJTJ4

黄金赋值:A7 AND B7

DRAWTEXT(黄金,(L * 0.95),'黄金'),画黄色

A9:=上次GJTJ4上穿GJTJ1距今天数>3 AND BARSLAST(GJTJ1上穿GJTJ4)<3

B9:=上次GJTJ4上穿GJTJ2距今天数

D9赋值:GJTJ3
E9:=上次GJTJ4上穿GJTJ3距今天数>3 AND BARSLAST(GJTJ1上穿GJTJ4)<3

F9赋值:GJTJ2
B91:=A9>0 AND 1日前的A9=0 AND 2日前的A9>0

舍神赋值:A9 AND B9 AND D9 AND E9 AND F9

DRAWTEXT(舍神,(L * 0.95),'舍神'),画红色
输出
三:EC的8日简单移动平均,3),画绿色
输出
五: EC的21日简单移动平均,5),画黄色
输出
八:EC的34日简单移动平均,8),COLORLIMAGENTA
输出
十三:EC的55日简单移动平均,13),画白色

上赋值: 五+ 2*收盘价的20估算标准差

下赋值: 五- 2*收盘价的20估算标准差
输出
压力:上的3日指数移动平均,画红色, 线宽为2
输出
支撑:下的3日指数移动平均,画绿色, 线宽为2

 

指标安装下载帮助  |   联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:指标公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图