通达信绝佳买卖

VAR1:=CLOSE-REF(CLOSE,1);
VAR2:=100*EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6);
VAR3:=CROSS(EMA(CLOSE,19),EMA(CLOSE,7));
VAR4:=CROSS(EMA(CLOSE,7),EMA(CLOSE,19));
VAR5:=LOW=LLV(LOW,BARSLAST(VAR3)+1);
VAR6:=LLV(LOW,BARSLAST(VAR3)+1);
VAR7:=HIGH=HHV(HIGH,BARSLAST(VAR4)+1);
VAR8:=HHV(HIGH,BARSLAST(VAR4)+1);
VAR9:=DRAWLINE(VAR5,VAR6,VAR7,VAR8,0);
VAR10:=HIGH=HHV(HIGH,BARSLAST(VAR4)+1);
VAR11:=HHV(HIGH,BARSLAST(VAR4)+1);
VAR12:=LOW=LLV(LOW,BARSLAST(VAR3)+1);
VAR13:=LLV(LOW,BARSLAST(VAR3)+1);
VAR14:=DRAWLINE(VAR10,VAR11,VAR12,VAR13,0);
VAR15:=LLV(VAR2,2)=LLV(VAR2,7);
VAR16:=COUNT(VAR2<0,2);
VAR17:=CROSS(VAR2,MA(VAR2,2));
VAR18:=REF(VAR14,1)<REF(VAR14,2);
VAR19:=VAR9>REF(VAR14,1);
{股票指标网}
买进:VAR15 AND VAR16 AND VAR17 AND VAR18 AND VAR19;
VAR20:=IF(VAR9<REF(VAR9,1) AND VAR14=VAR9,1,0);
VAR21:=IF(VAR14<REF(VAR14,1) AND VAR14=VAR9,1,0);
持股:IF(VAR14<REF(VAR14,1) AND VAR14<VAR9,23,0),STICK,COLOR000088,LINETHICK3;
STICKLINE(VAR14<REF(VAR14,1),0,35,2,0),COLOR006600;
堪称卖绝:IF(REF(VAR20,1)=0 AND VAR20>=1,60,0),STICK,COLORCYAN,LINETHICK5;
买一绝:IF(REF(VAR21,1)=0 AND VAR21>=1,60,0),STICK,COLORRED,LINETHICK3;
 


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

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

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

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