编写要求:
解答:
?网友求助:
指标源码如下:谢谢
Var1:=SMA("1A0001$AMOUNT",10,1)/1000000;
Var2:=MA(REF("1A0001$CLOSE",1),5);
收盘: Var1*"1A0001$CLOSE"/Var2/10, POINTDOT;
Var3:=INTPART(收盘*1000)/1000;
Var4:=REF(Var3,1);
Var5:=REF(Var3,2);
Var6:=REF(Var3,3);
Var7:=REF(Var3,4);
Var8:=REF(Var3,5);
Var9:=REF(Var3,6);
VarA:=REF(Var3,7);
VarB:=REF(Var3,8);
VarC:=REF(Var3,9);
VarD:=REF(Var3,10);
VarE:=REF(Var3,11);
VarF:=REF(Var3,12);
Var10:=REF(Var3,13);
Var11:=REF(Var3,14);
Var12:=REF(Var3,15);
Var13:=REF(Var3,16);
Var14:=REF(Var3,17);
Var15:=REF(Var3,18);
Var16:=REF(Var3,19);
Var17:=REF(Var3,20);
Var18:=REF(Var3,21);
Var19:=REF(Var3,22);
Var1A:=REF(Var3,23);
Var1B:=REF(Var3,24);
Var1C:=REF(Var3,25);
Var1D:=REF(Var3,26);
Var1E:=REF(Var3,27);
Var1F:=REF(Var3,28);
Var20:=REF(Var3,29);
Var21:=REF(Var3,30);
Var22:=REF(Var3,31);
Var23:=REF(Var3,32);
Var24:=REF(Var3,33);
Var25:=REF(Var3,34);
Var26:=REF(Var3,35);
Var27:=REF(Var3,36);
Var28:=REF(Var3,37);
Var29:=REF(Var3,38);
Var2A:=REF(Var3,39);
Var2B:=REF(Var3,40);
Var2C:=REF(Var3,41);
Var2D:=REF(Var3,42);
Var2E:=REF(Var3,43);
Var2F:=REF(Var3,44);
Var30:=REF(Var3,45);
Var31:=REF(Var3,46);
Var32:=REF(Var3,47);
Var33:=REF(Var3,48);
Var34:=REF(Var3,49);
Var35:=REF(Var3,50);
Var36:=IF(Var3>Var4 AND Var4>=Var5,1,IF(Var3
最高: Var1*"1A0001$HIGH"/Var2/10, , COLORRED;
最低: Var1*"1A0001$LOW"/Var2/10, , COLORBLUE;
Var38:=REF(收盘,1);
Var39:=(收盘-REF(收盘,1))/REF(收盘,1)*100;
大盘趋势: EMA(收盘,12), , COLORCYAN;
Var4, , ;
Var5, , COLORYELLOW;
STICKLINE(Var36=1 OR Var37>=1 AND Var36=0,Var4,Var3,5,1), , COLORRED;
STICKLINE(Var36=-1 OR Var37<=-1 AND Var36=0,Var4,Var3,5,0), , COLORGREEN;
STICKLINE(Var36=2,Var5,Var3,5,1), , COLORRED;
STICKLINE(Var36=-2,Var5,Var3,5,0), , COLORGREEN;
STICKLINE((Var36=-1 OR Var36=-2) AND Var37>0,Var5,Var4,5,1), , COLORRED;
STICKLINE((Var36=1 OR Var36=2) AND Var37<0,Var5,Var4,5,0), , COLORGREEN;
?
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!