软件名称:[B]缠论结构,缠论的公式(同花顺公式 主图 测试图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:6.00 KB
官方主页:Home Page
更新时间:2020-09-22 00:10:48
软件简介:
缠论结构,缠论的公式
//缠论结构
DRAWTEXT_FIX(C>O,0.35,0.13,0,' ★★★★ 分析家公式网 ★★★★★ '),colorred;
一本:MA(CLOSE, 1),colorred,LINETHICK2;
一本绕线:MA(CLOSE, 20),colorwhite,LINETHICK2;
VAR1aa:=((2)*(CLOSE)+OPEN+HIGH+LOW)/(5);
VAR2aa:=VOL;
A:=(SUM((VAR1aa)*(VAR2aa),8))/(SUM(VAR2aa,8)),coloryellow,LINETHICK2;
B:=LLV(A,8),colorgreen,LINETHICK2;
VAR3aa:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4aa:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3aa>0),91,0);
Var1:=REF(CLOSE,1);
Var2:=MA(CLOSE,5);
Var3:=SMA(MAX(CLOSE-Var1,0),6,1)/SMA(ABS(CLOSE-Var1),6,1)*100;
Var4:=SMA(MAX(CLOSE-Var1,0),12,1)/SMA(ABS(CLOSE-Var1),12,1)*100;
Var5:=SMA(MAX(CLOSE-Var1,0),24,1)/SMA(ABS(CLOSE-Var1),24,1)*100;
Var6:=IF(CROSS(Var3,Var5),LOW,REF(LOW,BARSLAST(CROSS(Var3,Var5))));
Var7:=IF(CROSS(Var5,Var3),HIGH,REF(HIGH,BARSLAST(CROSS(Var5,Var3))));
Var8:=IF(CLOSE>=MA(CLOSE,20),80,50);
Var9:=IF(CLOSE>=MA(CLOSE,20),50,20);
VarA:=IF(Var3<Var8 AND REF(Var3,1)>=Var8,HHV(REF(HIGH,1),BARSLAST(Var3>=Var8 AND REF(Var3,1)<Var8)-1),REF(HHV(REF(HIGH,1),BARSLAST(Var3>=Var8 AND REF(Var3,1)<Var8)-1),BARSLAST(Var3<Var8 AND REF(Var3,1))));
VarB:=IF(HIGH>VarA,LOW,REF(LOW,BARSLAST(HIGH>VarA)));
VarC:=IF(HIGH>VarA,Var3,REF(Var3,BARSLAST(HIGH>VarA)));
VarD:=IF(HIGH>VarB AND Var3<VarC AND Var3<Var5,HIGH,REF(HIGH,BARSLAST(HIGH>VarB AND Var3<VarC AND Var3<Var5)));
VarE:=IF(Var3>Var9 AND REF(Var3,1)<=Var9,LLV(REF(LOW,1),BARSLAST(Var3<=Var9 AND REF(Var3,1)>Var9)-1),REF(LLV(REF(LOW,1),BARSLAST(Var3<=Var9 AND REF(Var3,1)>Var9)-1),BARSLAST(Var3>Var9 AND REF(Var3,1))));
VarF:=IF(LOW<VarE,HIGH,REF(HIGH,BARSLAST(LOW<VarE)));
Var10:=IF(LOW<VarE,Var3,REF(Var3,BARSLAST(LOW<VarE)));
Var11:=IF(LOW<VarF AND Var3>Var10 AND Var3>Var5,LOW,REF(LOW,BARSLAST(LOW<VarF AND Var3>Var10 AND Var3>Var5)));
支撑线: Var11,colorgray ,LINETHICK3;
中期压力: VarD, colorliblue,LINETHICK2;
短期压力: VARB, coloryellow,LINETHICK2;
Z:=(3*C+L+O+H)/6,LINETHICK0;
X:=(20*A+19*REF(Z,1)+18*REF(Z,2)+17*REF(Z,3)+16*REF(Z,4)+15*REF(Z,5)+
14*REF(Z,6)+13*REF(Z,7)+12*REF(Z,8)+11*REF(Z,9)+10*REF(Z,10)+9*REF(Z,11)+8*REF(Z,12)
+7*REF(Z,13)+6*REF(Z,14)+5*REF(Z,15)+4*REF(Z,16)+3*REF(Z,17)+2*REF(Z,18)+
REF(Z,20))/210;//分析家公式网 www.70822.com
一本二季:EMA(X,10),COLORFF00FF,LINETHICK1;
远期压力:MA(REF(HHV(C,38),1),2),colorgreen;
DRAWICON(CROSS(一本,中期压力) ,一本,1);
DRAWICON(CROSS(短期压力,中期压力) ,短期压力,11);
DRAWICON(CROSS(中期压力,短期压力) ,中期压力,2);
DRAWICON(CROSS(一本绕线,一本二季) ,一本绕线,13);
[url=http://www.70822.com/soft/sort013/sort036/down-150805.html]缠论结构,缠论的公式(同花顺公式 主图 测试图)[/url]