当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:主力动能PRO(同花顺公式 副图 源码 测试图)
软件名称:[B]主力动能PRO(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:10.0 KB
官方主页:Home Page
更新时间:2023-09-11 00:05:29
软件简介:
主力动能PRO
DPO:CLOSE-REF(MA(CLOSE,20),10),LINETHICK2,colorred;
MADPO:MA(DPO,6),LINETHICK1,colorgreen;
O轴:0,LINETHICK1;
上价:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;
下价:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;
中价:=MAX(EMA(上价,1)-EMA(下价,5),0)*200;
CXHZB:=IF((H>C AND C>O) OR (H>O AND O>=C),C,H)+IF((L<C AND C<O) OR(L<O AND O<=C),CLOSE,LOW)/3;
CCI:=EMA((CXHZB-MA(CXHZB,36.0270012))/(0.015*AVEDEV(CXHZB,36.0270012)),2.0332),colorgreen;
关注:=MA((CLOSE-OPEN)/REF(CLOSE,1),30);
关注度:=MA(关注,3)*10000;
STICKLINE(关注度>0,MADPO,0,7,0),colorlired;
A1:=(EMA(CLOSE,7)-EMA(CLOSE,21));
B1:=EMA((0.668*REF(A1,1)+0.333*A1),1);
短多:=IF(A1>=B1,A1,B1),LINETHICK2,colorred;
短空:=IF(B1-A1,B1,A1),LINETHICK2,colorgreen;
VR11:=(CLOSE+HIGH+LOW)/3;
VR12:=EMA(VR11,10);
VR13:=REF(VR12,1);
VAR1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));
VAR2:=(REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR3:=(REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR4:=(REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR5:=(REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR6:=(REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR7:=(REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR8:=(REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR9:=(REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VARA:=(REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VARB:=(REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VARC:=(REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VARD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));
VARE:=(REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VARF:=(REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR10:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR11:=(REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR12:=(REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR13:=(REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR14:=(REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR15:=(REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR16:=(REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR17:=(REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR18:=(REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
持股: IF(VR12>VR13 AND (VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18)=0,1,DRAWNULL), colorFF00FF,nodraw;
观望:VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,COLORFFFF00,NODRAW;
主拉:MA(((H+L+C)/3-LLV((H+L+C)/3,15))/(HHV((H+L+C)/3,15)-LLV((H+L+C)/3,15)),2)*100,COLOR000080,nodraw;
散线:100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55)),colorgreen,nodraw;
强弱线:IF(C>MA(C,5),1,0)+IF(C>MA(C,13),1,0)+IF(C>MA(C,21),1,0)+IF(C>MA(C,34),1,0)+IF(C>MA(C,55),1,0)+IF(C>MA(C,89),1,0)+IF(C>MA(C,144),1,0)+IF(C>MA(C,233),1,0)+-3.8,colormagenta,nodraw;
STICKLINE(持股=1,MADPO,0,7,0),colorred;
STICKLINE(关注度>0 AND 强弱线=4.2,MADPO,0,7,0),colorff00ff;
STICKLINE(关注度>0 AND 观望=1,MADPO,0,7,0),color555500;
DIFF:=EMA(CLOSE,3)-EMA(CLOSE,8);
动能B:=EMA(DIFF,5)*5;
动能A:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*5;
STICKLINE(短多=短空 AND 动能A>动能B AND CCI>100,0,MADPO,1,0),colorred;
STICKLINE(短多=短空 AND CCI>100 AND 观望<>1,0,MADPO,1,0),colorred;
DRAWTEXT(CROSS(EMA(CLOSE,3)-EMA(SLOPE(CLOSE,18)*20+CLOSE,55)*1,0),0,'G'),colorred;
DRAWTEXT(CROSS(0,EMA(CLOSE,3)-EMA(SLOPE(CLOSE,18)*20+CLOSE,55)*1),0,'S'),colorblue;
VR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
日买:=IF(CLOSE>OPEN,VR1*(HIGH-LOW),IF(CLOSE<OPEN,VR1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2)),colorred,NODRAW;
日卖:=-IF(CLOSE>OPEN,0-VR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VR1*(HIGH-LOW),0-AMOUNT/2)),COLOR00FF00,NODRAW;
净:日买-日卖,colorlired,nodraw;
STICKLINE(净>0,0,净/(日买+日卖)*MADPO,5,0),coloryellow;
STICKLINE(净<0 AND MADPO>0,0,ABS(净/(日买+日卖))*MADPO,5,0),colorgreen;
大额:((ZDMRJE[-1]+BDMRJE[-1])-(ZDMCJE[-1]+BDMCJE[-1])),nodraw,coloryellow;
大额均:EMA(大额,3),colorff00ff,nodraw;
STICKLINE(强弱线=4.2 AND 动能A>动能B AND 观望<>1,0,MADPO,3,0),colorFF00FF;
STICKLINE(主拉=100 AND 观望<>1,0,MADPO,2.5,0),colorgray;
大额比:=ABS((ZDMRJE[-1]+BDMRJE[-1])/(((ZDMRJE[-1]+BDMRJE[-1])+(ZDMCJE[-1]+BDMCJE[-1])))*MADPO);
STICKLINE(大额>0 AND MADPO>0 AND 观望<>1,0,大额比,2,0),coloR000080;
STICKLINE(大额>0 AND MADPO<0 AND 观望<>1,0,-大额比,2,0),coloR000080;
STICKLINE(大额<0 AND MADPO>0 AND 观望<>1,0,大额比,2,0),colorFF0000;
STICKLINE(大额<0 AND MADPO<0 AND 观望<>1,0,-大额比,2,0),colorFF0000;
STICKLINE(散线=0 AND 观望<>1,0,MADPO,0.5,0),coloryellow;
MA5:=MA(CLOSE,5),colorred;
MA10:=MA(CLOSE,10),coloryellow;
MA20:=MA(CLOSE,20),COLORFF00FF;
MA40:=MA(CLOSE,40),COLOR00FF00;
MA60:=MA(C,60),COLOR888888;
MA250:=MA(C,250),COLORFFCC66;
月托:MA5>MA20 AND MA5>MA10 AND CROSS(MA10,MA20),nodraw;
季托:MA20>MA60 AND MA20>MA40 AND CROSS(MA40,MA60),nodraw;
日托:MA5>MA60 AND MA5>MA10 AND CROSS(MA10,MA60),nodraw;
DRAWTEXT(月托,0,'月托'),colorblue;
DRAWTEXT(季托,0.1,'季托'),coloryellow;
DRAWTEXT(日托,0.15,'日托'),COLORFF00FF;
VOL5:=MA(VOL,5);
VOL10:=MA(VOL,10);
VOL20:=MA(VOL,20);
量托:VOL5>=VOL20 AND CROSS(VOL10,VOL20) AND REF(VOL10,1)<REF(VOL20,1),nodraw;
DRAWTEXT(量托,0.2,'量托'),COLOR0099FF;
AA:=BARSLAST(MA40>MA60 AND (MA20=MA40 OR MA20>MA40));
BB:=REF(COUNT(C<MA60,AA)=AA,1);
CC:=CROSS(C,MA60) AND VOL>MA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100>3;
芙蓉出水:BB AND CC,nodraw;
DRAWTEXT(芙蓉出水,0.3,'芙蓉出水'),COLORFF00FF;
[url=http://www.70822.com/soft/sort013/sort036/down-169150.html]主力动能PRO(同花顺公式 副图 源码 测试图)[/url]