当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:太阳波段V01(同花顺公式 副图 源码 测试图)
软件名称:[B]太阳波段V01(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:8.00 KB
官方主页:Home Page
更新时间:2022-06-19 00:12:32
软件简介:
太阳波段V01(
TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;
CCI:(TYP-MA(TYP,28))/(0.015*AVEDEV(TYP,28));
a:100;
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/10000;
大单净额:r;
大单净比:r*100000/MONEY*100;
r1:=((ZDMR[-1]+BDMR[-1])-(ZDMC[-1]+BDMC[-1]))/SHGZG*100;
大单净量:=r1;
STICKLINE(r>0,0,r,8),color0000ff;
STICKLINE(r<0,0,r,8),color00ff00;
大单趋势:EMA(EMA(r,30),3)*10,color00ffff;
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;
IF (MARKETTYPE == 16 OR MARKETTYPE == 32 OR MARKETTYPE == 48)
总手:VOL;
ELSE
总量:VOL;
IF (K<=0)
RETURN 0;
MAVOL$1:MA(VOL,5);
IF (k<=1)
RETURN 0;
MAVOL$2:MA(VOL,10);
IF (k<=2)
RETURN 0;
MAVOL$3:MA(VOL,20);
成五:MAVOL$1-MAVOL$3;
成十:MAVOL$2-MAVOL$3;
RSV=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
a=SMA(RSV,6,1);
b=SMA(a,3,1);
e=3*a-2*b;
DRAWTEXT(CROSS(BIAS,4) AND CROSS(BIAS2,5.5) AND BIAS3>5 AND dde>0.65 AND 差额亿>0.44,250,"▲"),coloryellow;
DRAWTEXT(CROSS(BIAS,4) AND CROSS(BIAS2,5.5) AND BIAS3>5 AND dde>0.65 AND 差额亿>0.44,-300,"▲"),coloryellow;
DRAWTEXT(CROSS(BIAS,4) AND CROSS(BIAS2,5.5) AND BIAS3>5 AND dde>0.65 AND 差额亿>0.44,800,"▲"),coloryellow;
DRAWTEXT(CROSS(BIAS,4) AND CROSS(BIAS2,5.5) AND BIAS3>5 ,800,"▲"),coloryellow;
DRAWTEXT(CROSS(BIAS,4) AND CROSS(BIAS2,5.5) AND BIAS3>5 ,-300,"▲"),coloryellow;
DRAWTEXT(CROSS(BIAS,1.45) AND BIAS2>1.5 AND CROSS(RSI$1,59) AND BIAS3>BIAS2,800,"B"),colorcyan;
DRAWTEXT(CROSS(BIAS,1.45) AND BIAS2>1.5 AND CROSS(RSI$1,59) AND BIAS3>BIAS2,-300,"B"),colorcyan;
DRAWTEXT(CROSS(BIAS,1.45) AND BIAS2>1.5 AND CROSS(RSI$1,59) AND BIAS3>0,800,"B"),colorcyan;
DRAWTEXT(CROSS(BIAS,1.45) AND BIAS2>1.5 AND CROSS(RSI$1,59) AND CROSS(RSI$2,56) AND BIAS3>0,100,"J"),colorcyan;
RETURN r0;
[url=http://www.70822.com/soft/sort013/sort036/down-162910.html]太阳波段V01(同花顺公式 副图 源码 测试图)[/url]