同花顺终极买卖指标一智AI副图

ZF:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
JIA1:=SUM(ZF,5);JIA2:=SUM(ZF,10);
JIA3:=SUM(ZF,20);JIA4:=SUM(ZF,30);
JIA5:=SUM(ZF,60);
YK:=MA(JIA1+JIA2+JIA3+JIA4+jia5,5);
Cd:=SMA((CLOSE-CLOSE[3])/CLOSE[3]*100,3,1);
wrhs:=REF(SUM(VOL,5)/SHGZG*100,1);
jsfx:='';
jsfx:=jsfx+IF(CD>=0 AND Cd<Cd[1],'趋势下降,考虑清仓','');
jsfx:=jsfx+IF(CD>=0 AND Cd[1]<0 AND yk>0,'买进信号出现,考虑买进','');
jsfx:=jsfx+IF(CD>=0 AND Cd[1]<0 AND yk<0,'转势信号,考虑小仓位买进','');
jsfx:=jsfx+IF(CD>0 AND Cd[1]>0 AND Cd>Cd[1],'持仓潜伏,或获利卖出','');
jsfx:=jsfx+IF(CD<0,'清仓观望,不宜买进','');
IF(CURRBARSCOUNT<7 OR CURRBARSCOUNT>10){短线操作分析报告:jsfx+'、前五日换手率总和:'+wrhs+'%'+IF(wrhs<25,'、× 该位置交易不够活跃,谨防风险','')+IF(wrhs>25,'、√ 该位置交易量处于活跃期,做好趋势判断','');}
ZF:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
JIA1:=SUM(ZF,5);
JIA2:=SUM(ZF,8);
JIA3:=SUM(ZF,13);
JIA4:=SUM(ZF,21);
JIA5:=SUM(ZF,34);
YK:=MA((JIA1+JIA2+JIA3+JIA4+jia5)/5,5);
///////平均盈亏:yk,LINETHICK2;
STICKLINE(CD>=0 AND Cd>Cd[1],0,CD,9,0),colorred;
STICKLINE(CD>=0 AND Cd<Cd[1],0,CD,9,0),coloryellow;
STICKLINE(CD<0,0,CD,9,0),colorgreen;
///////////////////-----------------------------////////////////////
VAR1:=HHV(HIGH,H1)-LLV(LOW,H1);
VAR2:=HHV(HIGH,H1)-CLOSE;
VAR3:=CLOSE-LLV(LOW,H1);
VAR4:=VAR2/VAR1*100-70;
VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=SMA(VAR3/VAR1*100,3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR10:=IF(VAR9>100,VAR9-100,0);
VAR11:=HHV(HIGH,34);
VAR12:=EMA((VAR6-VAR8)/(VAR11-VAR8)*100,H1);
VAR13:=EMA(0.667*REF(VAR12,1)+0.333*VAR12,2);
//////////////-----------------------------
STICKLINE(VAR12-VAR13>0,VAR12,VAR13,8,0),colorred;
STICKLINE(VAR12-VAR13<0,VAR12,VAR13,8,0),COLOR00FF0F;
----------------------
STICKLINE(CD>=0 AND Cd>Cd[1],VAR12-H1*2,CD,9,0),colorred;
STICKLINE(CD>=0 AND Cd<Cd[1],VAR12-H1*2,CD,9,0),coloryellow;
STICKLINE(CD<0,VAR12-VAR13,CD,9,0),colorgreen;
//////////////----------------------------
生命线:EMA(VAR13,5), coloryellow;
出击:IF(CROSS(VAR12,VAR13) AND VAR12>VAR13 AND VAR12<18,20,0), STICK,colorwhite;
DRAWICON(出击>0,生命线,00 );
卖出:IF(CROSS(VAR13,VAR12) AND VAR12<VAR13 AND VAR12>60,VAR13,88),POINTDOT,colorblue;
STICKLINE((CROSS(VAR13,VAR12) AND VAR12<VAR13 AND VAR12>60),VAR13,88,2,1),colorblue;
DRAWICON(卖出<88,卖出,0);
顶部:95;
底部:13;
排序:IF(出击>0,5,0),STICK,colorcyan;
DRAWTEXT(出击=20,出击-15,'始');
DRAWTEXT(生命线>87,生命线-5,'*');






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

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

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

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