最新更新 - 网站地图 -
您的当前位置:首页 > 股票公式 > 公式技巧 > 将.仙人指路 .公式中的(ZX).白颜色出时改选股公式

将.仙人指路 .公式中的(ZX).白颜色出时改选股公式

来源:网络 点击: 时间:2022-12-17 14:41:36

编写要求:

求助老师将.仙人指路 .公式中的(ZX).白颜色出时改选股公式.谢谢 {参数 :GLL 最小 -20 最大 20 缺省 -6 } VAR1:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200; VAR2:=SMA(VAR1,3,1); VAR3:=SMA(VAR2,3,1); VAR4:=3*VAR2-2*VAR3; VAR5:=LLV(LOW,5); VAR6:=HHV(HIGH,5); VAR7:=EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4)*2; VAR8:=EMA(0.667*REF(VAR7,1)+0.333*VAR7,2); VAR9:=3*VAR7-2*VAR8; VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5); VARB:=POW(MA(LOW,5),2)+MA(LOW,5); VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5); VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10; VARE:=SMA(VARD,3,1)*1.5-100; VARF:=SMA(VARE,3,1); VAR10:=3*VARE-2*VARF; VAR11:=(HIGH+LOW+CLOSE*2)/4; VAR12:=EMA(VAR11,13); VAR13:=STD(VAR11,13); VAR14:=(VAR11-VAR12)*100/VAR13; VAR15:=EMA(VAR14,5); VAR16:=EMA(VAR15,13); VAR17:=EMA(VAR15,13)+200-100; VAR18:=EMA(VAR17,10); VAR19:=3*VAR17-2*VAR18; VAR1A:=VAR2+VAR7+VARE+VAR17; VAR1B:=VAR3+VAR8+VARF+VAR18; VAR1C:=VAR4+VAR9+VAR10+VAR19; VAR1D:=(HIGH+LOW+CLOSE)/3; VAR1E:=AMOUNT/VOL/100; VAR1F:=SUM(AMOUNT,5)/SUM(VOL,5)/100; VAR20:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34)); VAR21:=DMA(AMOUNT/VOL/100,VOL/CAPITAL); VAR22:=(HIGH+LOW+CLOSE+VAR1D)/4; VAR23:=EMA(VAR22,24); VAR24:=STD(VAR22,24); VAR25:=(VAR22-VAR23)/VAR24*100; VAR26:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24)); VAR27:=EMA(VAR25,5); VAR28:=(VAR1E-MA(VAR1E,21))/(0.015*AVEDEV(VAR1E,21)); VAR29:=(VAR1F-MA(VAR1F,90))/(0.015*AVEDEV(VAR1F,90)); VAR2A:=((VAR29+VAR28+VAR27+VAR26+VAR20)/3+165)/4; VAR2B:=(EMA(EMA(EMA(VAR2A,15),10),5)-25)*2+VAR21; VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15; VAR2D:=EMA(VAR2C,13);{13} VAR2E:=(VAR2A+VAR2C)/2/1.1; DX1:EMA(VAR2E,1),COLORYELLOW,LINETHICK2; DX2:EMA(DX1,12),COLORRED,LINETHICK2; ZX:EMA((VAR2B+VAR2D)/2,2),COLORF00FF0,LINETHICK2; STICKLINE(ZX-REF(ZX,1)>0 ,ZX,0,10,0),COLORWHITE,LINETHICK1; STICKLINE(ZX-REF(ZX,1)<0 ,ZX,0,10,0),COLORFF9999; 红灯:STICKLINE(ZX>100 ,120,110,10,0),COLORRED; B1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; B2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100; B3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100; MM:=(B1+2*B2+3*B3)/6; MN:=MA(MM,3); 看底:IF(MN70 OR (CROSS(60,MM) AND ZX>50)OR DX180,5),110,2) ; DRAWICON(FILTER(CROSS(DX1,ZX) AND COUNT(MN=1 OR (CROSS(DX1,DX2) AND DX2<10),5),-5,1);

解答:

?VAR1:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;

VAR2:=SMA(VAR1,3,1);

    Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号

    免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!

    Top