极反通道指标源码参数(hcl通道指标公式源码?)
1. hcl通道指标公式源码?
HCL 均线通道
MAH:MA(HIGH,N);//最高价的N周期平均
MAL:MA(LOW,N);//最低价的N周期平均
MAC:MA(CLOSE,N);//收盘价的N周期平均
CROSS(MAC,REF(MAC,1)),BPK;//MAC上穿前一周期MAC,做多
CROSS(REF(MAC,1),MAC),SPK;//MAC下穿前一周期MAC,做空
AUTOFILTER;
2. hcl通道指标公式源码?
HCL 均线通道
MAH:MA(HIGH,N);//最高价的N周期平均
MAL:MA(LOW,N);//最低价的N周期平均
MAC:MA(CLOSE,N);//收盘价的N周期平均
CROSS(MAC,REF(MAC,1)),BPK;//MAC上穿前一周期MAC,做多
CROSS(REF(MAC,1),MAC),SPK;//MAC下穿前一周期MAC,做空
AUTOFILTER;
3. hcl通道指标公式源码?
HCL 均线通道
MAH:MA(HIGH,N);//最高价的N周期平均
MAL:MA(LOW,N);//最低价的N周期平均
MAC:MA(CLOSE,N);//收盘价的N周期平均
CROSS(MAC,REF(MAC,1)),BPK;//MAC上穿前一周期MAC,做多
CROSS(REF(MAC,1),MAC),SPK;//MAC下穿前一周期MAC,做空
AUTOFILTER;
4. hcl指标源码?
HCL指标公式源码是针对特定目标设备设计的指标公式库。该库的目的是对设备运行状态进行实时检测,以便快速发现和解决设备问题。HCL指标公式源码包含各种指标公式,可以很快地集成到设备的监控系统中。在本文中,我们将深入讨论HCL指标公式源码的特点和优势。
5. hcl指标源码?
HCL指标公式源码是针对特定目标设备设计的指标公式库。该库的目的是对设备运行状态进行实时检测,以便快速发现和解决设备问题。HCL指标公式源码包含各种指标公式,可以很快地集成到设备的监控系统中。在本文中,我们将深入讨论HCL指标公式源码的特点和优势。
6. pe估值通道指标公式?
提供PE估值通道指标的公式。但是,可以提供PE(市盈率)的计算公式:
PE = P / E
其中,P是每股股价,E是每股净利润。
希望以上信息对您有帮助。
7. pe估值通道指标公式?
提供PE估值通道指标的公式。但是,可以提供PE(市盈率)的计算公式:
PE = P / E
其中,P是每股股价,E是每股净利润。
希望以上信息对您有帮助。
8. rsj指标源码?
rsi指标讲解的主要内容是基础的指标公式、买卖指标公式、精确买卖点、趋势分析、自用以及复合通道公式的解析,希望能够在实战中帮助到广大投资者。
//基础指标公式
50,DOTLINE;20;80;
DRAWBAND(80,RGB(0,30,255),100,RGB(0,30,255));
DRAWBAND(20,RGB(0,150,200),0,RGB(0,150,200));
DRAWTEXT_FIX(1,0.02,0,0,'★RSI6与RSA12金叉参考买入.死叉参考卖出. ★威廉WR大于80买入区.小于20卖出区.'),COLOR00FFFF,LINETHICK3;
CC:=FORCAST(C,3); HH:=FORCAST(H,3); LL:=FORCAST(L,3);
LC:=REF(WMA((2*CC+HH+LL)/4,3),1);
RSI6:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORFF9900,LINETHICK0;
RSI12:SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,COLOR00FFFF,LINETHICK0;
DRAWBAND(RSI6,RGB(255,80,0),RSI12,RGB(0,255,100));
SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORFF9900,LINETHICK3;
IF(RSI6>REF(RSI6,1),RSI6,DRAWNULL),COLOR0000FF,LINETHICK4;
SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,COLOR00FFFF,LINETHICK2;
威廉WR:FORCAST(100*(HHV(HH,14)-CC)/(HHV(HH,14)-LLV(LL,14)),5),COLOR00FFFF,DOTLINE;
IF(威廉WR>80 ,威廉WR,DRAWNULL),COLOR00FF00,LINETHICK3;
IF(威廉WR<20,威廉WR,DRAWNULL),COLOR0000FF,LINETHICK3;
导入软件之后的基本走势图形有:
//买卖指标公式
N1:=6;
N2:=6;
N3:=6;
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;
MA60:MA(C,60);
MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
A:20;
D:80;
买:=RSI1<20 OR RSI1<80 AND C>REF(C,1)AND VOLREF(MA60,1) AND MA5>REF(MA5,1)AND MA10>REF(MA10,1)AND MA20>REF(MA20,1);
DRAWTEXT(买,RSI1*0.8,'买'),COLOR0099FF;
卖:=RSI1>80 AND VOL>REF(VOL,1);
DRAWTEXT(卖,RSI1*1.09,'卖'),COLOR0099FF;
//精确买卖点公式
LC := REF(CLOSE,1);
R:SMA(MAX(CLOSE-LC,0),9,1)/SMA(ABS(CLOSE-LC),9,1)*10;
K:=r-REF(r,1);
STICKLINE(k>REF(k,1) AND R<3 AND (k<0 OR REF(k,1)<0),3,5,2),colorred;
STICKLINE(k5.5,5,7,2),colorgreen;
x:=(k>REF(k,1) AND R<3.0 AND (k<0 OR REF(k,1)<0))*8;
y:=((k5.5)>0)*8;
//趋势分析
VAR1:=HHV(HIGH,33);
VAR2:=LLV(LOW,33);
A:=(SMA((CLOSE-VAR2)/(VAR1-VAR2),8,1))*(100),COLOR00FFFF;
价格线:EMA(HHV(A,3),1),colorgreen;
va1:=(CLOSE-LLV(LOW,90))/(HHV(HIGH,90)-LLV(LOW,90))*100;
va2:=SMA(va1,9,1),colorwhite;
趋势线:SMA(va2,6,1),colorff00ff;
va4:=3*va2-2*趋势线,colorff00ff;
撑压线:WMA((va2+趋势线+va4)/3,60),colorred;
LC:= REF(CLOSE,1);
RSI6:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,colorwhite;
RSI12:SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,coloryellow;
卖线:85,LINETHICK02,POINTDOT,Color15FF15;
界线:50,LINETHICK02,POINTDOT,ColorFF1EFF;
买线:20,LINETHICK02,POINTDOT,Color28FFFF;
9. hcl通道指标公式源码?
HCL 均线通道
MAH:MA(HIGH,N);//最高价的N周期平均
MAL:MA(LOW,N);//最低价的N周期平均
MAC:MA(CLOSE,N);//收盘价的N周期平均
CROSS(MAC,REF(MAC,1)),BPK;//MAC上穿前一周期MAC,做多
CROSS(REF(MAC,1),MAC),SPK;//MAC下穿前一周期MAC,做空
AUTOFILTER;
10. pe估值通道指标公式?
提供PE估值通道指标的公式。但是,可以提供PE(市盈率)的计算公式:
PE = P / E
其中,P是每股股价,E是每股净利润。
希望以上信息对您有帮助。
11. hcl指标源码?
HCL指标公式源码是针对特定目标设备设计的指标公式库。该库的目的是对设备运行状态进行实时检测,以便快速发现和解决设备问题。HCL指标公式源码包含各种指标公式,可以很快地集成到设备的监控系统中。在本文中,我们将深入讨论HCL指标公式源码的特点和优势。
12. bias优化指标公式?
通达信BIAS优化版指标公式:
N:=9;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:=(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+ (CLOSE-LOW)),VOL/2))*0.70828;
主动卖盘:=(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE< OPEN,0-VAR1*(HIGH-LOW),0-VOL/2))*0.63275;
VA:=(主动买盘+主动卖盘);
VVV:=IF((DATE > 17374085120),0,1);
AVPRICE:=((CLOSE + OPEN + LOW + HIGH)/(4))*(VVV);
成交金额:=(VA)*(AVPRICE);
A:=(SUM(成交金额,N) + 0.001)/(SUM(VA,N) + 0.001);
乖离线:=(((AVPRICE - A))/(MAX(AVPRICE,A)))*(VVV);
STICKLINE((乖离线 > 0),0,乖离线,3,0),COLORRED;
STICKLINE((乖离线 < 0),0,乖离线,3,0),COLORFF0000;
长期:(CLOSE-MA(A,55))/MA(A,55)*100,COLORYELLOW,STICK,LINETHICK3;
IF(长期<=0,长期,0),COLORWHITE,STICK,LINETHICK3;
中期:(CLOSE-MA(A,34))/MA(A,34)*100,COLORFF00FF,STICK,LINETHICK3;
IF(中期<=0,中期,0),COLORFFFF33,STICK,LINETHICK3;
短期:(CLOSE-MA(A,13))/MA(A,13)*100,COLORRED,STICK,LINETHICK3;
IF(短期<=0,短期,0),COLORBLUE,STICK,LINETHICK3;
VAR2:=REF(HIGH,1)*1.1;
VAR3:=HIGH*1.1;
VAR4:=(VAR3*VOL+VAR2*(CAPITAL-VOL))/CAPITAL;
VAR5:=REF(LOW,1)*0.9;
VAR6:=LOW*0.9;
VAR7:=(VAR6*VOL+VAR5*(CAPITAL-VOL))/CAPITAL;
VAR8:=EMA(VAR7,30);
VAR9:=EMA(VAR4,30);
VAR10:=VAR9-2;
VAR11:=IF(CLOSE<=VAR8,VAR10,VAR9);
VAR12:=VAR11*2.5;
VAR13:=VAR10*2.5;
STICKLINE(VAR12=VAR13,中期,0,4,1),COLOR66FF99;
上通道:MA(短期,20)+1.618*STD(长期,20),COLOR0099FF,LINETHICK2;
下通道:MA(短期,20)-1.618*STD(长期,20),COLOR0099FF,LINETHICK2;
生命轨迹:短期,COLOR00FF00;
13. rsj指标源码?
rsi指标讲解的主要内容是基础的指标公式、买卖指标公式、精确买卖点、趋势分析、自用以及复合通道公式的解析,希望能够在实战中帮助到广大投资者。
//基础指标公式
50,DOTLINE;20;80;
DRAWBAND(80,RGB(0,30,255),100,RGB(0,30,255));
DRAWBAND(20,RGB(0,150,200),0,RGB(0,150,200));
DRAWTEXT_FIX(1,0.02,0,0,'★RSI6与RSA12金叉参考买入.死叉参考卖出. ★威廉WR大于80买入区.小于20卖出区.'),COLOR00FFFF,LINETHICK3;
CC:=FORCAST(C,3); HH:=FORCAST(H,3); LL:=FORCAST(L,3);
LC:=REF(WMA((2*CC+HH+LL)/4,3),1);
RSI6:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORFF9900,LINETHICK0;
RSI12:SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,COLOR00FFFF,LINETHICK0;
DRAWBAND(RSI6,RGB(255,80,0),RSI12,RGB(0,255,100));
SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORFF9900,LINETHICK3;
IF(RSI6>REF(RSI6,1),RSI6,DRAWNULL),COLOR0000FF,LINETHICK4;
SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,COLOR00FFFF,LINETHICK2;
威廉WR:FORCAST(100*(HHV(HH,14)-CC)/(HHV(HH,14)-LLV(LL,14)),5),COLOR00FFFF,DOTLINE;
IF(威廉WR>80 ,威廉WR,DRAWNULL),COLOR00FF00,LINETHICK3;
IF(威廉WR<20,威廉WR,DRAWNULL),COLOR0000FF,LINETHICK3;
导入软件之后的基本走势图形有:
//买卖指标公式
N1:=6;
N2:=6;
N3:=6;
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;
MA60:MA(C,60);
MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
A:20;
D:80;
买:=RSI1<20 OR RSI1<80 AND C>REF(C,1)AND VOLREF(MA60,1) AND MA5>REF(MA5,1)AND MA10>REF(MA10,1)AND MA20>REF(MA20,1);
DRAWTEXT(买,RSI1*0.8,'买'),COLOR0099FF;
卖:=RSI1>80 AND VOL>REF(VOL,1);
DRAWTEXT(卖,RSI1*1.09,'卖'),COLOR0099FF;
//精确买卖点公式
LC := REF(CLOSE,1);
R:SMA(MAX(CLOSE-LC,0),9,1)/SMA(ABS(CLOSE-LC),9,1)*10;
K:=r-REF(r,1);
STICKLINE(k>REF(k,1) AND R<3 AND (k<0 OR REF(k,1)<0),3,5,2),colorred;
STICKLINE(k5.5,5,7,2),colorgreen;
x:=(k>REF(k,1) AND R<3.0 AND (k<0 OR REF(k,1)<0))*8;
y:=((k5.5)>0)*8;
//趋势分析
VAR1:=HHV(HIGH,33);
VAR2:=LLV(LOW,33);
A:=(SMA((CLOSE-VAR2)/(VAR1-VAR2),8,1))*(100),COLOR00FFFF;
价格线:EMA(HHV(A,3),1),colorgreen;
va1:=(CLOSE-LLV(LOW,90))/(HHV(HIGH,90)-LLV(LOW,90))*100;
va2:=SMA(va1,9,1),colorwhite;
趋势线:SMA(va2,6,1),colorff00ff;
va4:=3*va2-2*趋势线,colorff00ff;
撑压线:WMA((va2+趋势线+va4)/3,60),colorred;
LC:= REF(CLOSE,1);
RSI6:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,colorwhite;
RSI12:SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,coloryellow;
卖线:85,LINETHICK02,POINTDOT,Color15FF15;
界线:50,LINETHICK02,POINTDOT,ColorFF1EFF;
买线:20,LINETHICK02,POINTDOT,Color28FFFF;
14. bias优化指标公式?
通达信BIAS优化版指标公式:
N:=9;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:=(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+ (CLOSE-LOW)),VOL/2))*0.70828;
主动卖盘:=(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE< OPEN,0-VAR1*(HIGH-LOW),0-VOL/2))*0.63275;
VA:=(主动买盘+主动卖盘);
VVV:=IF((DATE > 17374085120),0,1);
AVPRICE:=((CLOSE + OPEN + LOW + HIGH)/(4))*(VVV);
成交金额:=(VA)*(AVPRICE);
A:=(SUM(成交金额,N) + 0.001)/(SUM(VA,N) + 0.001);
乖离线:=(((AVPRICE - A))/(MAX(AVPRICE,A)))*(VVV);
STICKLINE((乖离线 > 0),0,乖离线,3,0),COLORRED;
STICKLINE((乖离线 < 0),0,乖离线,3,0),COLORFF0000;
长期:(CLOSE-MA(A,55))/MA(A,55)*100,COLORYELLOW,STICK,LINETHICK3;
IF(长期<=0,长期,0),COLORWHITE,STICK,LINETHICK3;
中期:(CLOSE-MA(A,34))/MA(A,34)*100,COLORFF00FF,STICK,LINETHICK3;
IF(中期<=0,中期,0),COLORFFFF33,STICK,LINETHICK3;
短期:(CLOSE-MA(A,13))/MA(A,13)*100,COLORRED,STICK,LINETHICK3;
IF(短期<=0,短期,0),COLORBLUE,STICK,LINETHICK3;
VAR2:=REF(HIGH,1)*1.1;
VAR3:=HIGH*1.1;
VAR4:=(VAR3*VOL+VAR2*(CAPITAL-VOL))/CAPITAL;
VAR5:=REF(LOW,1)*0.9;
VAR6:=LOW*0.9;
VAR7:=(VAR6*VOL+VAR5*(CAPITAL-VOL))/CAPITAL;
VAR8:=EMA(VAR7,30);
VAR9:=EMA(VAR4,30);
VAR10:=VAR9-2;
VAR11:=IF(CLOSE<=VAR8,VAR10,VAR9);
VAR12:=VAR11*2.5;
VAR13:=VAR10*2.5;
STICKLINE(VAR12=VAR13,中期,0,4,1),COLOR66FF99;
上通道:MA(短期,20)+1.618*STD(长期,20),COLOR0099FF,LINETHICK2;
下通道:MA(短期,20)-1.618*STD(长期,20),COLOR0099FF,LINETHICK2;
生命轨迹:短期,COLOR00FF00;
15. bias优化指标公式?
通达信BIAS优化版指标公式:
N:=9;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:=(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+ (CLOSE-LOW)),VOL/2))*0.70828;
主动卖盘:=(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE< OPEN,0-VAR1*(HIGH-LOW),0-VOL/2))*0.63275;
VA:=(主动买盘+主动卖盘);
VVV:=IF((DATE > 17374085120),0,1);
AVPRICE:=((CLOSE + OPEN + LOW + HIGH)/(4))*(VVV);
成交金额:=(VA)*(AVPRICE);
A:=(SUM(成交金额,N) + 0.001)/(SUM(VA,N) + 0.001);
乖离线:=(((AVPRICE - A))/(MAX(AVPRICE,A)))*(VVV);
STICKLINE((乖离线 > 0),0,乖离线,3,0),COLORRED;
STICKLINE((乖离线 < 0),0,乖离线,3,0),COLORFF0000;
长期:(CLOSE-MA(A,55))/MA(A,55)*100,COLORYELLOW,STICK,LINETHICK3;
IF(长期<=0,长期,0),COLORWHITE,STICK,LINETHICK3;
中期:(CLOSE-MA(A,34))/MA(A,34)*100,COLORFF00FF,STICK,LINETHICK3;
IF(中期<=0,中期,0),COLORFFFF33,STICK,LINETHICK3;
短期:(CLOSE-MA(A,13))/MA(A,13)*100,COLORRED,STICK,LINETHICK3;
IF(短期<=0,短期,0),COLORBLUE,STICK,LINETHICK3;
VAR2:=REF(HIGH,1)*1.1;
VAR3:=HIGH*1.1;
VAR4:=(VAR3*VOL+VAR2*(CAPITAL-VOL))/CAPITAL;
VAR5:=REF(LOW,1)*0.9;
VAR6:=LOW*0.9;
VAR7:=(VAR6*VOL+VAR5*(CAPITAL-VOL))/CAPITAL;
VAR8:=EMA(VAR7,30);
VAR9:=EMA(VAR4,30);
VAR10:=VAR9-2;
VAR11:=IF(CLOSE<=VAR8,VAR10,VAR9);
VAR12:=VAR11*2.5;
VAR13:=VAR10*2.5;
STICKLINE(VAR12=VAR13,中期,0,4,1),COLOR66FF99;
上通道:MA(短期,20)+1.618*STD(长期,20),COLOR0099FF,LINETHICK2;
下通道:MA(短期,20)-1.618*STD(长期,20),COLOR0099FF,LINETHICK2;
生命轨迹:短期,COLOR00FF00;
16. rsj指标源码?
rsi指标讲解的主要内容是基础的指标公式、买卖指标公式、精确买卖点、趋势分析、自用以及复合通道公式的解析,希望能够在实战中帮助到广大投资者。
//基础指标公式
50,DOTLINE;20;80;
DRAWBAND(80,RGB(0,30,255),100,RGB(0,30,255));
DRAWBAND(20,RGB(0,150,200),0,RGB(0,150,200));
DRAWTEXT_FIX(1,0.02,0,0,'★RSI6与RSA12金叉参考买入.死叉参考卖出. ★威廉WR大于80买入区.小于20卖出区.'),COLOR00FFFF,LINETHICK3;
CC:=FORCAST(C,3); HH:=FORCAST(H,3); LL:=FORCAST(L,3);
LC:=REF(WMA((2*CC+HH+LL)/4,3),1);
RSI6:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORFF9900,LINETHICK0;
RSI12:SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,COLOR00FFFF,LINETHICK0;
DRAWBAND(RSI6,RGB(255,80,0),RSI12,RGB(0,255,100));
SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORFF9900,LINETHICK3;
IF(RSI6>REF(RSI6,1),RSI6,DRAWNULL),COLOR0000FF,LINETHICK4;
SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,COLOR00FFFF,LINETHICK2;
威廉WR:FORCAST(100*(HHV(HH,14)-CC)/(HHV(HH,14)-LLV(LL,14)),5),COLOR00FFFF,DOTLINE;
IF(威廉WR>80 ,威廉WR,DRAWNULL),COLOR00FF00,LINETHICK3;
IF(威廉WR<20,威廉WR,DRAWNULL),COLOR0000FF,LINETHICK3;
导入软件之后的基本走势图形有:
//买卖指标公式
N1:=6;
N2:=6;
N3:=6;
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;
MA60:MA(C,60);
MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
A:20;
D:80;
买:=RSI1<20 OR RSI1<80 AND C>REF(C,1)AND VOLREF(MA60,1) AND MA5>REF(MA5,1)AND MA10>REF(MA10,1)AND MA20>REF(MA20,1);
DRAWTEXT(买,RSI1*0.8,'买'),COLOR0099FF;
卖:=RSI1>80 AND VOL>REF(VOL,1);
DRAWTEXT(卖,RSI1*1.09,'卖'),COLOR0099FF;
//精确买卖点公式
LC := REF(CLOSE,1);
R:SMA(MAX(CLOSE-LC,0),9,1)/SMA(ABS(CLOSE-LC),9,1)*10;
K:=r-REF(r,1);
STICKLINE(k>REF(k,1) AND R<3 AND (k<0 OR REF(k,1)<0),3,5,2),colorred;
STICKLINE(k5.5,5,7,2),colorgreen;
x:=(k>REF(k,1) AND R<3.0 AND (k<0 OR REF(k,1)<0))*8;
y:=((k5.5)>0)*8;
//趋势分析
VAR1:=HHV(HIGH,33);
VAR2:=LLV(LOW,33);
A:=(SMA((CLOSE-VAR2)/(VAR1-VAR2),8,1))*(100),COLOR00FFFF;
价格线:EMA(HHV(A,3),1),colorgreen;
va1:=(CLOSE-LLV(LOW,90))/(HHV(HIGH,90)-LLV(LOW,90))*100;
va2:=SMA(va1,9,1),colorwhite;
趋势线:SMA(va2,6,1),colorff00ff;
va4:=3*va2-2*趋势线,colorff00ff;
撑压线:WMA((va2+趋势线+va4)/3,60),colorred;
LC:= REF(CLOSE,1);
RSI6:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,colorwhite;
RSI12:SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,coloryellow;
卖线:85,LINETHICK02,POINTDOT,Color15FF15;
界线:50,LINETHICK02,POINTDOT,ColorFF1EFF;
买线:20,LINETHICK02,POINTDOT,Color28FFFF;
17. hcl指标源码?
HCL指标公式源码是针对特定目标设备设计的指标公式库。该库的目的是对设备运行状态进行实时检测,以便快速发现和解决设备问题。HCL指标公式源码包含各种指标公式,可以很快地集成到设备的监控系统中。在本文中,我们将深入讨论HCL指标公式源码的特点和优势。
18. bias优化指标公式?
通达信BIAS优化版指标公式:
N:=9;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:=(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+ (CLOSE-LOW)),VOL/2))*0.70828;
主动卖盘:=(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE< OPEN,0-VAR1*(HIGH-LOW),0-VOL/2))*0.63275;
VA:=(主动买盘+主动卖盘);
VVV:=IF((DATE > 17374085120),0,1);
AVPRICE:=((CLOSE + OPEN + LOW + HIGH)/(4))*(VVV);
成交金额:=(VA)*(AVPRICE);
A:=(SUM(成交金额,N) + 0.001)/(SUM(VA,N) + 0.001);
乖离线:=(((AVPRICE - A))/(MAX(AVPRICE,A)))*(VVV);
STICKLINE((乖离线 > 0),0,乖离线,3,0),COLORRED;
STICKLINE((乖离线 < 0),0,乖离线,3,0),COLORFF0000;
长期:(CLOSE-MA(A,55))/MA(A,55)*100,COLORYELLOW,STICK,LINETHICK3;
IF(长期<=0,长期,0),COLORWHITE,STICK,LINETHICK3;
中期:(CLOSE-MA(A,34))/MA(A,34)*100,COLORFF00FF,STICK,LINETHICK3;
IF(中期<=0,中期,0),COLORFFFF33,STICK,LINETHICK3;
短期:(CLOSE-MA(A,13))/MA(A,13)*100,COLORRED,STICK,LINETHICK3;
IF(短期<=0,短期,0),COLORBLUE,STICK,LINETHICK3;
VAR2:=REF(HIGH,1)*1.1;
VAR3:=HIGH*1.1;
VAR4:=(VAR3*VOL+VAR2*(CAPITAL-VOL))/CAPITAL;
VAR5:=REF(LOW,1)*0.9;
VAR6:=LOW*0.9;
VAR7:=(VAR6*VOL+VAR5*(CAPITAL-VOL))/CAPITAL;
VAR8:=EMA(VAR7,30);
VAR9:=EMA(VAR4,30);
VAR10:=VAR9-2;
VAR11:=IF(CLOSE<=VAR8,VAR10,VAR9);
VAR12:=VAR11*2.5;
VAR13:=VAR10*2.5;
STICKLINE(VAR12=VAR13,中期,0,4,1),COLOR66FF99;
上通道:MA(短期,20)+1.618*STD(长期,20),COLOR0099FF,LINETHICK2;
下通道:MA(短期,20)-1.618*STD(长期,20),COLOR0099FF,LINETHICK2;
生命轨迹:短期,COLOR00FF00;
19. pe估值通道指标公式?
提供PE估值通道指标的公式。但是,可以提供PE(市盈率)的计算公式:
PE = P / E
其中,P是每股股价,E是每股净利润。
希望以上信息对您有帮助。
20. rsj指标源码?
rsi指标讲解的主要内容是基础的指标公式、买卖指标公式、精确买卖点、趋势分析、自用以及复合通道公式的解析,希望能够在实战中帮助到广大投资者。
//基础指标公式
50,DOTLINE;20;80;
DRAWBAND(80,RGB(0,30,255),100,RGB(0,30,255));
DRAWBAND(20,RGB(0,150,200),0,RGB(0,150,200));
DRAWTEXT_FIX(1,0.02,0,0,'★RSI6与RSA12金叉参考买入.死叉参考卖出. ★威廉WR大于80买入区.小于20卖出区.'),COLOR00FFFF,LINETHICK3;
CC:=FORCAST(C,3); HH:=FORCAST(H,3); LL:=FORCAST(L,3);
LC:=REF(WMA((2*CC+HH+LL)/4,3),1);
RSI6:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORFF9900,LINETHICK0;
RSI12:SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,COLOR00FFFF,LINETHICK0;
DRAWBAND(RSI6,RGB(255,80,0),RSI12,RGB(0,255,100));
SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORFF9900,LINETHICK3;
IF(RSI6>REF(RSI6,1),RSI6,DRAWNULL),COLOR0000FF,LINETHICK4;
SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,COLOR00FFFF,LINETHICK2;
威廉WR:FORCAST(100*(HHV(HH,14)-CC)/(HHV(HH,14)-LLV(LL,14)),5),COLOR00FFFF,DOTLINE;
IF(威廉WR>80 ,威廉WR,DRAWNULL),COLOR00FF00,LINETHICK3;
IF(威廉WR<20,威廉WR,DRAWNULL),COLOR0000FF,LINETHICK3;
导入软件之后的基本走势图形有:
//买卖指标公式
N1:=6;
N2:=6;
N3:=6;
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;
MA60:MA(C,60);
MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
A:20;
D:80;
买:=RSI1<20 OR RSI1<80 AND C>REF(C,1)AND VOLREF(MA60,1) AND MA5>REF(MA5,1)AND MA10>REF(MA10,1)AND MA20>REF(MA20,1);
DRAWTEXT(买,RSI1*0.8,'买'),COLOR0099FF;
卖:=RSI1>80 AND VOL>REF(VOL,1);
DRAWTEXT(卖,RSI1*1.09,'卖'),COLOR0099FF;
//精确买卖点公式
LC := REF(CLOSE,1);
R:SMA(MAX(CLOSE-LC,0),9,1)/SMA(ABS(CLOSE-LC),9,1)*10;
K:=r-REF(r,1);
STICKLINE(k>REF(k,1) AND R<3 AND (k<0 OR REF(k,1)<0),3,5,2),colorred;
STICKLINE(k5.5,5,7,2),colorgreen;
x:=(k>REF(k,1) AND R<3.0 AND (k<0 OR REF(k,1)<0))*8;
y:=((k5.5)>0)*8;
//趋势分析
VAR1:=HHV(HIGH,33);
VAR2:=LLV(LOW,33);
A:=(SMA((CLOSE-VAR2)/(VAR1-VAR2),8,1))*(100),COLOR00FFFF;
价格线:EMA(HHV(A,3),1),colorgreen;
va1:=(CLOSE-LLV(LOW,90))/(HHV(HIGH,90)-LLV(LOW,90))*100;
va2:=SMA(va1,9,1),colorwhite;
趋势线:SMA(va2,6,1),colorff00ff;
va4:=3*va2-2*趋势线,colorff00ff;
撑压线:WMA((va2+趋势线+va4)/3,60),colorred;
LC:= REF(CLOSE,1);
RSI6:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,colorwhite;
RSI12:SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,coloryellow;
卖线:85,LINETHICK02,POINTDOT,Color15FF15;
界线:50,LINETHICK02,POINTDOT,ColorFF1EFF;
买线:20,LINETHICK02,POINTDOT,Color28FFFF;