一品种树(大智慧 飞狐 通达信通用源码)

[复制链接]
查看239 | 回复0 | 2022-6-28 06:39:33 | 显示全部楼层 |阅读模式

{一品种树--------大智慧副图指标}{飞狐通用}
{指标使用方法说明:森林--操作线,不见绿色不操作;土壤--量能变化情况;森林白色背景--中期量能变化情况,向上最好;耕耘区--操作区;长叶--股价初涨区;开花--股价进入拉升区;结果--股价进入急拉区;}
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;
{以下设置副图显示方式}
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;
DRAWTEXT(长叶,50,'长叶'),COLOR00FF00;
DRAWTEXT(开花,80,'赏花'),COLORYELLOW;
DRAWTEXT(结果,100,'摘果'),COLOR0000FF;
0,COLORWHITE;
 

p2012329154747129.jpg

p2012329154747129.jpg

20123291533971627.rar

3.83 KB, 下载次数: 0

售价: 2 金钱  [记录]  [购买]

20123291533971627.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则