通达信山峰心理线指标公式

N:=5;
M:=3;
PSY:COUNT(CLOSE>REF(CLOSE,1),N)/N*100,LINETHICK1;
psyMA:=MA(PSY,M),LINETHICK2;
LC:=REF(CLOSE,1);
rsi1:(SMA(MAX(CLOSE-LC,0),7,1)/SMA(Abs(CLOSE-LC),7,1)*100),LINETHICK2,COLOR0099FF;
RSI2:(SMA(MAX(CLOSE-LC,0),21,1)/SMA(ABS(CLOSE-LC),21,1)*100),LINETHICK2,COLORGREEN;
A1:=RSI2=REF(RSI2,1) AND RSI1< RSI2 AND RSI1< 20;
A2:=RSI2=REF(RSI2,1) AND RSI1=REF(RSI1,1) AND RSI1>10 AND RSI1< 40;
出击:IF(A1 OR A2, 50,25),COLORRED;
VARR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VARR2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VARR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VARR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VARR5:=(VARR2+2*VARR3+3*VARR4)/6;
VARR6:=MA(VARR5,3);
导弹:IF(VARR6<=-10,80,25),COLORYELLOW;
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
顶部雷达:IF(crOSS(80,RSI),75,85)LINETHICK1,COLORYELLOW;
VARB:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;
VARC:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
VARD:=BARSCOUNT(CLOSE);
底部雷达:IF((VARB< 20 AND VARC< 25 AND VARD> 50),55,25),LINETHICK2, COLORFF9933;
主力:=EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2),LINETHICK2 ,COLORRED;
散户:=EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7),LINETHICK2 ,COLORWHITE;
上涨:IF(CROSS(主力,散户) AND 主力< -10,25,15),LINETHICK2,COLORMAGENTA;
DRAWICON(CROSS(主力,散户) AND 主力< -10 AND 散户>REF(散户,1)OR CROSS(主力,散户) AND 散户< -35 ,15,1);
DRAWTEXT(CROSS(18,RSI)AND 散户< -20 AND 底部雷达,25,'底 '),LINETHICK1,COLORYELLOW;




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

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

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

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