当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:主力操盘(同花顺公式 副图 源码 测试图)
软件名称:[B]主力操盘(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2021-05-06 00:13:00
软件简介:
X1:=ZIG(3,50/5)*100;
X2:=MA(ZIG(3,50/5)*100,2);
dd:=CROSS(X1,X2);
X3:=MA(ZIG(3,50/5)*100,2);
X4:=ZIG(3,50/5)*100;
ww:=CROSS(X3,X4);
DRAWTEXT(dd,90,'买'), coloryellow;
DRAWTEXT(ww,90,'卖'), colorgreen;
N:=9;M1:=3;M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1),coloryellow,LINETHICK1;
D:SMA(K,M2,1),colorcyan,LINETHICK1;
// 高安全区:0,colorred;
// 安全区:20,colorcyan;
// 风险区:80,colorgreen;
//U1:=BARSLAST(REF(CROSS(K,D),1));
// U2:=REF(C,U1+1)>C AND REF(K,U1+1)<K AND CROSS(K,D)AND d<50;
//底背离:=IF(U2>0,1,0);
// DRAWLINE(U1=0,D,底背离,REF(D,U1),0),colorred,LINETHICK1;
//DRAWLINE(底背离,D,底背离,REF(D,U1),0),colorred,LINETHICK1;
//DRAWTEXT(底背离,REF(D,U1)*1.00,' 底背离'),coloryellow;
// rr:=MAX(C,O);
// q1:=HHV(rr,5);
// q2:=d<REF(d,1) AND REF(d,1)>REF(d,2);
// A2:=BARSLAST(REF(q2,1));
//顶背离:= REF(q1,A2+1)<q1 AND k<REF(k,A2+1) AND q2;
// DRAWLINE(A2=0 ,D,顶背离,REF(D,A2),0),colorwhite,LINETHICK2;
// DRAWLINE(顶背离,D,顶背离,REF(D,A2),0),colorwhite,LINETHICK2;
//DRAWTEXT(顶背离,REF(D,A2)*1.02,' 顶背离'),colorgreen;
//庄家吸筹
AVAR1:=IF(YEAR>=2038 AND MONTH>=1,0,1);
AVAR2:=REF(LOW,1)*AVAR1;
AVAR3:=SMA(ABS(LOW-AVAR2),3,1)/SMA(MAX(LOW-AVAR2,0),3,1)*100*AVAR1;
AVAR4:=EMA(IF(CLOSE*1.3,AVAR3*10,AVAR3/10),3)*AVAR1;
AVAR5:=LLV(LOW,30)*AVAR1;
AVAR6:=HHV(AVAR4,30)*AVAR1;
AVAR7:=IF(MA(CLOSE,58),1,0)*AVAR1;
AVAR8:=EMA(IF(LOW<=AVAR5,(AVAR4+AVAR6*2)/2,0),3)/618*AVAR7*AVAR1;
吸筹:=IF(AVAR8>80,80,AVAR8)*AVAR1,colorwhite;
庄家吸筹:STICKLINE(吸筹>0,0,吸筹,8,0),colorred;
iK:=SMA(RSV,3,1);
iD:=SMA(K,3,1);
iJ:=3*iK-2*iD;
庄家:=EMA(iJ,6),colorwhite,LINETHICK2;
//抄底出货
VAR2:=1/WINNER(CLOSE);
VAR3:=MA(CLOSE,13);
VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100);
VAR5:=LLV(LOW,75);
VAR6:=HHV(HIGH,75);
VAR7:=(VAR6-VAR5)/100;
VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);
VAR9:=SMA((OPEN-VAR5)/VAR7,20,1);
VARA:=3*VAR8-2*SMA(VAR8,15,1);
VARB:=3*VAR9-2*SMA(VAR9,15,1);
VARC:=100-VARB;
主力仓位:= (100-VARA),colorred,LINETHICK3;
VARE:=REF(LOW,1)*0.9;
VARF:=LOW*0.9;
VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;
VAR11:=EMA(VAR10,30);
VAR12:=CLOSE-REF(CLOSE,1);
VAR13:=MAX(VAR12,0);
VAR14:=ABS(VAR12);
VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;
VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;
VAR17:=BARSCOUNT(CLOSE);
VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;
VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);
VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR1D:=SMA(VAR1C,4,1);
VAR1E:=SMA(VAR1D,3,1);
VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15<22 AND VAR16<28 AND VAR17>50;
VAR21:=(HIGH+LOW+CLOSE)/3;
VAR22:=(VAR21-MA(VAR21,14))/(0.015*AVEDEV(VAR21,14));
VAR23:=(VAR21-MA(VAR21,70))/(0.015*AVEDEV(VAR21,70));
VAR24:=IF(VAR22>=150 AND VAR22<200 AND VAR23>=150 AND VAR23<200,10,0);
VAR25:=IF(VAR22<=-150 AND VAR22>-200 AND VAR23<=-150 AND VAR23>-200,-10,VAR24);
//STICKLINE(VAR20,0,80,5,0),LINETHICK5,colorred;
//DRAWTEXT(CROSS(VAR20,0.5) AND COUNT(VAR20=1,10)=1,95,'主力建仓!'),LINETHICK7 , colorred;
天堂:=100,colorblue;
V6:=CLOSE/REF(CLOSE,3)>=1.1;
V7:=BACKSET(V6,3);
买:=IF((V7 AND COUNT(V7,3)=1),50,0),colormagenta,LINETHICK1;
//DRAWTEXT(买,50,'买 '),colormagenta;
V10:=PEAKBARS(3,15,1)<10;
V12:=IF(V10=1,50,0);
头部:= IF(V12=50,100,0);
出货:IF(头部>REF(头部,1),20,0),colorgreen,LINETHICK2;
DRAWTEXT(出货,20,'出货 '),colorgreen,LINETHICK1;
V9:=TROUGHBARS(3,15,1)<10;
V11:=IF(V9=1,50,0);
底部:=IF(V11=50,50,0);
抄底:IF( 底部>REF(底部,1),50,0),coloryellow,LINETHICK2;
DRAWTEXT(抄底,50,'抄底 '),coloryellow,LINETHICK1;
// V7:=TROUGHBARS(3,15,1)<10; V9:=IF(V7=1,50,0);
[url=http://www.70822.com/soft/sort013/sort036/down-155768.html]主力操盘(同花顺公式 副图 源码 测试图)[/url]