当前位置:首页 > 通达信公式 > 内容

通达信一品种树副图指标

作者:公式指标网   更新时间:2016-05-28   点击:

通达信一品种树副图指标

源码

AA:=(EMA(C,4)-EMA(C,7))/EMA(C,7)*4000;
森林:AA,COLOR00FF00,LINETHICK1;
量:=(EMA(IF(C>=REF(C,2),V,(-V)),34)/MA(V,34))*100;
X26:=EMA(量,26),COLORFF00FF;
STICKLINE(X26>=REF(X26,1),0,X26,5,0),COLORWHITE;
STICKLINE(X26<REF(X26,1),0,X26,5,0),COLORDDDDDD;
土壤:EMA(量,9),COLORFF6633,LINETHICK1;
TJ1:=AA>=REF(AA,1);
TJ2:=土壤>=REF(土壤,1);
TJ3:=X26>=REF(X26,1);
耕耘区:(TJ1+TJ2 +TJ3)>=2,COLORWHITE;
长叶:(耕耘区 AND COUNT(耕耘区,3)=1)*30,STICK,COLOR00FF00,LINETHICK5;
开花:(耕耘区 AND CROSS(AA,10))*50,STICK,COLORYELLOW,LINETHICK5;
结果:((TJ1+TJ2 +TJ3)=3 AND AA>=20 AND COUNT(AA>REF(AA,1),3)=1)*80,STICK,COLORFF00FF,LINETHICK5;
{www.qill.cn以下设置副图显示方式}
IF(AA>=0, AA, 5),COLOR00FF00,LINETHICK2;
IF(AA<0, AA, 5),COLORFF6600,LINETHICK2;
STICKLINE(X26>=REF(X26,1), X26, X26,8,0),COLORRED,LINETHICK1;
STICKLINE(X26<REF(X26,1), X26, X26,8,0),COLORWHITE,LINETHICK1;
STICKLINE(耕耘区,-5,5,4,1),COLORWHITE,LINETHICK1;
STICKLINE((TJ1+TJ2 +TJ3)=3,-5,5,4,1),COLOR00FF00,LINETHICK1;
 

通达信一品种树副图指标

资源下载

相关文章

热门推荐

移动端首页 | PC端

© by gszx.com.cn Mobile Web