当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:主力操盘线买卖(同花顺公式 主图 源码 测试图)
软件名称:[B]主力操盘线买卖(同花顺公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:10.0 KB
官方主页:Home Page
更新时间:2024-08-11 07:33:41
软件简介:
主力操盘线买卖
操盘线均叉、成交倍量 介入,反之卖出
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
主力操盘线 :(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,colormagenta,LINETHICK2;
止损线:MA(主力操盘线 ,5),coloryellow;
MA5:MA(C,5),colorwhite,DOTLINE;
MA7:MA(C,7),COLORFAAAAA,DOTLINE;
KMJ:=MA(C,3);
VAR1:=KMJ>REF(KMJ,1) AND KMJ>REF(KMJ,2);
VAR2:=REF(VAR1,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VAR3:=REF(VAR2,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VAR4:=REF(VAR3,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VAR5:=REF(VAR4,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VAR6:=REF(VAR5,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VAR7:=REF(VAR6,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VAR8:=REF(VAR7,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VAR9:=REF(VAR8,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VARA:=REF(VAR9,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VARB:=REF(VARA,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VARC:=REF(VARB,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VARD:=KMJ<REF(KMJ,1) AND KMJ<REF(KMJ,2);
VARE:=REF(VARD,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VARF:=REF(VARE,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VAR10:=REF(VARF,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VAR11:=REF(VAR10,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VAR12:=REF(VAR11,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VAR13:=REF(VAR12,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VAR14:=REF(VAR13,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VAR15:=REF(VAR14,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VAR16:=REF(VAR15,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VAR17:=REF(VAR16,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VAR18:=REF(VAR17,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;
VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;
KMJMR:DRAWTEXT(VAR19 AND V>MA(V,60),L*0.998,'←主力建仓'),colorred;
KMJMC:DRAWTEXT(VAR1A,H*1.002,'←主力减仓'),colorwhite;
AAE:= WINNER(CLOSE+CLOSE*15/100)*100;
BBE:= WINNER(CLOSE+CLOSE*0/100)*100;
CCE:= AAE-BBE;
DDE:= (WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;
EEE:= CCE<3 AND DDE<0.5 AND OPEN>LOW;
AE1:= DYNAINFO(6);
VAW1:=EMA(EMA(CLOSE,13),13);
控盘:=(VAW1-REF(VAW1,1))/REF(VAW1,1)*1000;
无庄控盘:=控盘<0;
有庄控盘:=控盘>REF(控盘,1) AND 控盘>0;
JJ:=DYNAINFO(11);
P:=21;S:=8;M1D:=3;
财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*50;
神:=EMA(财,M1D);
BTJ1:=(C-JJ)/JJ<-0.03;
BTJ11:=(C-JJ)/JJ<-0.03;
BTJ12:=LAST(JJ>=REF(JJ,1),5,1) AND (C-JJ)/JJ<0.005;
STJ1:=(C-JJ)/JJ>0.005;
STJ01:=控盘<REF(控盘,1) AND 控盘>0.5;
STJ02:=控盘>0;
BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2;
BTJ22:=控盘>REF(控盘,1) AND 控盘<0 ;
BTJ3:=CROSS(财,神) AND 财<-0.3;
BTJ32:=CROSS(财,神) AND 财<-0.1;
STJ31:=CROSS(神,财);
STJ32:=CROSS(神,财) AND 财>1.618;
BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,13);
BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);
BTJ82:=FILTER(BTJ12 AND BTJ22 AND BTJ32,13);
STJ81:=FILTER(STJ1 AND STJ01 AND STJ31,13);
STJ82:=FILTER(STJ02 AND STJ32 ,13);
STJ83:=STJ81 AND STJ82;
DRAWTEXT(STJ83,H*0.988,'↙ 庄减仓'),colorgreen;
DRAWICON(STJ83,H*0.987,39);
庄:= BTJ11 AND BTJ2 AND BTJ3;
有庄:=FILTER(庄,30) AND 控盘;
DRAWTEXT(有庄,(L+C)/2,'↖ 庄家进场'),coloryellow;
LC:=REF(CLOSE,1);
涨停:=IF(REF(C,1)*1.1-C<0.2 ,1,0);
操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
趋势线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;
震仓线:=45;
震仓线2:=50;
逃命线:=80;
抄底线:=20;
绝底线:=5;
PP2:=操作线<震仓线2 AND REF(操作线,1)>震仓线2 ;
PP:=操作线<震仓线 AND REF(操作线,1)>震仓线 ;
PP3:=操作线<抄底线 AND REF(操作线,1)>抄底线;
HH:=COUNT(涨停,13)>=1;
A:=SMA(L,4,3) ;
STICKLINE(A AND REF(PP3,1) AND HH ,A*0.9998,A*0.9969,4,0),colormagenta;
DRAWTEXT(A AND REF(PP3,1) AND HH AND C>=MA(C,17),L*0.997,'龙回头'),coloryellow;
AAAD:=MA(LOW,5)*(1-5/100);
BBBD:=(HHV(AAAD,5)+LLV(AAAD,5))/2;
DRAWTEXT(CROSS(BBBD,L) AND BBBD>REF(BBBD,1) AND REF(C,1)<C,(O+L)/2,'←回马 q'),colorcyan;
高:=REF(HHV(H,150),3);
近期顶:=REFDATE(高,DATE);
最顶:=REFDATE(近期顶,DATE),NODRAW;
出:=最顶=H AND ((C-L)<(O-C) OR (O-L)<(C-O)),NODRAW;
STICKLINE(出,C,(C+2*O)/3,1.5,0),COLORFF7300;
DRAWTEXT(出,(C+O)/2,'↙蓝顶'),colorgreen;
A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));
B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));
DRAWICON(FILTER(B3>0,5),L*0.995,10);
DRAWTEXT(FILTER(B3>0,5),L*0.996,'*R底'),coloryellow;
RSC3:=BARSLAST(REF(CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1));
RSD3:=REF(C,RSC3+1)<C AND REF("RSI.RSI1"(6,12,24),RSC3+1)>"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24));
DRAWICON(FILTER(RSD3>0,5),H*1.004,12);
DRAWTEXT(FILTER(RSD3>0,5),H*1.006,'*RSI顶'),colorgreen;
[url=http://www.70822.com/soft/sort013/sort036/down-164323.html]主力操盘线买卖(同花顺公式 主图 源码 测试图)[/url]