编写要求:
这个是飞狐版的鳄鱼线加分形的指标。请老师帮忙修改成通达信使用的。谢谢。
源码:
Var1:=(H+L)/2;
上唇:REF(SMA(Var1,5,1),3),COLORGREEN,LINEDOT;
牙齿:REF(SMA(Var1,8,1),5),COLORRED,LINEDOT;
下颚:REF(SMA(Var1,13,1),8),COLORBLUE,LINEDOT;
Var1:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);
Var2:=CROSS(Var1,0.9);
Var3:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);
Var4:=CROSS(Var3,0.9);
drawicon(Var2,HIGH*1.01,4),Color00E40E;
drawicon(Var4,LOW*0.99,5),Color00E40E;
Var5:=IF(Var2,HIGH,IF(Var4,LOW,0));
{POLYLINE(Var5,Var5),Colorff00ff;}
Var6:=BACKSET(REF(HIGH,2)=HHV(HIGH,5) AND LOWREF(LOW,1) AND HIGH>REF(HIGH,1),3);
Var8:=BACKSET(REF(HIGH,2)=HHV(HIGH,5) AND HIGHREF(LOW,1)
AND REF(LOW,1)>REF(LOW,2) AND REF(HIGH,1)REF(LOW,1) AND HIGH>REF(HIGH,1),3);
VarA:=BACKSET(REF(LOW,2)=LLV(LOW,5) AND LOWREF(LOW,1)
AND REF(LOW,1)>REF(LOW,2) AND REF(HIGH,1)
解答: ?VAR11:=(H+L)/2; 上唇:REF(SMA(VAR11,5,1),3),COLORGREEN;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!