比付费软件更人性化的主图公式

【 设本公众号为星标 】

(第一时间用上好指标|投资路上有依据)

安装后如下图,友情提示(指标只是辅助,不作建议) 所有程序均为免费分享。

不会安装点击 安装指南看安装步骤

CXHZB:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);

DD:=DMA(CLOSE,CXHZB);

高抛:(1+14/100)*DD,COLORGREEN;

压力:(1+7/100)*DD,DOTLINE,COLORFFFF00;

支撑:(1-7/100)*DD,DOTLINE,COLORBLUE;

低吸:(1-14/100)*DD,COLORRED;

中轨:(压力+支撑)/2,COLORMAGENTA,LINETHICK2;

DRAWTEXT(BARSTATUS=2,高抛,'高抛'),COLORGREEN;

DRAWTEXT(BARSTATUS=2,压力,'压力'),COLORFFFF00;

DRAWTEXT(BARSTATUS=2,中轨,'中轨'),COLORMAGENTA;

DRAWTEXT(BARSTATUS=2,支撑,'支撑'),COLORBLUE;

DRAWTEXT(BARSTATUS=2,低吸,'低吸'),COLORRED;

DA:=(3*CLOSE+OPEN+LOW+HIGH)/6,POINTDOT;

X2:=(20*DA+19*REF(DA,1)+18*REF(DA,2)+17*REF(DA,3)+16*REF(DA,4)+15*REF(DA,5)+14*REF(DA,6)+13*REF(DA,7)+12*REF(DA,8)+11*REF(DA,9)+10*REF(DA,10)+9*REF(DA,11)+8*REF(DA,12)+7*REF(DA,13)+6*REF(DA,14)+5*REF(DA,15)+4*REF(DA,16)+3*REF(DA,17)+2*REF(DA,18)+REF(DA,20))/210,COLORF0F000;

X3:=MA(X2,5),COLORYELLOW,LINETHICK1;

X1:=(C+L+H)/3;

买:=CROSS(X2,X3);

卖:=CROSS(X3,X2);

DRAWICON(买,L*0.95,1);

DRAWICON(CROSS(X2,X3),L*0.97,7);

DRAWICON(卖,H*1.04,2);

DRAWICON(CROSS(X3,X2),H*1.02,8);

STICKLINE(X2>=X3,LOW,HIGH,0,1),COLORRED;

STICKLINE(X2>=X3,CLOSE,OPEN,3.2,2),COLORRED;

STICKLINE(X2<X3,LOW,HIGH,0,1),COLOR00FF00;

STICKLINE(X2<X3,CLOSE,OPEN,3.2,2),COLOR00FF00;

STICKLINE(CROSS(X3,X2),OPEN,CLOSE,3.2,0),COLOR00FF00;

STICKLINE(CROSS(X2,X3),OPEN,CLOSE,3.2,0),COLORRED;

STICKLINE((CLOSE>OPEN) AND (X2<X3),CLOSE,OPEN,3.2,2)COLOR00FF00;

STICKLINE((CLOSE>OPEN) AND (X2>=X3),CLOSE,OPEN,3.2,2)COLORRED;

STICKLINE((CLOSE<OPEN) AND (X2<X3),CLOSE,OPEN,3.2,0)COLOR00FF00;

STICKLINE((CLOSE<OPEN) AND (X2>=X3),CLOSE,OPEN,3.2,0)COLORRED;

程序化指标制作:0,NODRAW;

DRAWTEXT_FIX(1,0,0.2,0,'BUY买股【出现  B  K线红色    买股信号=YES】'),COLOR0000FF;

DRAWTEXT_FIX(1,0,0.25,0,'SELL卖股【出现S  K线绿色    卖股信号=NO】'),COLOR00FF00;

DRAWTEXT_FIX(1,0,0.3,0,'友情提醒【更多指标关注微信公众号:程序化指标】'),COLOR00FFFF;

总股本:=STRCAT(STRCAT('总股本: ',CON2STR(TOTALCAPITAL/1000000,2)),'亿');

流通盘:=STRCAT(STRCAT(' 流通盘: ',CON2STR(CAPITAL/1000000,2)),'亿');

市值:=STRCAT(STRCAT(' 流通市值: ',CON2STR((CAPITAL/1000000)*C,2)),'亿');

每股公积金:=STRCAT(' 每股公积金:',CON2STR(FINANCE(18),2));

每股未分利润:=STRCAT(' 每股未分利润:',CON2STR(FINANCE(32),2));

每股净资产:=STRCAT(' 每股净资产:',CON2STR(FINANCE(34),2));

利润增长:FINANCE(43),COLORYELLOW,NODRAW;

显示内容:=STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(总股本,流通盘),市值),每股公积金),每股未分利润),每股净资产);

DRAWTEXT_FIX(ISLASTBAR,0,0.028.0,0,显示内容),COLOR00C0C0;

C2:=REF(C,1);

非ST涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);

涨停:=非ST涨停;

非ST跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);

跌停:=非ST跌停;

NUMBER:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1);

NUMBER1:=COUNT(非ST跌停,BARSSINCE(非ST跌停)+1);

DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.66,0.02,0,NUMBER),COLORWHITE;

DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.79,0.02,0,NUMBER1),COLORWHITE;

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.55,0.02,0,'上市以来共涨停'),COLORYELLOW;

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.70,0.02,0,'上市以来共跌停'),COLOR008000;

均价:=(3*C+H+L+O)/6;

VAR1:=(8*均价+7*REF(均价,1)+6*REF(均价,2)+5*REF(均价,3)+

4*REF(均价,4)+3*REF(均价,5)+2*REF(均价,6)+REF(均价,8))/36;

VAR2:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;

SZ1:=REF(VAR1,1)=REF(VAR2,1) AND VAR1>VAR2 AND CLOSE>VAR1;

SZ2:=VAR1>VAR2 AND VAR1>REF(VAR1,1) AND VAR2>REF(VAR2,1)

AND H/VAR1<1.1 AND L>VAR2 AND CLOSE>VAR1;

SZ3:=VAR1>VAR2 AND VAR1>REF(VAR1,1) AND VAR2>=REF(VAR2,1) AND H/VAR1>1.1;

SZ4:=VAR1>VAR2 AND VAR1>REF(VAR1,1) AND VAR2>REF(VAR2,1)

AND CLOSE>VAR2 AND CLOSE<VAR1;

SZ5:=(VAR1>VAR2 AND VAR2>REF(VAR2,1) AND VAR1<>REF(VAR1,1)

AND CLOSE<VAR2) OR (VAR1>VAR2 AND VAR1<REF(VAR1,1)

AND VAR2<REF(VAR2,1) AND CLOSE<VAR2);

SZ6:=REF(VAR1,1)>REF(VAR2,1) AND VAR1=VAR2 AND CLOSE<VAR2;

XD1:=VAR1=VAR2 AND CLOSE<VAR2 OR (VAR1<REF(VAR1,1) AND VAR2<REF(VAR2,1)

AND REF(VAR1,1)=REF(VAR2,1) AND CLOSE<VAR2);

XD2:=VAR1=VAR2 AND CLOSE>VAR1;

SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));

量能饱和度:=IF(SAT>1,1,SAT)*100;{程序化指标官方网址 WWW.HONGHAIE.COM}

DRAWTEXT_FIX(BARSTATUS=2 AND SZ1,0.8,0.05,0,'调整结束短线介入'),COLORFFFFFF;

DRAWTEXT_FIX(BARSTATUS=2 AND SZ2,0.8,0.05,0,'上升通道走势良好'),COLORFFFFFF;

DRAWTEXT_FIX(BARSTATUS=2 AND SZ3,0.8,0.05,0,'股价偏离注意调整'),COLORFFFFFF;

DRAWTEXT_FIX(BARSTATUS=2 AND SZ4,0.8,0.05,0,'上升通道调整洗盘'),COLORFFFFFF;

DRAWTEXT_FIX(BARSTATUS=2 AND SZ5,0.8,0.05,0,'转向特征注意离场'),COLOR00FFFF;

DRAWTEXT_FIX(BARSTATUS=2 AND SZ6,0.8,0.05,0,'通道改变坚决离场'),COLORFFFF00;

DRAWTEXT_FIX(BARSTATUS=2 AND XD1,0.8,0.05,0,'下跌通道只宜观望'),COLORFFFF00;

DRAWTEXT_FIX(BARSTATUS=2 AND XD2,0.8,0.05,0,'短期底部准备进入'),COLORYELLOW;

CH2:=EMA(CLOSE,6);

超短线:=EMA(CH2,11),COLORGREEN; LJL07:=(3*C+L+O+H)/6;

持股:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORWHITE;

月线:=EMA(持股,30),COLORYELLOW,DOTLINE;

双月线:=EMA(持股,60),COLORCYAN,DOTLINE;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ('DMI.PDI'>'DMI.MDI') AND UPNDAY('DMI.ADXR',1) AND ('DMI.ADX'>'DMI.ADXR'),0.460,0.26,0,'DMI 火箭升空'),COLOR8080FF;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ('DMI.PDI'<'DMI.MDI') AND UPNDAY('DMI.ADXR',1) AND ('DMI.ADX'>'DMI.ADXR'),0.460,0.26,0,'DMI 空中**'),COLORGREEN;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ('DMI.PDI'>'DMI.MDI'),0.460,0.21,0,'DMI 多头趋势'),COLOR8080FF;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ('DMI.PDI'<'DMI.MDI'),0.460,0.21,0,'DMI 空头趋势'),COLORGREEN;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND CROSS('KDJ.J','KDJ.K'),0.460,0.31,0,'K D J 金 叉'),COLOR8080FF;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND CROSS('KDJ.K','KDJ.J'),0.460,0.31,0,'K D J 死 叉'),COLORGREEN;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ('KDJ.J'>'KDJ.K'),0.460,0.36,0,'K D J 多头趋势'),COLOR8080FF;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ('KDJ.J'<'KDJ.K'),0.460,0.36,0,'K D J 空头趋势'),COLORGREEN;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ('MACD.DIF'>'MACD.DEA') AND 'MACD.MACD'>0,0.460,0.41,0,'MACD 中线看多'),COLOR8080FF;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ('MACD.DIF'<'MACD.DEA') AND 'MACD.MACD'<0,0.460,0.41,0,'MACD 中线看空'),COLORGREEN;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ('MACD.DIF'>'MACD.DEA'),0.460,0.46,0,'MACD 多头趋势'),COLOR8080FF;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ('MACD.DIF'<'MACD.DEA'),0.460,0.46,0,'MACD 空头趋势'),COLORGREEN;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND CROSS('MACD.DIF','MACD.DEA'),0.460,0.51,0,'MACD 金 叉'),COLOR8080FF;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND CROSS('MACD.DEA','MACD.DIF'),0.460,0.51,0,'MACD 死 叉'),COLORGREEN;

上涨:=CURRBARSCOUNT=1 AND UPNDAY(双月线,1) AND UPNDAY(月线,1) AND UPNDAY(超短线,1) AND UPNDAY(持股,1);

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 上涨,0.460,0.15,0,'上 涨 趋 势'),COLORFF00FF;

短线上涨:=CURRBARSCOUNT=1 AND UPNDAY(双月线,1) AND UPNDAY(月线,1) AND DOWNNDAY(超短线,1) AND UPNDAY(持股,1);

短线上涨0:=CURRBARSCOUNT=1 AND UPNDAY(双月线,1) AND DOWNNDAY(月线,1) AND DOWNNDAY(超短线,1) AND UPNDAY(持股,1);

短线上涨1:=CURRBARSCOUNT=1 AND UPNDAY(双月线,1) AND DOWNNDAY(月线,1) AND UPNDAY(超短线,1) AND UPNDAY(持股,1);

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (短线上涨 OR 短线上涨0 OR 短线上涨1),0.460,0.15,0,'短 线 上 涨'),COLOR8080FF;

短线回调:=CURRBARSCOUNT=1 AND UPNDAY(双月线,1) AND UPNDAY(月线,1) AND UPNDAY(超短线,1) AND DOWNNDAY(持股,1);

短线回调0:=CURRBARSCOUNT=1 AND UPNDAY(双月线,1) AND DOWNNDAY(月线,1) AND UPNDAY(超短线,1) AND DOWNNDAY(持股,1);

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (短线回调 OR 短线回调0),0.460,0.15,0,'短 线 回 调'),COLORYELLOW;

短线看空:=CURRBARSCOUNT=1 AND UPNDAY(双月线,1) AND UPNDAY(月线,1) AND DOWNNDAY(超短线,1) AND DOWNNDAY(持股,1);

短线看空0:=CURRBARSCOUNT=1 AND UPNDAY(双月线,1) AND DOWNNDAY(月线,1) AND DOWNNDAY(超短线,1) AND DOWNNDAY(持股,1);

短线空仓:=CURRBARSCOUNT=1 AND DOWNNDAY(双月线,1) AND DOWNNDAY(月线,1) AND DOWNNDAY(超短线,1) AND DOWNNDAY(持股,1);

短线空仓0:=CURRBARSCOUNT=1 AND DOWNNDAY(双月线,1) AND UPNDAY(月线,1) AND DOWNNDAY(超短线,1) AND DOWNNDAY(持股,1);

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (短线空仓 OR 短线空仓0 OR 短线看空 OR 短线看空0),0.460,0.15,0,'短 线 空 仓'),COLORYELLOW;

短线震荡:=CURRBARSCOUNT=1 AND DOWNNDAY(双月线,1) AND UPNDAY(月线,1) AND UPNDAY(超短线,1) AND DOWNNDAY(持股,1);

短线震荡0:=CURRBARSCOUNT=1 AND DOWNNDAY(双月线,1) AND UPNDAY(月线,1) AND DOWNNDAY(超短线,1) AND UPNDAY(持股,1);

短线震荡1:=CURRBARSCOUNT=1 AND DOWNNDAY(双月线,1) AND DOWNNDAY(月线,1) AND UPNDAY(超短线,1) AND DOWNNDAY(持股,1);

注意该股:=CURRBARSCOUNT=1 AND DOWNNDAY(双月线,1) AND DOWNNDAY(月线,1) AND DOWNNDAY(超短线,1) AND UPNDAY(持股,1);

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (短线震荡 OR 短线震荡0 OR 短线震荡1 OR 注意该股),0.460,0.15,0,'短 线 震 荡'),COLORYELLOW;

短线反弹:=CURRBARSCOUNT=1 AND DOWNNDAY(双月线,1) AND DOWNNDAY(月线,1) AND UPNDAY(超短线,1) AND UPNDAY(持股,1);

短线反弹0:=CURRBARSCOUNT=1 AND DOWNNDAY(双月线,1) AND UPNDAY(月线,1) AND UPNDAY(超短线,1) AND UPNDAY(持股,1);

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (短线反弹 OR 短线反弹0),0.460,0.15,0,'短 线 反 弹'),COLORYELLOW;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ('MACD.MACD'>0) AND (CROSS('MACD.DIF','MACD.DEA') OR CROSS(持股,超短线)) AND UPNDAY(超短线,1),0.55,0.09,0,'    决策:中 线 全 仓 买 入  ◆'),COLORFFFFFF;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ('MACD.MACD'<0) AND (CROSS('MACD.DEA','MACD.DIF') OR CROSS(超短线,持股)) AND DOWNNDAY(超短线,1),0.55,0.09,0,'    决策:中 线 空 仓  ◆'),COLORFFFFFF;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND DOWNNDAY(超短线,1) AND DOWNNDAY(持股,1),0.55,0.8,0,'    决策:短 线 空 ( 减 ) 仓  ◆'),COLORFFFFFF;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND DOWNNDAY(超短线,1) AND UPNDAY(持股,1),0.45,0.10,0,'    决策:短 线 买 入 30 %  ◆'),COLORFFFFFF;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND UPNDAY(超短线,1) AND UPNDAY(持股,1),0.55,0.12,0,'    决策:短 线 买 入 60 %  ◆'),COLORFFFFFF;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND UPNDAY(超短线,1) AND DOWNNDAY(持股,1),0.55,0.09,0,'    决策:短 线 震 荡 看 看 再 说  ◆'),COLORFFFFFF;

程序化指标家族现在三位成员:

程序化指标(分享指标公式)

议股(精准行情及板块分析) 下周守株待兔

选股买股(牛股池分享)   牛股池(2020-12-7)

(0)

相关推荐