9qihuo.com
我们只提供有用的干货

老师早,请帮忙填充 (文华财经WH6赢顺V6.7)

投资者咨询:老师早,请帮忙填充 (文华财经WH6赢顺V6.7)
来源:文华财经  日期:2019/8/3 7:50
 老师,请在零线上下填充不同颜色,谢谢


趋势:=SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1),COLORRED,NODRAW;
//STICKLINE1(趋势>50,趋势,50,4,0),COLOR9B3232;
//STICKLINE1(50>趋势,趋势,50,4,0),COLOR006432;
//IF(趋势>50, 趋势,NULL),COLORRED;
RSV:=(CLOSE-LLV(CLOSE,9))/(HHV(CLOSE,9)-LLV(CLOSE,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
DIFF:=EMA(CLOSE,2)-EMA(CLOSE,55);
DEA:=EMA(DIFF,6);
MACD:=2*(DIFF-DEA);
转点:=IF(K>D AND CCI>0 AND DIFF>DEA AND MACD>0,1,0);
//STICKLINE1(转点=1,50,50,6,0),COLORYELLOW;
//STICKLINE1(转点=0,50,50,6,0),COLORCYAN;
顶部:=90,COLORYELLOW;
底部:=10,COLORCYAN;
LC:= REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2:=SMA(VAR1,9,1)+100;
VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4:=SMA(VAR3,3,1);
VAR5:=SMA(VAR4,3,1)+100;
VAR6:=VAR5-VAR2;
趋势1:= IF(VAR6>45,VAR6-45,0),COLORRED,NODRAW;
VAR2Q:=REF(LOW,1);
VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100;
VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);
VAR5Q:=LLV(LOW,30);
VAR6Q:=HHV(VAR4Q,30);
VAR7Q:=IF(MA(CLOSE,58),1,0);
VAR8Q:=EMA(IF(LOW<=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/999*VAR7Q;
火焰山:=IF(VAR8Q>100,100,VAR8Q);
//STICKLINE1(火焰山>0,0 ,火焰山*1.2,5,0 ),COLORFF4444;
//STICKLINE1(火焰山>0,0 ,火焰山*1.2,4,0 ),COLORFF5555;
//STICKLINE1(火焰山>0,0 ,火焰山*1.2,3,0 ),COLORFF7777;
//STICKLINE1(火焰山>0,0 ,火焰山*1.2,2,0 ),COLORFF9999;
/*
STICKLINE1(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),5,0),COLOR330000;
STICKLINE1(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),4,0),COLOR550000;
STICKLINE1(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),3,0),COLOR770000;
STICKLINE1(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),2,0),COLOR990000;
STICKLINE1(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),1.5,0),COLORBB0000;
STICKLINE1(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),1,0),COLORDD0000;
STICKLINE1(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),5,0),COLOR003300;
STICKLINE1(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),4,0),COLOR005500;
STICKLINE1(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),3,0),COLOR007700;
STICKLINE1(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),2,0),COLOR009900;
D1:=(C+L+H)/3;
D2:=EMA(D1,6);
D3:=EMA(D2,5);
BBUY:=CROSS(D2,D3);
风险区:80,COLORFF85FF;
安全区:20,COLORYELLOW,POINTDOT;
天线:100,COLOR00FFFF;
强弱线:50,COLORRED,POINTDOT;  
*/
AA:=REFX(MA(EMA(C,1),2),1);
BB:=REFX(MA(AA,2),1);
T1R:=REFX(MA(BB,2),1);
TR1:=EMA((T1R-REF(T1R,1))/REF(T1R,1),1)*1000,COLORFF00FF,NODRAW;
净:=REFX(MA(TR1,11),11/2);
流:=EMA(净,11);
主力动向:=EMA(净+流,1)-REFX(MA(净-流,2),1),COLORFF00FF,NODRAW;
MA1:REFX(MA(主力动向,11),11/2),COLORFF00FF,NODRAW;
MA3:EMA(MA1,2);
//DRAWTEXT(CROSS(MA3,MA1),(MA3 *1.12),'退'),COLORYELLOW;
//DRAWTEXT(CROSS(0,MA1),MA1,'缩'),COLOR00FFFF;
//DRAWTEXT(CROSS(MA1,0),MA1,'续'),COLORFF00FF;
//STICKLINE(MA1>=0 AND MA1>=REF(MA1,1),0,MA1,1.2,1),COLORRED;
//STICKLINE(MA1>=0 AND MA1<REF(MA1,1),0,MA1,1.2,0),COLORYELLOW;
//STICKLINE(MA1<0 AND MA1>=REF(MA1,1),0,MA1,1.5,0),COLORFF00FF;
//STICKLINE(MA1<0 AND MA1<REF(MA1,1),0,MA1,1.2,1),COLORBLUE;
//STICKLINE(MA1<=0 AND MA1>=REF(MA1,1),0 ,MA1,3,0),COLORFF6600;
//STICKLINE(MA1<=0 AND MA1>=REF(MA1,1),0,MA1,2,0),COLORFF9900;
//STICKLINE(MA1<=0 AND MA1>=REF(MA1,1),0,MA1,1.5,0),COLORFFCC00;
//STICKLINE(MA1<=0 AND MA1>=REF(MA1,1),0,MA1,0.5,0),COLORCYAN;
//STICKLINE(MA1>=0 AND MA1>=REF(MA1,1),0,MA1,3,0),COLOR000099;
//STICKLINE(MA1>=0 AND MA1>=REF(MA1,1),0,MA1,2,0),COLOR0000CC;
//STICKLINE(MA1>=0 AND MA1>=REF(MA1,1),0,MA1,1.5,0),COLOR0000FF;
//STICKLINE(MA1>=0 AND MA1>=REF(MA1,1),0,MA1,0.5,0),COLORCC66FF;
尖顶做多: ZIGZAG(C,5,1)>REF(ZIGZAG(C,5,1),1) && REF(ZIGZAG(C,5,1),1)<REF(ZIGZAG
(C,5,1),2), COLORRED,LINETHICK2;
尖顶做空: ZIGZAG(C,5,1)<REF(ZIGZAG(C,5,1),1) AND REF(ZIGZAG(C,5,1),1)>REF(ZIGZAG
(C,5,1),2),COLORGREEN,LINETHICK2;
DRAWTEXT(尖顶做多=1,0.8,'做多'),COLORRED;
DRAWTEXT(尖顶做空=1,0.8,'做空'),COLORGREEN;

投资者咨询:老师早,请帮忙填充 (文华财经WH6赢顺V6.7)
来源:文华财经  日期:2019/8/3 7:50
图片点击可在新窗口打开查看 
技术人员回复
日期:2019/8/3 8:23
 您是想要如何填充?根据哪个指标线填充?白色线?
投资者咨询:老师早,请帮忙填充 (文华财经WH6赢顺V6.7)
来源:文华财经  日期:2019/8/3 7:50
 ma3上穿下穿吧

投资者咨询:老师早,请帮忙填充 (文华财经WH6赢顺V6.7)
来源:文华财经  日期:2019/8/3 7:50
 

图片点击可在新窗口打开查看
技术人员回复
日期:2019/8/3 8:31
 这样看下

趋势:=SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1),COLORRED,NODRAW;
//STICKLINE1(趋势>50,趋势,50,4,0),COLOR9B3232;
//STICKLINE1(50>趋势,趋势,50,4,0),COLOR006432;
//IF(趋势>50, 趋势,NULL),COLORRED;
RSV:=(CLOSE-LLV(CLOSE,9))/(HHV(CLOSE,9)-LLV(CLOSE,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
DIFF:=EMA(CLOSE,2)-EMA(CLOSE,55);
DEA:=EMA(DIFF,6);
MACD:=2*(DIFF-DEA);
转点:=IF(K>D AND CCI>0 AND DIFF>DEA AND MACD>0,1,0);
//STICKLINE1(转点=1,50,50,6,0),COLORYELLOW;
//STICKLINE1(转点=0,50,50,6,0),COLORCYAN;
顶部:=90,COLORYELLOW;
底部:=10,COLORCYAN;
LC:= REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2:=SMA(VAR1,9,1)+100;
VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4:=SMA(VAR3,3,1);
VAR5:=SMA(VAR4,3,1)+100;
VAR6:=VAR5-VAR2;
趋势1:= IF(VAR6>45,VAR6-45,0),COLORRED,NODRAW;
VAR2Q:=REF(LOW,1);
VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100;
VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);
VAR5Q:=LLV(LOW,30);
VAR6Q:=HHV(VAR4Q,30);
VAR7Q:=IF(MA(CLOSE,58),1,0);
VAR8Q:=EMA(IF(LOW<=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/999*VAR7Q;
火焰山:=IF(VAR8Q>100,100,VAR8Q);
//STICKLINE1(火焰山>0,0 ,火焰山*1.2,5,0 ),COLORFF4444;
//STICKLINE1(火焰山>0,0 ,火焰山*1.2,4,0 ),COLORFF5555;
//STICKLINE1(火焰山>0,0 ,火焰山*1.2,3,0 ),COLORFF7777;
//STICKLINE1(火焰山>0,0 ,火焰山*1.2,2,0 ),COLORFF9999;
/*
STICKLINE1(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),5,0),COLOR330000;
STICKLINE1(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),4,0),COLOR550000;
STICKLINE1(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),3,0),COLOR770000;
STICKLINE1(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),2,0),COLOR990000;
STICKLINE1(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),1.5,0),COLORBB0000;
STICKLINE1(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),1,0),COLORDD0000;
STICKLINE1(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),5,0),COLOR003300;
STICKLINE1(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),4,0),COLOR005500;
STICKLINE1(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),3,0),COLOR007700;
STICKLINE1(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),2,0),COLOR009900;
D1:=(C+L+H)/3;
D2:=EMA(D1,6);
D3:=EMA(D2,5);
BBUY:=CROSS(D2,D3);
风险区:80,COLORFF85FF;
安全区:20,COLORYELLOW,POINTDOT;
天线:100,COLOR00FFFF;
强弱线:50,COLORRED,POINTDOT;  
*/
AA:=REFX(MA(EMA(C,1),2),1);
BB:=REFX(MA(AA,2),1);
T1R:=REFX(MA(BB,2),1);
TR1:=EMA((T1R-REF(T1R,1))/REF(T1R,1),1)*1000,COLORFF00FF,NODRAW;
净:=REFX(MA(TR1,11),11/2);
流:=EMA(净,11);
主力动向:=EMA(净+流,1)-REFX(MA(净-流,2),1),COLORFF00FF,NODRAW;
MA1:REFX(MA(主力动向,11),11/2),COLORFF00FF,NODRAW;
MA3:EMA(MA1,2);
//DRAWTEXT(CROSS(MA3,MA1),(MA3 *1.12),'退'),COLORYELLOW;
//DRAWTEXT(CROSS(0,MA1),MA1,'缩'),COLOR00FFFF;
//DRAWTEXT(CROSS(MA1,0),MA1,'续'),COLORFF00FF;
//STICKLINE(MA1>=0 AND MA1>=REF(MA1,1),0,MA1,1.2,1),COLORRED;
//STICKLINE(MA1>=0 AND MA1<REF(MA1,1),0,MA1,1.2,0),COLORYELLOW;
//STICKLINE(MA1<0 AND MA1>=REF(MA1,1),0,MA1,1.5,0),COLORFF00FF;
//STICKLINE(MA1<0 AND MA1<REF(MA1,1),0,MA1,1.2,1),COLORBLUE;
//STICKLINE(MA1<=0 AND MA1>=REF(MA1,1),0 ,MA1,3,0),COLORFF6600;
//STICKLINE(MA1<=0 AND MA1>=REF(MA1,1),0,MA1,2,0),COLORFF9900;
//STICKLINE(MA1<=0 AND MA1>=REF(MA1,1),0,MA1,1.5,0),COLORFFCC00;
//STICKLINE(MA1<=0 AND MA1>=REF(MA1,1),0,MA1,0.5,0),COLORCYAN;
//STICKLINE(MA1>=0 AND MA1>=REF(MA1,1),0,MA1,3,0),COLOR000099;
//STICKLINE(MA1>=0 AND MA1>=REF(MA1,1),0,MA1,2,0),COLOR0000CC;
//STICKLINE(MA1>=0 AND MA1>=REF(MA1,1),0,MA1,1.5,0),COLOR0000FF;
//STICKLINE(MA1>=0 AND MA1>=REF(MA1,1),0,MA1,0.5,0),COLORCC66FF;
尖顶做多: ZIGZAG(C,5,1)>REF(ZIGZAG(C,5,1),1) && REF(ZIGZAG(C,5,1),1)<REF(ZIGZAG
(C,5,1),2), COLORRED,LINETHICK2;
尖顶做空: ZIGZAG(C,5,1)<REF(ZIGZAG(C,5,1),1) AND REF(ZIGZAG(C,5,1),1)>REF(ZIGZAG
(C,5,1),2),COLORGREEN,LINETHICK2;
DRAWTEXT(尖顶做多=1,0.8,'做多'),COLORRED;
DRAWTEXT(尖顶做空=1,0.8,'做空'),COLORGREEN;
FILLRGN(MA3>0,0,MA3,COLORRED);
FILLRGN(MA3<0,0,MA3,COLORGREEN);