通达信大盘不妙指标公式

N:=6;
A:=BARSCOUNT(C);
N1:=IF(A>5,5,A);
N2:=IF(A>15,15,A);
N3:=IF(A>30,30,A);
N4:=IF(A>60,60,A);
N5:=IF(A>120,120,A);
V1:=SUM(AMOUNT,N1);
V2:=SUM(AMOUNT,N2);
V3:=SUM(AMOUNT,N3);
V4:=SUM(AMOUNT,N4);
V5:=SUM(AMOUNT,N5);
VAR1:=SMA((HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100,5,1);
VAR2:=SMA((CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*100,5,1);
多头: VAR1,COLORFB8EF0,LINETHICK2;
空头: VAR2,COLOR4E8EF0,LINETHICK2;
生死线: 50, POINTDOT;
VAR3:=(2*CLOSE+HIGH+LOW)/4;
VAR4:=LLV(LOW,34);
VAR5:=HHV(HIGH,34);
VAR6:EMA((VAR3-VAR4)/(VAR5-VAR4)*100,9);
VAR7:=EMA((VAR3-VAR4)/(VAR5-VAR4)*100,31);
DRAWTEXT(crOSS(VAR6,20) AND VAR6>21,多头,'●买进');
DRAWTEXT(CROSS(VAR6,80) AND VAR6>75,多头,'●卖出');
VAR8:=(2*CLOSE+HIGH+LOW)/4;
VAR9:=LLV(LOW,34);
VAR10:=HHV(HIGH,34);
波: EMA((VAR8-VAR9)/(VAR10-VAR9)*100, 13) ,LINETHICK0;
段: EMA(0.667*REF(波,1)+0.333*波,4) , LINETHICK0;
STICKLINE(CROSS(波,段) AND 波<20,0,20,5,0),COLORRED ,LINETHICK2 ;
STICKLINE(CROSS(段,波) AND 段>60,100,80,5,0),COLORBLUE, LINETHICK2;
DRAWTEXT(CROSS(波,段) AND 波<20,35,'抄底'),COLORBLUE,LINETHICK2;
DRAWTEXT(CROSS(段,波) AND 段>60,65,'逃顶'),COLORBLUE, LINETHICK2;




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

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

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

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