六六公式网

 找回密码
 立即注册
微信扫一扫 分享朋友圈

已有 3131 人浏览分享

开启左侧

盯盘系统自带指标公式【主图 副图 选股 预警 贴图 源码】

[复制链接]
3131 6
本帖最后由 小七哥 于 2017-11-12 13:55 编辑

下面为股票盯盘系统软件自带的指标公式,给需要的朋友备份一下,不需要的忽视!

第一楼:盯盘系统自带主图指标公式;
第二楼:盯盘系统自带副图指标公式;
第三楼:盯盘系统自带分时主图指标公式;
第四楼:盯盘系统自带分时副图指标公式;
第五楼:盯盘系统自带K选股公式和分时选股公式;
第六楼:盯盘系统自带预警公式和策略交易公式;

MA:
20171112113053.png

M5:MA(CLOSE,5);
M10:MA(CLOSE,10);
M20:MA(CLOSE,20);
M30:MA(CLOSE,30);
M60:MA(CLOSE,60);
================================================================
BOLL:
20171112113233.png

M:=20;
BOLL:MA(CLOSE,M);
UB:BOLL+2*STD(CLOSE,M);
LB:BOLL-2*STD(CLOSE,M);
================================================================
KAUFMAN:
20171112113236.png

DIR1:=ABS(CLOSE-REF(CLOSE,5));
VIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),5);
ER1:=DIR1/VIR1;
CS1:=ER1*(0.8-2/8)+2/8;
CQ1:=CS1*CS1;
AMA1:EMA(DMA(CLOSE,CQ1),2),COLORBROWN;
DIR2:=ABS(CLOSE-REF(CLOSE,10));
VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);
ER2:=DIR2/VIR2;
CS2:=ER2*(0.8-2/24)+2/24;
CQ2:=CS2*CS2;
AMA2:EMA(DMA(CLOSE,CQ2),2),COLORGREEN,LINETHICK2;
AMA3:IF(AMA2/REF(AMA2,1)>0.997,AMA2,DRAWNULL),COLORBLUE,LINETHICK2;
AMA4:IF(AMA2/REF(AMA2,1)>1.001,AMA2,DRAWNULL),COLORRED,LINETHICK2;

================================================================
PSAR:
20171112113438.png

VARSAR:=SAR(4,2,20);
IF(VARSAR>C,VARSAR,DRAWNULL),CIRCLEDOT,COLORBLUE;
IF(VARSAR<=C,VARSAR,DRAWNULL),CIRCLEDOT,COLORRED;

================================================================
MIRR:
20171112113333.png

KNUM:=70;
M5:MA(CLOSE,5);
M10:MA(CLOSE,10);
M20:MA(CLOSE,20);
M30:MA(CLOSE,30);
M60:MA(CLOSE,60);
MAINL:=CONST(LLV(L,KNUM));
MAINH:=CONST(HHV(H,KNUM));
SUBH:=MAINL*0.995;
SUBL:=MAINL-(MAINH-MAINL);
SUBH,COLORGRAY;
RC:=2*SUBH-C;
RH:=2*SUBH-H;
RO:=2*SUBH-O;
RL:=2*SUBH-L;
DRAWKLINE(RH,RO,RL,RC);
W5:MA(RC,5);
W10:MA(RC,10);
W20:MA(RC,20);
W30:MA(RC,30);
W60:MA(RC,60);

================================================================
ENE:
20171112113429.png

N:=5;
UPPER:MA(CLOSE,N)*1.1;
LOWER:MA(CLOSE,N)*0.9;
MID:(UPPER+LOWER)/2;

================================================================
BANDMA:
20171112113435.png

LENA:=MAX(HIGH-REF(LOW,1), REF(HIGH,1)-LOW);
LENB:=HIGH-LOW;
LENM:=MAX(LENA,LENB);
LEN:=MA(LENM,30)/4;
WC5:=WMA(CLOSE,5);
MCS:=MA(CLOSE,60);
PAINTBAND(EMA(WC5-LEN,10),MCS-LEN),COLORBBDDDD;
PAINTBAND(MCS+LEN,EMA(WC5+LEN,10)),COLORAABBBC;
DRAWKLINE(H,O,L,C);
M5:MA(CLOSE,5);
M10:MA(CLOSE,10);
M20:MA(CLOSE,20);
M30:MA(CLOSE,30);
M60:MCS;






举报 使用道具

回复

评论 6

黄三  资深股民  发表于 2018-8-23 17:18:14 | 显示全部楼层
谢谢楼主无私分享!

举报 使用道具

回复 支持 反对
赢在起跑线  版主  发表于 2017-11-12 13:40:53 | 显示全部楼层
本帖最后由 小七哥 于 2017-11-12 13:46 编辑

盯盘系统预警公式
============MA5X10============
M5:=MA(CLOSE,5);
M10:=MA(CLOSE,10);
CROSS(M5,M10);

============CCIX100============
N:=14;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,N))/(0.015*ADVDEV(TYP,N));
CROSS(CCI,100);
=========================================================

盯盘系统策略交易
============TRADESAR============

VARSAR:=SAR(4,2,20);
BUYIN:TRADETO(0,VARSAR);
SELLOUT:TRADETO(1,VARSAR);

============MACDTX============
SHORT:=12;
LONG:=26;
MID:=9;
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
SYSTRD(BUYIN,  CROSS(DIF,DEA));
SYSTRD(SELLOUT,  CROSS(DEA,DIF));




举报 使用道具

回复 支持 反对
赢在起跑线  版主  发表于 2017-11-12 13:40:30 | 显示全部楼层
本帖最后由 小七哥 于 2017-11-12 13:46 编辑

盯盘系统K选股公式
============成交堆量============
MCV:=MA(CLOSE,5);
VYD:=LLV(V,3)>REF(HHV(V,10),4)*3;
NEV:=(C-MCV)*100/MCV<1.2;
BEV:=HHV(V,10) > REF(HHV(V,50),12);
EXIST(VYD,12) AND NEV AND BEV AND NOT(COUNT(H=L AND C>REF(C,1)*1.097,20)>2);

============阳线多多============
MCV:=MA(CLOSE,5);
MCX:=MA(CLOSE,10);
COUNT(CLOSE>OPEN,12)>8 AND CLOSE<MCV AND CLOSE>MCX AND MCX>REF(MCX,1);
=================================================================================
分时选股公式
============分时悬浮============
PAL:=DITCOUNT;
P70:=DITCOUNT*0.7;
ONAVG:=DITCLOSE>DITAVG;
COUNT(ONAVG,PAL)>0.7*PAL AND COUNT(ONAVG,P70)>0.9*P70 AND EVERY(MA(DITCLOSE,40)>MA(DITCLOSE,5),30) AND DITCLOSE<DITLC*1.3;

举报 使用道具

回复 支持 反对
赢在起跑线  版主  发表于 2017-11-12 13:29:45 | 显示全部楼层
本帖最后由 小七哥 于 2017-11-12 13:39 编辑

盯盘系统分时副图

MACDL
20171112114225.png

Y1:0;
SHORT:=12;
LONG:=26;
MID:=9;
DIFV:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEAV:=EMA(DIFV,MID);
MACD:(DIFV-DEAV)*2,COLORSTICK;
DIF:DIFV;
DEA:DEAV;
================================================================

KDJL
20171112114227.png

Y1:50;
Y2:80;
Y3:20;
N:=9;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:3*K-2*D,COLORPURPLE;
================================================================

RSIL
20171112114229.png

Y1:50;
Y2:80;
Y3:20;
N1:=12;
N3:=48;
LC:=REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI3:SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100,COLORPURPLE;
================================================================

MAL
20171112114232.png

M5:MA(CLOSE,5);
M10:MA(CLOSE,10);
M60:MA(CLOSE,40);
DRAWICON(CROSS(M5,M60),C*0.992,1);
DRAWICON(CROSS(M60,M5),C*1.008,2);

举报 使用道具

回复 支持 反对
赢在起跑线  版主  发表于 2017-11-12 13:21:48 | 显示全部楼层
本帖最后由 小七哥 于 2017-11-12 13:28 编辑

盯盘系统分时主图
DITBC0
20171112113621.png

DLC:=REF(DITCLOSE,1);
IF(DITCLOSE>DLC,DITCLOSE,DRAWNULL),COLORRED;
IF(DITCLOSE<DLC,DITCLOSE,DRAWNULL),COLORBLACK;
================================================================

DITBCA
20171112113626.png

DLC:=REF(DITCLOSE,1);
DITSM:=DITCLOSE-DITAVG+DITLC;
PAINTBAND(DITSM,DITLC),COLOR992233;
PAINTBAND(DITLC,DITSM),COLOR339933;
IF(DITCLOSE>DLC,DITCLOSE,DRAWNULL),COLORRED;
IF(DITCLOSE<DLC,DITCLOSE,DRAWNULL),COLORBLACK;

举报 使用道具

回复 支持 反对
赢在起跑线  版主  发表于 2017-11-12 12:07:11 | 显示全部楼层
本帖最后由 小七哥 于 2017-11-12 13:19 编辑

盯盘系统自带副图指标公式:

VOLUME
20171112113144.png

VOLUME:VOL,VOLSTICK;
V5:MA(VOL,5);
V10:MA(VOL,10);
STICKLINE(PERIOD=5 AND CURRBARSCOUNT=1,VOLUME,KDAYVVOL,4,1),COLORGRAY;
================================================================

MACD
20171112113156.png

Y1:0;
SHORT:=12;
LONG:=26;
MID:=9;
DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:EMA(DIF,MID);
MACD:(DIF-DEA)*2,COLORSTICK;
================================================================

RSI
20171112113159.png

Y1:50;
Y2:80;
Y3:20;
N1:=6;
N2:=12;
N3:=24;
LC:=REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI2:SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
RSI3:SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100,COLORPURPLE;
================================================================

KDJ
20171112113459.png

Y1:50;
Y2:80;
Y3:20;
N:=9;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:3*K-2*D,COLORPURPLE;
================================================================

CCI
20171112113355.png

YAXISAC:100,COLOR333399;
YAXISA0:0,COLOR222222;
YAXISDC:-100,COLOR339933;
N:=14;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,N))/(0.015*ADVDEV(TYP,N));
================================================================

WR
20171112113525.png

Y1:50;
Y2:80;
Y3:20;
N:=10;
N1:=6;
WR1:100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N));
WR2:100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1));
================================================================

DMI
20171112113445.png

N:=14;
MM:=6;
MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N);
HD:=HIGH-REF(HIGH,1);
LD:=REF(LOW,1)-LOW;
DMP:=EXPMEMA(IF(HD>0 && HD>LD,HD,0),N);
DMM:=EXPMEMA(IF(LD>0 && LD>HD,LD,0),N);
PDI:DMP*100/MTR;
MDI:DMM*100/MTR;
ADX:EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,MM);
ADXR:EXPMEMA(ADX,MM);
================================================================

OBV
20171112113534.png

M:=30;
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MAOBV:MA(OBV,M);
================================================================

SST
20171112113542.png

LC:=REF(CLOSE,1);
MCV:=MA(CLOSE,5);
MCX:=MA(CLOSE,10);
MCN:=MA(CLOSE,20);
MCM:=MA(CLOSE,30);
MTR:=MAX(MAX((HIGH-LOW),ABS(LC-HIGH)),ABS(LC-LOW))/MCN;
KTR:=ABS(OPEN-CLOSE)*100/CLOSE;
CMIN:=MIN(MIN(MCV,MCX),MIN(MCN,MCM));
CMAX:=MAX(MAX(MCV,MCX),MAX(MCN,MCM));
STGR:=CLOSE>OPEN AND (CLOSE-CMAX)*100/CMAX >1.8;
STFL:=CLOSE>CMAX AND OPEN >CMAX; STTR:=CLOSE>CMAX AND (CLOSE-OPEN)*100/OPEN > 2;
BEST:=STGR OR STFL OR STTR;
CAIS:=(CMAX-CMIN)*100/CMIN;
CAI:SMA(CAIS,3,1);                              
XCD:IF(CAI<4,(CAI-3),DRAWNULL),COLORLIBLUE,STICK;
XCW:IF(CAI<4,CAI,DRAWNULL),COLORYELLOW,LINETHICK2;
XCM:IF(CAI<3,CAI,DRAWNULL),COLORRED,LINETHICK2;   
RUN:IF(CAI<3 AND BEST, CAI, DRAWNULL),CIRCLEDOT,COLORRED;  
KAI:MA(MTR*100,5), COLORLIBLUE;
KH:=MAX(CLOSE,OPEN); TCV:=IF(CLOSE>MCV,1,0);
TCX:=IF(CLOSE>MCX,1,0);
TCN:=IF(CLOSE>MCN,1,0);
TCS:=IF(CLOSE>MCM,1,0);
LPV:=IF(REF(KH,1)<REF(MCV,1),1,0);
LPX:=IF(REF(KH,1)<REF(MCX,1),1,0);
LPN:=IF(REF(KH,1)<REF(MCN,1),1,0);
LPS:=IF(REF(KH,1)<REF(MCM,1),1,0);
PPV:=IF(REF(KH,2)<REF(MCV,2),1,0);
PPX:=IF(REF(KH,2)<REF(MCX,2),1,0);
PPN:=IF(REF(KH,2)<REF(MCN,2),1,0);
PPS:=IF(REF(KH,2)<REF(MCM,2),1,0);
TCC:=TCV+TCX+TCN+TCS;
LPC:=LPV+LPX+LPN+LPS;
PCC:=PPV+PPX+PPN+PPS;
ROCKET:DRAWICON(TCC>2 AND (LPC>2 OR PCC>2), 5, 1);





举报 使用道具

回复 支持 反对

0

关注

2

粉丝

690

主题
随机推荐
热门指标
精品推送
精品指标

QQ|Archiver|小黑屋|六六公式网

GMT+8, 2024-11-24 03:48 , Processed in 0.186160 second(s), 33 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.