您的位置:股票站 > 查股公式 > 主图,操盘,战略家,通达信湖北卫视猛吹的战略家的操盘优化组合指标公式[查股公式]
股票行情消息数据:

主图,操盘,战略家,通达信湖北卫视猛吹的战略家的操盘优化组合指标公式[查股公式]

2022/6/13 15:03:35

N:=IF(BARSCOUNT(C)>=10,10,BARSCOUNT(C));
 STICKLINE(C>=MA(C,N),MA(C,N),REF(MA(C,N),1),5,0),COLORYELLOW;
 STICKLINE(C<MA(C,N),MA(C,N),REF(MA(C,N),1),5,0),COLORBLUE;
 DRAWTEXT(C>=MA(C,N) AND CURRBARSCOUNT=1 AND PERIOD=5,MA(C,N),' 黄色持股 (短线)'),COLORYELLOW;
 DRAWTEXT(C<MA(C,N) AND CURRBARSCOUNT=1 AND PERIOD=5,MA(C,N),' 蓝色持币 (短线)'),COLORFF9933;
 M:=IF(BARSCOUNT(C)>=45,45,BARSCOUNT(C));
 STICKLINE(C>=MA(C,M),MA(C,M),REF(MA(C,M),1),5,0),COLORYELLOW;
 STICKLINE(C<MA(C,M),MA(C,M),REF(MA(C,M),1),5,0),COLORBLUE;

 DRAWTEXT(C>=MA(C,M) AND CURRBARSCOUNT=1 AND PERIOD=5,MA(C,M),' 黄色持股 (中线)'),COLORYELLOW;

 DRAWTEXT(C<MA(C,M) AND CURRBARSCOUNT=1 AND PERIOD=5,MA(C,M),' 蓝色持币 (中线)'),COLORFF9933;
 DRAWKLINE(H,O,L,C);
 MA5:MA(C,5),COLORMAGENTA;
 MA10:MA(C,N),COLORLIRED;
 MA25:MA(C,25),LINETHICK2,COLORRED;
 MA45:MA(C,M),COLORGREEN;
 MA120:MA(C,120),COLORBROWN;

另外,它的副图公式只偏重于短线操盘,我把慢速KD也组合进去后,也就兼顾了中线操盘。(慢速KD和MACD其实差不多,都是中线指标),
 下面是组合后的副图公式,个人觉得比原版好用:
Z:=MA(C,120);
 VAR3:=(MA(C,5)-Z)/Z;
 VAR4:=MA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,3);
波段进场:IF(CLOSE>Z AND REF(VAR4,1)<30 AND VAR4>REF(VAR4,1) AND REF(VAR4,1)<REF(VAR4,2),80,50);
反弹进场:IF(REF(VAR4,1)<5 AND VAR4>REF(VAR4,1) AND REF(VAR4,1)<REF(VAR4,2) AND VAR3<-0.3,80,50);
超跌进场:IF(CROSS(VAR4,5) AND VAR3<-0.4,80,50); STICKLINE(C>=MA(C,10),VAR4,REF(VAR4,1),4,0),COLORRED; STICKLINE(C<MA(C,10),VAR4,REF(VAR4,1),4,0),COLORGREEN;
 RSV:= (CLOSE-LLV(LOW,50))/(HHV(HIGH,50)-LLV(LOW,50))*100;
 FASTK:=SMA(RSV,3,1);
 SK:SMA(FASTK,3,1),LINETHICK2,COLORYELLOW;
 SD:SMA(SK,5,1),LINETHICK2,COLORMAGENTA;
 MAKD:=(SK-SD)*2;
 STICKLINE(MAKD>0 AND REF(MAKD,1)<MAKD,50,MAKD+50,0,0),COLORRED;
 STICKLINE(MAKD>0 AND REF(MAKD,1)>MAKD,50,MAKD+50,0,0),COLORLIRED;
 STICKLINE(MAKD<0 AND REF(MAKD,1)>MAKD,50,MAKD+50,0,0),COLORLICYAN;
 STICKLINE(MAKD<0 AND REF(MAKD,1)<MAKD,50,MAKD+50,0,0),COLORLIGREEN;

相关文章列表
天天查股公式列表

股票公式分类

天天查股:股票行情消息 实时DDX在线 资金流向 千股千评 业绩报告 十大股东 最新消息 超赢数据 大小非解禁 停牌复牌 股票分红数据 股票评级报告
广告客服:315126368   843010021
股票站免费查股,本站内容与数据仅供参考,不构成投资建议,据此操作,风险自担,股市有风险,投资需谨慎。 沪ICP备15043930号-29