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
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
///////////////////-----------------------------////////////////////
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
//////////////----------------------------
生命线: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
STICKLINE((CROSS(VAR13,VAR12) AND VAR12
DRAWICON(卖出<88,卖出,0);
顶部:95;
底部:13;
排序:IF(出击>0,5,0),STICK,colorcyan;
DRAWTEXT(出击=20,出击-15,'始');
DRAWTEXT(生命线>87,生命线-5,'*');