通达信多空能量指标公式

BB:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
主动买:=IF(CLOSE>OPEN,BB*(HIGH-LOW),IF(CLOSE<OPEN,BB*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主买:=主动买/10000,COLORRED,;
主动卖:=IF(CLOSE>OPEN,0-BB*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-BB*(HIGH-LOW),0-VOL/2));
主卖:=-主动卖/10000,COLORGREEN;
空线:=MA(主卖,5),LINETHICK1,COLORWHITE;
启线:=MA(主买,5),COLORYELLOW;
DRAWBAND(启线,RGB(255,0,0),空线, RGB(100,300,150));
VAREE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
VAR122:=(HIGH+LOW+CLOSE)/3;
VAR133:=(VAR122-MA(VAR122,14))/(0.015*AVEDEV(VAR122,14));
VAR144:=(VAR122-MA(VAR122,70))/(0.015*AVEDEV(VAR122,70));
VAR155:=IF(VAR133>=150 AND VAR133<200 AND VAR144>=150 AND VAR144<200,10,0);
VAR166:=IF(VAR133<=-150 AND VAR133>-200 AND VAR144<=-150 AND VAR144>-200,-10,VAR155);
VAR177:=(CLOSE-MA(CLOSE,133))/MA(CLOSE,133)*100;
VAR188:=100-ABS(VAR177);
VAR199:=IF(VAR188<90,VAR188,100);
VAR1AA:=IF(VAREE>0,VAREE,0);
VAR1BB:=IF(VAR144>=200 AND VAR133>=150,15,IF(VAR144<=-200 AND VAR133<=-150,-15,VAR166))+60;
VAR1CC:=VAR1AA>48 AND VAR1BB>60 AND VAR199<100;
STICKLINE(VAR1CC AND COUNT(VAR1CC,30)=1,(空线+(启线-空线)*0.125),(空线+(启线-空线)*0.75),1,0),COLORFFCC66;
STICKLINE(C>MA(C,10),启线,空线,0.00000005,1),COLORYELLOW;
DRAWICON(VAR1CC AND COUNT(VAR1CC,30)=1,(空线+(启线-空线)*0.4),2);
空头线:MA(主卖,5),LINETHICK1,COLORWHITE;
启动线:MA(主买,5),COLORYELLOW;
洗盘线:MA(主买,35)COLORMAGENTA,LINETHICK1;
异动线:MA(主买,135)COLORGREEN,LINETHICK1;
中线:=(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*20;
蓝柱:=SMA(中线,3,1),COLORSTICK;
{- }
HH:=异动线>洗盘线 AND crOSS(异动线,启动线) AND CROSS(洗盘线,启动线) ;
JJ:=洗盘线>异动线 AND CROSS(异动线,启动线) AND CROSS(洗盘线,启动线) ;
ZZ:=洗盘线>异动线 AND REF(CROSS(洗盘线,启动线),1) AND CROSS(异动线,启动线) ;
DD:=异动线>洗盘线 AND REF(CROSS(异动线,启动线),1) AND CROSS(洗盘线,启动线) ;
QQ:=REF(异动线,1)>REF(洗盘线,1) AND CROSS(空头线,异动线);
GG:=REF(洗盘线,1)>REF(异动线,1) AND CROSS(空头线,洗盘线);
DRAWICON(QQ,异动线,2);
DRAWICON(GG,洗盘线,2);
DRAWICON(HH,洗盘线,2);
DRAWICON(JJ,异动线,2);
DRAWICON(ZZ,异动线,2);
DRAWICON(DD,洗盘线,2);




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图