AMO虚拟成交额,实用公式(通达信公式 副图 源码 测试图)不加密,没未来函数

 2022-07-08 10:36:45    通达信指标网  

AMO虚拟成交额,实用公式

 
本公式的思路:
用成交金额的统计方式来计算,增加了本人喜欢的一些辅件在幅图显示,
源码明文显示不加密
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
VAMO:=IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),AMOUNT/100000000.0*TOTAL/CTIME,DRAWNULL),NODRAW;
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VAMO,0,-1,-1),COLOR00C0C0;
当天亿:AMOUNT/100000000.0,VOLSTICK;
五日亿:MA(当天亿,M1);
十日亿:MA(当天亿,M2);

成交额:=IF(DYNAINFO(10)>99999999,STRCAT(CON2STR(DYNAINFO(10)/100000000,2),'亿'),STRCAT(CON2STR(DYNAINFO(10)/10000,0),'万'));
DRAWTEXT_FIX(1,0.96,0.0,0,成交额),COLORGREEN;

X_3:=IF(CURRBARSCOUNT=1,AMOUNT/100000000.0/FROMOPEN/REF(AMOUNT/100000000.0,1)-1,AMOUNT/100000000.0/REF(AMOUNT/100000000.0,1)-1);
STICKLINE(X_3>=0.99,0,AMOUNT/100000000.0,2,0),COLORYELLOW;
STICKLINE(X_3>=0.99,0,AMOUNT/100000000.0,1.4,0),COLOR38B0DE;
STICKLINE(X_3>=0.99,0,AMOUNT/100000000.0,0.5,0),COLOR5959AB;
B1:=STRCAT(DYBLOCK,' ');
B2:=STRCAT(B1,STRCAT(HYBLOCK,' '));
B3:=STRCAT(B2,STRCAT(FGBLOCK,' '));
B4:=STRCAT(B3,STRCAT(GNBLOCK,' '));
DRAWTEXT_FIX(ISLASTBAR,0.10,0.01,0,STRCAT(B4,0)) ,COLORWHITE;
AMOW:=AMOUNT,VOLSTICK;
AMO1:=MA(AMOW,5);
AMO2:=MA(AMOW,35);
AMO3:=MA(AMOW,135)LINETHICK2;

倍量1:=AMOW>=REF(AMOW,1)*2;

天量1:=AMOW=HHV(AMOW,0);

量比:V/REF(MA(V,5),1),NODRAW ;
量王:天量1&&倍量1&&量比>3&&(BARSCOUNT(C)+1)>120,COLORMAGENTA;
DRAWTEXT(量王 AND 量王=1, 2,'量王');
DRAWICON(量王 AND 量王=1, 1,27);


  •  标签:  

原文链接:https://www.tdxzb.com/?id=419

本文版权:如无特别标注,本站文章均为原创。

相关文章

服务热线

18020657357

微信客服

微信客服