分时资金量能公式

[复制链接]
查看87 | 回复0 | 2022-6-27 19:52:02 | 显示全部楼层 |阅读模式


昨收:=DYNAINFO(3);
HH:=DYNAINFO(5);
LL:=DYNAINFO(6);
FK:=MAX(HH-昨收,昨收-LL)*0.1;
ZS:=昨收-FK*3.2;
Q1:=昨收-FK*3.22;
Q2:=昨收-1*FK*3.22;
Q3:=昨收-5*FK*3.2;
TJ:=FILTER(C,239)>0,NODRAW;
TJJ:=SUM(TJ,0),NODRAW;
TJA:=CONST(TJJ),NODRAW;
C1:=CLOSE;
V1:=TIME;
A1:=COUNT(BARSCOUNT(C)=1 AND TIME<102000 ,0 );
T:=IF(V1<130000,(FLOOR(V1/10000)-9.5)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000)),
(FLOOR(V1/10000)-11)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000))),NODRAW;
TTA:=90;
KP30:=T<240;
KPGD:=H=HHV(H,0) AND KP30;
GDSJ:=BARSLAST(KPGD);
RCC:=DYNAINFO(3);
S2:=SMA(C,3,1);
S6:=SMA(C,5,1);
DK:=4*(S2-S6);
KK:=1;

{分时MACD}
DIF:=(EMA(CLOSE,13) - EMA(CLOSE,24));
DEA:=(EMA(DIF,6));
MACD:=3*(DIF-DEA);
LK:=STICKLINE(DK>0,RCC*KK,RCC*KK+DK,0,1),COLORRED;
UI:=STICKLINE(DK<0,RCC*KK,RCC*KK+DK,0,1),COLORCYAN;
RT:=STICKLINE(DK>0,RCC*KK,RCC*KK+DK,0,1),COLORRED;
{多头MACD}
DIFF:=EMA(CLOSE,240)-EMA(CLOSE,240)*100;
{分析家公式网WWW.70822.COM}

DEAA:=EMA(DIFF,18);
多头MACD:=(-3*(DIFF-DEAA))*20,NODRAW;
ZD:=HHV(多头MACD,0);
ZX:=LLV(多头MACD,0);
CZ:=(Q2-Q3)/6;
FDM:=MAX(ABS(ZD),ABS(ZX))*1.5;
RB:=(Q2+Q3)/2*0.99+2*(Q2-Q3)/4/FDM*多头MACD;
QQ:STICKLINE(多头MACD>0,RB,(Q2+Q3)/2*0.99,2.2,1),COLORRED,LINETHICK4;
GG:STICKLINE(多头MACD<0,RB,(Q2+Q3)/2*0.99,2,1),LINETHICK1,COLOR00AA00;
{强弱界定}
MMA30:=EMA(CLOSE,30)-(Q2+Q3)/2*0.01;
强弱界定:=EMA(CLOSE,900)-(Q2+Q3)/2*0.01;
AH:DRAWBAND(MMA30,RGB(200,100,0),强弱界定,RGB(0,150,150));
AD:=DRAWICON(CROSS(MMA30,强弱界定),H,1);
 

p201993017554184276.jpg

p201993017554184276.jpg

201993017553443292.rar

2.55 KB, 下载次数: 0

售价: 3 金钱  [记录]  [购买]

201993017553443292.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则