当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:黄金买卖突破(同花顺公式 副图 源码 测试图)
软件名称:[B]黄金买卖突破(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:8.00 KB
官方主页:Home Page
更新时间:2022-01-03 00:05:45
软件简介:
黄金买卖突破
本公式是益盟操盘公式转换而来的。
Var1:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
Var2:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
Var3:=100-MA(100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6)),28);
买:IF(Var2<MA(Var3,6),MA(Var3,6),Var2),colorred,linethick1;
强弱线:MA(Var3,6),coloryellow,DOTLINE,linethick2;
///黄金买卖/////
AA:=(O+H+L+C)/4;
BB:=MA(AA,3);
CC:=SUM(IF(AA>REF(AA,1),AA*VOL,0),4)/SUM(IF(AA<REF(AA,1),AA*VOL,0),4);
DD:=REF(100-(100/(1+CC)),1);
A1:=HHV(AA,15);
A2:=LLV(AA,15);
A3:=A1-A2;
A4:=EMA((AA-A2)/A3,2)*100;
B1:=HHV(AA,60);
B2:=LLV(AA,60);
B3:=B1-B2;
B4:=EMA((AA-B2)/B3,2)*100;
C1:=HHV(AA,240);
C2:=LLV(AA,240);
C3:=C1-C2;
C4:=EMA((AA-C2)/C3,2)*100;
短:A4,colorwhite,DOTLINE,LINETHICK1;
中:B4,colorgreen,LINETHICK1;
长:C4,colorblue,LINETHICK1;
STICKLINE(短>90 AND 中>70,86,94,6,0);
STICKLINE(短<5 AND 中<30,0,8,6,0);
IF(FILTER(中<REF(中,1)AND 中>90 AND BB<REF(BB,1),5),80,100);
IF(FILTER(中>REF(中,1)AND 中<5 AND C>REF(C,1),5),20,0);
D1:=中>REF(中,1)AND 短>REF(短,1)AND 长>REF(长,1)AND 长<8 AND 中<10 AND 短<15;
D2:=CROSS(短,中)AND 中<8;
D3:=CROSS(短,长)AND 长<8 AND 中<20;
DRAWICON(FILTER((D1 OR D2 OR D3) AND DD<15 AND C>REF(C,1),5),5,1);
DRAWICON(FILTER((中<REF(中,1)AND 短<REF(短,1)AND 长<REF(长,1)AND 中>95 AND 短>85)OR (长>100 AND 中>100 AND 短>100),5),95,2);
分界:50,colorwhite,DOTLINE,LINETHICK1;
警戒:95,colorgreen,LINETHICK1;
安全:=5,COLOR00BB00;
///多空K线/////
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
做多:=IF(K>D AND MACD>0 AND V>1,2,0);
做空:=IF(K<D AND MACD<0 AND V>1,-2,0);
强洗:=IF(MACD>0 AND K<D AND V>1,1,0);
弱升:=IF(MACD<0 AND K>D AND V>1,-1,0);
支撑:IF((EMA(CLOSE,15)-REF(EMA(CLOSE,15),1))/REF(EMA(CLOSE,15),1)*100>=0,REF(EMA(CLOSE,15),BARSLAST(CROSS((EMA(CLOSE,15)-REF(EMA(CLOSE,15),1))/REF(EMA(CLOSE,15),1)*100,0))+1),DRAWNULL),colorred,LINETHICK2;
阻力:IF((EMA(CLOSE,15)-REF(EMA(CLOSE,15),1))/REF(EMA(CLOSE,15),1)*100<0,REF(EMA(CLOSE,15),BARSLAST(CROSS(0,(EMA(CLOSE,15)-REF(EMA(CLOSE,15),1))/REF(EMA(CLOSE,15),1)*100))+1),DRAWNULL),colorgreen,LINETHICK2;
////介必升/////
JBS:=C/REF(C,1)>1.05 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
介必升:=FILTER(JBS,28)*100;
VAR1:=IF((C/REF(C,1)>1.05 AND H/C<1.01 AND C>REF(C,1)),91,0);
VAR2:=FILTER((VAR1>90),45) AND FILTER((VAR1>90),35) AND 介必升>0;
抄底:=VAR2 AND COUNT(VAR2,60)=1;
DRAWTEXT(抄底,71,'抄'),coloryellow;
DRAWICON(抄底,51.7,13);
///金叉.,共振/////
DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;
DEA:=EMA(DIF,9);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,9,3);
D_:=SMA(K,9,3);
GZ:=CROSS(DIF,DEA) AND CROSS(K,D_);
DRAWTEXT(GZ,51.7,'金振'),colorwhite;
///突破信号//////
N:=19;
VAR111:=HHV(HIGH,N);
VAR222:=LLV(LOW,N);
阻力线:=EMA((CLOSE-VAR222)/(VAR111-VAR222),21)-0.5,NODRAW;
操作线:=EMA((CLOSE-VAR222)/(VAR111-VAR222),5)-0.5,NODRAW;
DRAWTEXT(CROSS(操作线,阻力线) AND 阻力线<0.1,阻力线+5,'突'),colorwhite;
DRAWTEXT(CROSS(阻力线,操作线) AND 阻力线>0.25,阻力线+5,'破位'),colorgreen;
[url=http://www.70822.com/soft/sort013/sort036/down-160039.html]黄金买卖突破(同花顺公式 副图 源码 测试图)[/url]