当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:黄金买卖线(同花顺指标 副图 源码 测试图)
软件名称:[B]黄金买卖线(同花顺指标 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:7.00 KB
官方主页:Home Page
更新时间:2023-07-31 00:04:08
软件简介:
黄金买卖线
筹峰:=((COST(85)+COST(15))/2+COST(50))/2;
成本:=MA(筹峰*0.80,10),coloryellow;
CT:(成本/C),colorwhite;
a=GDQYHJ/ZGB;
//净资产:a;
市净率:CLOSE/a;
STICKLINE(市净率>1,49,51,8,0),colorgreen;
//STICKLINE(市净率<1,成,成1,10,0),colorblue,LINETHICK3;
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,colorblue;
中期:B4,colorgreen,LINETHICK1;;
长期:C4,colormagenta,LINETHICK1;
//STICKLINE(短期<1 AND 中期<1 AND 短期<>0 ,30,100,1,0),colorgreen,LINETHICK3;
//STICKLINE(短期<0.2 AND 中期<0.2 ,30,100,1,0),colorred,LINETHICK5;
//STICKLINE(短期<1 AND 长期<1 ,0,100,1,0),colorliblue,LINETHICK5;
//STICKLINE(短期<0.1 AND 长期<0.1 ,0,100,1,0),coloryellow,LINETHICK5;
//STICKLINE(短期<0.01 AND 长期<0.03 ,0,100,1,0),colorred,LINETHICK5;
//STICKLINE(短期<0.01 AND 长期<0.03 AND 成本>100,成本,0,1,0),colorred,LINETHICK5;
STICKLINE(短期>90 AND 中期>70,65,85,10,0),COLOR00FF00;
STICKLINE(中期>95,85,100,10,0),,COLOR00FF00;
STICKLINE(长期>98,0,100,10,0),,COLOR00FF00;
IF(FILTER(中期<REF(中期,1)AND 中期>90 AND BB<REF(BB,1),5),80,100),colorblue,LINETHICK2;
IF(FILTER(中期>REF(中期,1)AND 中期<5 AND C>REF(C,1),5),0,20),COLORDE00DE,LINETHICK2;
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);
警戒:100,LINETHICK1,,coloryellow,LINETHICK1;
强弱:=50,DOTLINE;
安全区:10,COLOR00BB00;
STICKLINE(短期<5 AND 中期<30,0,20,10,0),,colorred;
STICKLINE(短期<5 AND 中期<30 AND CT>=1,20,33,10,0),,coloryellow;
//机构减仓
STICKLINE(((EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3)>10)),65,100,10,0),colorblue;
STICKLINE(((EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3)>10)) AND 长期>98,0,100,10,0),colorblue;
庄筹:EMA(WINNER(C)*70,5), colorred, LINETHICK2;
DRAWTEXT(庄筹>60,100,'★'),colorgreen;
STICKLINE(长期<5 AND 中期<5 AND 长期<>短期 AND 庄筹<5 AND 庄筹<>0 ,20,50,2,0),colorgreen;
STICKLINE(长期<3 AND 中期<3 AND 长期<>短期 AND 庄筹<3 AND 庄筹<>0 ,20,70,2,0),coloryellow;
STICKLINE(长期<1.5 AND 中期<1.5 AND 长期<>短期 AND 庄筹<1.5 AND 庄筹<>0 ,20,82,7,1),coloryellow,LINETHICK2;
STICKLINE(长期<1 AND 中期<1 AND 长期<>短期 AND 庄筹<1 AND 庄筹<>0 ,20,90,7,1),colorred,LINETHICK2;
STICKLINE(长期<0.5 AND 中期<0.5 AND 长期<>短期 AND 庄筹<0.5 AND 庄筹<>0 ,20,100,10,0),colorred;
//DRAWTEXT(长期<1.5 AND 中期<1.5 AND 庄筹<1.5 ,100,'+'),colorred;
STICKLINE(市净率<=1,47,53,8,0),colorgreen;
STICKLINE(市净率<0.7,45,55,9,0),colorlired;
STICKLINE(市净率<0.5,42,58,10,0),colorred;
STICKLINE(市净率<0.4,38,62,10,0),coloryellow;
STICKLINE(市净率<0.3,35,65,10,0),RGB(139,105 ,20);
DIFF:=EMA(CLOSE,9)-EMA(CLOSE,17);
DEA:=EMA(DIFF,8),COLOrffaa00;
MACD:=2*(DIFF-DEA);
DRAWTEXT(MACD>0 AND DIFF<0,75,'m'),colorgreen;
DRAWTEXT(DIFF>0,75,'M'),colorred;
市净:CLOSE/a;
[url=http://www.70822.com/soft/sort013/sort036/down-168633.html]黄金买卖线(同花顺指标 副图 源码 测试图)[/url]