当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:太阳波段V02(同花顺公式 副图 源码 测试图)
软件名称:[B]太阳波段V02(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:6.00 KB
官方主页:Home Page
更新时间:2022-10-25 00:07:02
软件简介:
太阳波段V02同花顺指标
趋10上穿350,趋30大于150,差趋大于50,走向主升浪;
二十日>0.032,波段有肉吃;
二十日>0.075,打板有肉吃;
TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;
CCI:(TYP-MA(TYP,88))/(0.015*AVEDEV(TYP,88));
LC := REF(CLOSE,1);
RSI$1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI$2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
RSI$3:=SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100;
BIAS: =(CLOSE-MA(CLOSE,N1))/MA(CLOSE,N1)*100;
BIAS2 : =(CLOSE-MA(CLOSE,N2))/MA(CLOSE,N2)*100;
BIAS3 : =(CLOSE-MA(CLOSE,N3))/MA(CLOSE,N3)*100;
LC:=REF(CLOSE,1);
AA:=ABS(HIGH-LC);
BB:=ABS(LOW-LC);
CC:=ABS(HIGH-REF(LOW,1));
DD:=ABS(LC-REF(OPEN,1));
R:=IF(AA>BB AND AA>CC,AA+BB/2+DD/4,IF(BB>CC AND BB>AA,BB+AA/2+DD/4,CC+DD/4));
X:=(CLOSE-LC+(CLOSE-OPEN)/2+LC-REF(OPEN,1));
r:=16*X/R*MAX(AA,BB);
ASI1:=SUM(r,0);
DDX1:=SMA(MA(r,1,1),2,1)*5,colorwhite;
DDX8:=MA(DDX1,3),COLOR00FFFF;
DDX2:=SMA(DDX8,7,2),color0000FF,linethick2;
DDX3:=EMA((DDX1+DDX2)/2,2),color00EE00;
总:=AMOUNT/10000/10000,colorwhite,NODRAW;
VAR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
入:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2))/10000/10000,colorred,NODRAW;
出:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-AMOUNT/2))/10000/10000,COLOR00FF00,NODRAW;
差:入+出,colorwhite,NODRAW;
VAR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
地域:=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;
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
IF(PERIODNAME<>"日线")
{
统计:="该指标只在日线周期下有效。";
RETURN;
}
r:=((ZDMR[-1]+BDMR[-1])-(ZDMC[-1]+BDMC[-1]))*CLOSE/100000;
趋10:EMA(EMA(r,N4),3)*10,coloryellow;
趋30:EMA(EMA(r,K),3)*10,colormagenta;
差趋:EMA(EMA(差,K),3)*1000,colorcyan;
净额:r*10,NODRAW;
净比:=r*100000/MONEY*100,NODRAW;
r1:=((ZDMR[-1]+BDMR[-1])-(ZDMC[-1]+BDMC[-1]))/SHGZG*100;
大单净量:=r1,NODRAW;
STICKLINE(r>0,0,r,8),color0000ff;
STICKLINE(r<0,0,r,8),color00ff00;
r0:=((IF(ISNULL(ZDMR[-1]),0,ZDMR)+IF(ISNULL(BDMR[-1]),0,BDMR))
-(IF(ISNULL(ZDMC[-1]),0,ZDMC)+IF(ISNULL(BDMC[-1]),0,BDMC)))
/SHGZG*100;
dde:r1,colorwhite,NODRAW;
二十日:MA(r1,20),colorwhite;
流通值:=SHGZG/100000000*CLOSE,colorwhite;
占比:=差趋/流通值,colorwhite;
DRAWTEXT(趋30>50 AND CROSS(趋10,300),250,"▲"),coloryellow;
DRAWTEXT(趋30>50 AND CROSS(趋10,300),500,"▲"),coloryellow;
DRAWTEXT(趋30>50 AND CROSS(趋10,300),800,"▲"),coloryellow;
DRAWTEXT(CROSS(趋30,150) AND 趋10>300,250,"▲"),coloryellow;
DRAWTEXT(CROSS(趋30,150) AND 趋10>300,500,"▲"),coloryellow;
DRAWTEXT(CROSS(趋30,150) AND 趋10>300,800,"▲"),coloryellow;
RETURN r0;
[url=http://www.70822.com/soft/sort013/sort036/down-164669.html]太阳波段V02(同花顺公式 副图 源码 测试图)[/url]