当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:金盆买卖B(同花顺指标 副图 源码 测试图)
软件名称:[B]金盆买卖B(同花顺指标 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:10.0 KB
官方主页:Home Page
更新时间:2023-02-15 00:04:13
软件简介:
金盆买卖B
DIFF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:EMA(DIFF,M),COLOrffaa00,colorgreen,LINETHICK1;
A:=250*DIFF+50;
B:=250*DEA+50;
持股指标:(A-B)*4*0.00985;
MACD : 500*(DIFF-DEA)+50,coloryellow,LINETHICK1;
STICKLINE(MACD>=50,MACD,50,4,1),COLORF00FF0;
STICKLINE(MACD<50,MACD,50,4,1),colorwhite;
STICKLINE(MACD<REF(MACD,1)AND MACD>50,50,MACD,4,0 ),COLOR00aaff;
STICKLINE(MACD>50 AND MACD>=REF(MACD,1),50,MACD,5,0),color0000ff;
STICKLINE(MACD>50 AND MACD<REF(MACD,1),50,MACD,4,0),coloryellow;
STICKLINE(MACD<50 AND MACD>=REF(MACD,1),50,MACD,5,0),colorff00ff;
STICKLINE(MACD<50 AND MACD<REF(MACD,1),50,MACD,4,0),colorblue;
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
STICKLINE(低位金叉,B*0.86,B*0.66,6,0),coloryellow;
DRAWTEXT(低位金叉,B*0.86,' 低位金叉'),coloryellow;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
STICKLINE(二次金叉,B*0.96,B*0.76,6,0),ColorFF00FF;
DRAWICON(二次金叉,B*1.1,'BUY') ;
DRAWTEXT(二次金叉,B*0.96,' 二次金叉'),ColorFF00FF;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
STICKLINE(底背离,B*1.09,B*0.86,6,0),Color00FF00;
DRAWLINE(A1=0,B,底背离,B,0),colorred,linethick1;
DRAWTEXT(底背离,B*1.09,' 底背离'),Color6600FF;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);
DRAWLINE(A2=0,B,顶背离,B,0),colorgreen,linethick1;
DRAWTEXT(顶背离,B*1.2,' 顶背离'),Color00FF00;
强:IF(DIFF>=DEA,A,DRAWNULL),colorred,LINETHICK4;
弱:IF(DEA>=DIFF,B,DRAWNULL),COLORFF9900,LINETHICK2;
VAR1:=EMA(HHV(HIGH,500),21);
VAR2:=EMA(HHV(HIGH,250),21);
VAR3:=EMA(HHV(HIGH,90),21);
VAR4:=EMA(LLV(LOW,500),21);
VAR5:=EMA(LLV(LOW,250),21);
VAR6:=EMA(LLV(LOW,90),21);
VAR7:=EMA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558)/6,21);
VAR8:=EMA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55+VAR3*0.65)/6,21);
VAR9:=EMA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,21);
VARA:=EMA((VAR7*3+VAR8*2+VAR9)/6*1.738,21);
VARB:=REF(LOW,1);
VARC:=SMA(ABS(LOW-VARB),3,1)/SMA(MAX(LOW-VARB,0),3,1)*100;
VARD:=EMA(IF(CLOSE*1.35<=VARA,VARC*10,VARC/10),3);
VARE:=LLV(LOW,30);
VARF:=HHV(VARD,30);
VAR10:=IF(MA(CLOSE,58),1,0);
资金入场1:= EMA(IF(LOW<=VARE,(VARD+VARF*2)/2,0),3)/618*VAR10;
资金入场:=IF(资金入场1>0,资金入场1,0),LINETHICK1,colorred;
V9:=TROUGHBARS(3,15,1)<10;
V10:=PEAKBARS(3,15,1)<10;
V11:=IF(V9=1,50,0);
V12:=IF(V10=1,50,0);
底部:=IF(V11=50,50,0);
买低位:=IF(底部>REF(底部,1),1,0),colorred,LINETHICK3;
DRAWTEXT(买低位,80,'主力建仓 '),colorred;
STICKLINE(买低位,0,100,4,0),colorlimagenta;
头部:=IF(V12=50,100,0);
卖高顶:=IF(头部>REF(头部,1),1,0),colorgreen,LINETHICK3;
DRAWTEXT(卖高顶,80,'拉高出货'),coloryellow;
STICKLINE(卖高顶,-0,100,4,0),colorgreen;
HS:=V/CAPITAL*100;
趋势线:3.2*SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1),3,2),colorblue,LINETHICK2;
高顶卖:=IF(头部>REF(头部,1),18,0),colorcyan,LINETHICK3;
DRAWTEXT(高顶卖,90,'●盆将成 '),colorblue;
V7:=TROUGHBARS(3,15,1)<10;
低位买:=IF((V7 AND COUNT(V7,3)=1),35,0),colorlired,LINETHICK3;
DRAWTEXT(低位买,90,'●将铸盆 '),colormagenta;
VAEC:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG
(3,5),2)<=REF(ZIG(3,5),3));
VAED:=(ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG
(3,5),2)>=REF(ZIG(3,5),3));
STICKLINE((VAEC=1),0,30,3,0),colormagenta;
DRAWTEXT((VAEC=1),20,'买'),colormagenta;
STICKLINE((VAED=1),0,30,3,0),COLOR00FF00;
DRAWTEXT((VAED=1),20,'卖'),COLOR00FF00;
VAR1M:=(HHV(HIGH,21)-C)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
VAR2M:=(C-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR3M:=SMA(VAR2M,13,8);
空方:SMA(VAR1M,21,8),colorgreen,LINETHICK2;
多方:SMA(VAR3M,13,8),colorred,LINETHICK2;
RSV=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
a=SMA(RSV,M1,1);
b=SMA(a,M2,1);
e=3*a-2*b;
K:a,colorblue,LINETHICK1;
D:b,colorgreen,LINETHICK1;
J:e,colormagenta,LINETHICK2;
F:=ZIG(3,15);
方向:IF((F> REF(F,1)),0,100),colorred,LINETHICK3;
F1:=ZIG(3,5);
方向1:=IF((F1> REF(F1,1)),0,100);
STICKLINE(方向1>0,100,110,10,0),COLOR00FF00;
STICKLINE(方向1<90,-10,0,10,0),colorred;
天线:100;
强弱:50;
地线:0;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI雷达:((TYP-MA(TYP,89))/(0.015*AVEDEV(TYP,89)))*0.5+50,colorwhite,LINETHICK2;
M1 := EMA( CLOSE, 3 );
M2 := EMA( CLOSE, 5);
MD :=M1 - M2;
MM := EMA( MD, 3 );
吸 : IF( MD >= MM AND MD<= 0,CCI雷达, DRAWNULL ), colorlired, LINETHICK5;
拉 : IF( MD >= MM AND MD >0, CCI雷达, DRAWNULL ), colorred,LINETHICK6;
派 : IF( MM>= MD AND MD > 0,CCI雷达, DRAWNULL ), colorgreen,LINETHICK2;
落 : IF( MD < MM AND MD < 0,CCI雷达, DRAWNULL ), colorwhite,LINETHICK2;
[url=http://www.70822.com/soft/sort013/sort036/down-166307.html]金盆买卖B(同花顺指标 副图 源码 测试图)[/url]