手机端
当前位置:爱约股 > 公式技巧 > (白色三角)公式叠加入第二个公式后压缩的厉害

(白色三角)公式叠加入第二个公式后压缩的厉害

 网友求助:

这个(白色三角公式加入第二个公式后压缩的无法显示,请老师帮忙修改一下,谢谢!!!!!

白色三角公式:

AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
通道1:=AA*102/100;
通道2:=AA*(200-102)/100;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
通道3:=(1+7/100)*DD;
通道4:=(1-7/100)*DD;
XG:H<通道4 OR (H<通道2 AND 通道2<通道4);

第二个公式:

RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
RSV2:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
WEN:=3*SMA((CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100,5,1)-2*SMA(SMA((CLOSE-LLV (LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100,5,1),3,1);
J1:=SMA(RSV1,5,1);J2:=SMA(J1,5,1);
W1:=SMA(RSV2,5,1);W2:=SMA(W1,5,1);
抄底准备:IF(WEN<=5,35,0),LINETHICK2,COLORFFFF00 ;
STICKLINE(WEN>95,100,80,8,0),COLORGREEN;
STICKLINE(COUNT(WEN<REF(WEN,5) AND WEN<6,2)=2 ,0,20,8,0),COLORRED;


VAR3:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
VAR4:=SMA(SMA(VAR3,3,1),3,1);
VAR5:=EMA(VAR4,5);
VAR6:=VAR5;
VAR7:=3*VAR4-2*VAR5;
VAR8:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(VAR8,3,1), , COLORRED;
D:= SMA(K,3,1), , COLORYELLOW;
VAR9:=3*K-2*D;
VARA:=LLV(LOW,36);
VARB:=HHV(HIGH,30);
VARC:=EMA((CLOSE-VARA)/(VARB-VARA)*4,4)*25;
趋势:=VARC, ,COLOR00FF00;
底背: STICKLINE(VARC<10,0,8,5,0), , COLORYELLOW;
顶背: STICKLINE(VARC>90,100,92,5,0), , COLORRED;
VARD:=87.5;
VARE:=(VARC-LLV(VARC,4))/(HHV(VARC,4)-LLV(VARC,4))*4*25;
反弹: DRAWTEXT(IF(CROSS(VAR9,8),87,0),48,'反弹'), , COLORF0F000;
买: DRAWTEXT(IF(CROSS(VARE,87.5) AND 趋势<40,87,0),10,'买'), , COLOR00FF00;
目标位: DRAWTEXT(IF(CROSS(趋势,VARD) AND VARE=100,50,0),56,'目标位'), , COLORBLUE;
见好跑: DRAWTEXT(IF(CROSS(VARD,趋势),87,0),85,'见好跑'), , COLORF00FF0;
卖: DRAWTEXT(IF(CROSS(趋势,VARE) AND 趋势>87,87,0),70,'卖'), , COLORRED;
 

 

解答如下:

RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
RSV2:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
WEN:=3*SMA((CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100,5,1)-2*SMA(SMA((CLOSE-LLV (LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100,5,1),3,1);
J1:=SMA(RSV1,5,1);J2:=SMA(J1,5,1);
W1:=SMA(RSV2,5,1);W2:=SMA(W1,5,1);
抄底准备:IF(WEN<=5,35,0),LINETHICK2,COLORFFFF00 ;
STICKLINE(WEN>95,100,80,8,0),COLORGREEN;
STICKLINE(COUNT(WEN<REF(WEN,5) AND WEN<6,2)=2 ,0,20,8,0),COLORRED;
VAR3:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
VAR4:=SMA(SMA(VAR3,3,1),3,1);
VAR5:=EMA(VAR4,5);
VAR6:=VAR5;
VAR7:=3*VAR4-2*VAR5;
VAR8:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(VAR8,3,1), , COLORRED;
D:= SMA(K,3,1), , COLORYELLOW;
VAR9:=3*K-2*D;
VARA:=LLV(LOW,36);
VARB:=HHV(HIGH,30);
VARC:=EMA((CLOSE-VARA)/(VARB-VARA)*4,4)*25;
趋势:=VARC, ,COLOR00FF00;
底背: STICKLINE(VARC<10,0,8,5,0), , COLORYELLOW;
顶背: STICKLINE(VARC>90,100,92,5,0), , COLORRED;
VARD:=87.5;
VARE:=(VARC-LLV(VARC,4))/(HHV(VARC,4)-LLV(VARC,4))*4*25;
反弹: DRAWTEXT(IF(CROSS(VAR9,8),87,0),48,'反弹'), , COLORF0F000;
买: DRAWTEXT(IF(CROSS(VARE,87.5) AND 趋势<40,87,0),10,'买'), , COLOR00FF00;
目标位: DRAWTEXT(IF(CROSS(趋势,VARD) AND VARE=100,50,0),56,'目标位'), , COLORBLUE;
见好跑: DRAWTEXT(IF(CROSS(VARD,趋势),87,0),85,'见好跑'), , COLORF00FF0;
卖: DRAWTEXT(IF(CROSS(趋势,VARE) AND 趋势>87,87,0),70,'卖'), , COLORRED;
AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
通道1:=AA*102/100;
通道2:=AA*(200-102)/100;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
通道3:=(1+7/100)*DD;
通道4:=(1-7/100)*DD;
XG:(H<通道4 OR (H<通道2 AND 通道2<通道4))*50;
 

TAG:
分享至:

相关推荐