当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:周期波段趋势,看图波段操作指标(同花顺公式 副图 源码 测试图)
软件名称:[B]周期波段趋势,看图波段操作指标(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:10.0 KB
官方主页:Home Page
更新时间:2022-05-27 00:09:55
软件简介:
周期波段趋势
看图波段操作指标,绿线在白线上方上行持股
N:=13;
M:=50;
N1:=500;
N2:=0;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26),LINETHICK2;
DEA:=EMA(DIFF,9),LINETHICK2;
MACD1:=(DIFF-DEA)*2*100*0.1;
MACD:=30*(MACD1/MAX(HHV(MACD1,N2),ABS(LLV(MACD1,N2)))),colorblack;
DIFF1:=50*DIFF/MAX(HHV(DIFF,N),ABS(LLV(DIFF,N2)));
DEA1:=50*DEA/MAX(HHV(DEA,N2),ABS(LLV(DEA,N2)));
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,4,1),colorred;
STICKLINE(MACD<REF(MACD,1) AND MACD>0,0,MACD,4,1),COLOR4080FF;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,100,100+MACD,4,1),coloryellow;
STICKLINE(MACD<REF(MACD,1) AND MACD<0,100,100+MACD,4,1),colorligreen;
QS:=5*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)) *100,5,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2,1),LINETHICK1,COLOR7F52AF;
QS1:EMA(MA(QS,5),3),LINETHICK2,colorlimagenta;
VARL:=LLV(LOW,4);
VARH:=HHV(HIGH,4);
K:EMA((CLOSE-VARL)/(VARH-VARL)*100,5),colorred;
D:=EMA(0.667*REF(K,1)+0.333*K,2);
BOLL:=MA(CLOSE,20),colorwhite,LINETHICK1;
UPPER:=BOLL+2*STDP(CLOSE,20),DOTLINE,colorwhite;
LOWER:=BOLL-2*STDP(CLOSE,20),DOTLINE,colorwhite;
短线成本:=EMA(CLOSE,17),LINETHICK2,colorwhite;
A:=(3*C+L+O+H)/6;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF (A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/210;
中线成本:=EMA(X,13),LINETHICK2,COLORFF00FF;
STICKLINE(BARSLAST(短线成本<中线成本)>30,95,100,5,0),colorred;
STICKLINE(BARSLAST(短线成本>中线成本)>30,0,5,5,0),colorgreen;
VAR1:=1;
VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
N3:=5;
N4:=34;
CQ:=100*(C-LLV(L,N4))/(HHV(C,N4)-LLV(L,N4));
SAT:=(AMOUNT/C)/(HHV(AMOUNT,N4)/HHV(C,N4));
饱和度:=IF(SAT>1,1,SAT)*100;
W1:=C=HHV(C,20);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
中期:=100*(C-LLV(L,N4))/(HHV(C,N4)-LLV(L,N4));
持股:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)) *100,5,1),3,1);
支撑:=LLV(持股,3);
短期线:EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4)*VAR1*30,LINETHICK2,colorgreen;
中期线:MA(持股,12),colorwhite,LINETHICK3;
A1:=MA(C,1);
A5:=MA(C,5);
DEA:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42);
fish:=(A1-A5);
多空趋势:=(A1-DEA);
//鱼身:50+fish*P,DOTLINE,LINETHICK2,colorwhite;
//STICKLINE(FISH>=REF(FISH,1) AND k>REF(k,1),50,鱼身,2,1),colorwhite;
人:=REF(MA((SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0)-SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0)-0.5*SUM(IF( CLOSE=REF (CLOSE,1),VOL*C,0),0)),1)/REF(MA((SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0)-SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0)-0.5*SUM(IF( CLOSE=REF (CLOSE,1),VOL*C,0),0)),1),1)>1,1)<1 AND MA((SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0)-SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0)-0.5*SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0)),1)/REF(MA((SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0)-SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0)-0.5*SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0)),1),1)>1;
发财:=人 AND (EMA(MA(DVOL*DCLOSE/100,2),2))/100000>REF((EMA(MA(DVOL*DCLOSE/100,2),2))/100000,1) AND (EMA(MA (DVOL*DCLOSE/100,2),2))/100000/REF((EMA(MA(DVOL*DCLOSE/100,2),2))/100000,1) ;
黑马:=C>MA(AMOUNT/V/100,3) AND MA(AMOUNT/V/100,3)<REF(MA(AMOUNT/V/100,3),1) AND REF(MA(AMOUNT/V/100,3),1)<REF(MA(AMOUNT/V/100,3),2) AND REF(MA(AMOUNT/V/100,3),2)<REF(MA(AMOUNT/V/100,3),3) AND 发财;
STICKLINE(黑马,-8,0,8,0),colorred,LINETHICK2;
VAR4:4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5)) *100,5,1),3.2,1),colorgray,LINETHICK2;
VAR5:8,colorgreen,DOTLINE,LINETHICK0;
准备拉升:IF(CROSS(VAR4,VAR5),80,0),STICK,COLOR0000CC,LINETHICK2;
DRAWTEXT(VAR4<15 OR (短期线<20 AND 中期线>40 AND VAR4<30),VAR4,'底');
DRAWTEXT(REF(VAR4,1)<10 AND CROSS(VAR4,8),VAR4,'建'),colorred;
DRAWTEXT(VAR4>90,VAR4,'高');
L_8:-8,colorblue;
L0:0;
L80:80,colorred;
L20:20,colorgreen;
L100:100,colorwhite;
L108:108,colorblue;
L50:50,colorwhite;
[url=http://www.70822.com/soft/sort013/sort036/down-162547.html]周期波段趋势,看图波段操作指标(同花顺公式 副图 源码 测试图)[/url]