万物公式网是一个专注于股票软件、股票公式资源分享的平台
微信公众号:万物狙击

网站首页 > 同花顺指标 正文

同花顺红绿柱走势指标公式

admin 2023-10-15 15:03:34 同花顺指标 689 ℃

N:=9;

M1:=3;

M2:=3;

RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;

K:SMA(RSV,M1,1),coloryellow,LINETHICK1;

D:SMA(K,M2,1);

J:3*K-2*D,colorbrown,LINETHICK1;

D: EMA(0.667*REF(K,1)+0.333*K,2),colorgreen,LINETHICK1;

升:IF(K>REF(K,1),K,DRAWNULL),COLORFF00FF,LINETHICK3;

降:IF(K

MA5:=MA(CLOSE,5);

MA10:=MA(CLOSE,10);

MA20:=MA(CLOSE,20);

A1:=IF(C>=MA5,1,-1);

A2:=IF(C>=MA10,1,-1);

A3:=IF(C>=MA20,1,-1);

A4:=IF(MA5>=REF(MA5,1),1,-1);

A5:=IF(MA10>=REF(MA10,1),1,-1);

A6:=IF(MA20>=REF(MA20,1),1,-1);

RSV=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

a=SMA(RSV,3,1);

b=SMA(a,3,1);

E:3*a-2*b,colorwhite;

S0:0,colorlicyan,DOTLINE;

S1:E-REF(E,1),coloryellow;

S2:REF(E,1)-E,colorcyan;

//Z2:0,colorlicyan,DOTLINE;

EMA1:=EMA(EMA(CLOSE,9),9);

EMA2:=(EMA1-REF(EMA1,1))/REF(EMA1,1)*1000;

kong:IF(EMA2<0,EMA2,0),colorwhite,NODRAW;

kong0:IF(REF(kong,1)

EMA11:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);

EMA12:=SMA(Abs(LOW-EMA11),13,1)/SMA(MAX(LOW-EMA11,0),10,1);

EMA14:=EMA(IF(LOW<=LLV(LOW,33),EMA(EMA12,10),0),3);

准备:IF(EMA14

stICKLINE(REF(准备,1)<准备 AND REF(准备,1)>0 AND REF(kong,1)

///

DRAWICON(crOSS(E,S1),E,1);

DRAWICON(CROSS(S2,E),E,2);

STICKLINE(CROSS(E,S2) ,80,100,6),colorgreen;

STICKLINE(CROSS(E,S2) AND E>REF(E,1) ,80,100,6),colorred;

STICKLINE(CROSS(E,S2) AND E>REF(E,1) AND S1>S0 ,80,100,6),colormagenta;

CCd:IF(CROSS(E,S2) AND E>REF(E,1),1,0),NODRAW;

DRAWTEXT(S2>S1 AND E>0,(e+e*0.03),"."),colorgreen;

STICKLINE(S1>S2,S2,S1,6),colorred;

STICKLINE(S1

CCJ:IF(CROSS(E,S1),1,0),NODRAW;

///资金抄底

IF(PERIODNAME<>"日线")

{

统计:"该指标只在日线周期下有效。";

RETURN;

}

//大单净量

r:=((ZDMR[-1]+BDMR[-1])-(ZDMC[-1]+BDMC[-1]))/SHGZG*100;

//相对强弱

LC := REF(CLOSE,1);//前一日收盘价;

rsi$1:=SMA(MAX(CLOSE-LC,0),3,1)/SMA(ABS(CLOSE-LC),3,1)*100;

RSI$2:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;

RSI$3:=SMA(MAX(CLOSE-LC,0),8,1)/SMA(ABS(CLOSE-LC),8,1)*100;

相对强弱:=0.5*RSI$1+0.31*RSI$2+0.19*RSI$3;

wave$1:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),3,1);

wave$2:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),5,1);

wave$3:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),8,1);

短线波段:=0.5*wave$1+0.31*wave$2+0.19*wave$3;

机会区:20,POINTDOT,colorred;

风险区:80,POINTDOT,colorgreen;

风险系数:0.5*相对强弱+0.5*短线波段,coloryellow;

//买入条件;

CD1:=IF(风险系数<20 AND CLOSE>OPEN AND r>0,1,0);//波段小于20,股价翻红;

CD2:=IF(风险系数<20 AND LOW>=REF(LOW,1) AND CLOSE>LOW AND r>0,1,0);//波段小于20,股价未翻红,但未创新低;

CD3:=IF(REF(风险系数,1)<20 AND 风险系数>REF(风险系数,1),1,0);//前一日波段小于20,今日转向;

SIGNALBUY=(CD1=1 OR CD2=1 OR CD3=1);

X=(SIGNALBUY AND COUNT(SIGNALBUY,3)=1);

DRAWICON(X,机会区,"buy");

AAA:=REF(CLOSE,1);

BBB:=SMA(MAX(CLOSE-AAA,0),5,1)/SMA(ABS(CLOSE-AAA),5,1)*1000;

HHH:=BBB-LLV(BBB,10);

SS:=(MA(HHH,2)*3+HHH*13)/16;

短线买点:=IF(SS>13,MA(SS,2),SS)/6;

短线出击:IF(CROSS(短线买点,1) AND (短线买点<30),19,0),coloryellow,STICK,LINETHICK6;

N:=5;

VAR1:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-

3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),coloryellow,LINETHICK0;

VAR2:8,colorgreen,LINETHICK0;

准备拉升: IF(CROSS(VAR1,VAR2),1,0),COLOR0000CC,LINETHICK2,NODRAW;

发现庄家: IF(VAR1<=8,1,0),colorFF00FF,LINETHICK10,NODRAW;

V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;

操盘线:SMA(V3,2,1),LINETHICK1;

V5:SMA(操盘线,2,1),colorcyan;

抄底:IF(操盘线>REF(操盘线,1) AND REF(操盘线,1)

追买:IF(操盘线>REF(操盘线,1) AND CROSS(操盘线,V5) AND V5<50,16,0),LINETHICK6,colorred,STICK;

地域:DRAWTEXT_FIX(ISLASTBAR,0.20,0,1,BLOCK(2,1)),coloryellow;

所属行业:DRAWTEXT_FIX(ISLASTBAR,0.36,0,1,BLOCK(1,1)),coloryellow;

主概念:DRAWTEXT_FIX(ISLASTBAR,0.1,0,1,BLOCK(3,1)),colorred;

量能饱和度:IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100),colorcyan,LINETHICK1,NODRAW;

N:=5;

VAR1:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-

3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),colorcyan,LINETHICK0;

VAR2:8,colorgreen,LINETHICK0;

准备拉升: IF(CROSS(VAR1,VAR2),80,0),STICK,COLOR0000CC,LINETHICK2;

庄家吸筹: IF(VAR1<=8,25,0),STICK,colorwhite,LINETHICK6;

顶线:100.00,colorlired;

中轴:50,colorwhite,DOTLINE,LINETHICK1;

警戒线:10.00,colorcyan;

更多精彩内容,请关注公众号:实盘操手

其他说明

1、在下载过程遇到问题,请您 联系客服:QQ:2180737354  或  微信:xxs008000(常用)     备用微信:bsqj88886(常用号不能用的情况再加),我们会在第一时间修复和反馈。


2、本站所提供的股票指标等资源请细看说明,适合自己再购买下载,指标不包安装,不懂的人切勿购买,新手勿扰。所有指标仅供参考学习交流,没稳赚的指标,赢亏自负,如果觉着指标好用请支持正版,否则产生的一切后果将由下载用户自行承担,有部分股票指标资源为网上收集或仿制而来,若模板侵犯了您的合法权益,请来联系我们,我们会及时删除,给您带来的不便,我们深表歉意!


⇒⇒⇒点击加入通达信指标公式交流群QQ群