请老师帮忙改一下指标 [文华财经]
-
咨询内容:
老师你好,能给图中的蓝色K线改成正常的白色K线,谢谢
MA5:=MA(C,5),COLORF00FF0;MA10:=MA(C,10);MA20:=MA(C,20);MA60:=MA(C,60),COLORGREEN;买线:=ZIGZAG(C,10,1);卖线:=MA(买线,3);DRAWCOLORKLINE(买线>=卖线 && C>=O,COLORRED,1);DRAWCOLORKLINE(买线>=卖线 && C<O,COLORRED,0);DRAWCOLORKLINE(买线<卖线 && C>=O,COLORGREEN,1);DRAWCOLORKLINE(买线<卖线 && C<O,COLORGREEN,0);CAPITAL:=GETPRICE1('通股本'; 换手:=V/CAPITAL*100;基线:=MA(REF(LLV(C,30),1),2),NODRAW;AMOUNT:=AVPRICE*V;量能饱和度:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100),NODRAW;MA8:=MA(C,8),COLORYELLOW;MA13:=MA(C,13),COLORE66878;MA50:=MA(C,50),COLORWHITE;MA55:=MA(C,55),COLORGREEN;MA144:=MA(C,144),COLORBLUE;X1:=(C+L+H)/3;X2:=EMA(X1,6);X3:=EMA(X2,5);STICKLINE1(CROSS(买线,卖线),O,C,9,0),COLOR00AAFF;STICKLINE1(买线<卖线&&C<=O,H,L,0,0),COLORGREEN;STICKLINE1(买线<卖线&&C<=O,C,O,3,0),COLOR00D500;STICKLINE1(买线<卖线&&C<=O,C,O,2,0),COLOR00E600;STICKLINE1(买线<卖线&&C<=O,C,O,1,0),COLOR00E600;DRAWICON(CROSS(买线<卖线,0.5),H,5);STICKLINE1(买线>=卖线&&C<=O,H,L,0,0),COLOR0000FF;STICKLINE1(买线>=卖线&&C<=O,C,O,3,0),COLOR0000E9;STICKLINE1(买线>=卖线&&C<=O,C,O,2,0),COLOR0000EA;STICKLINE1(买线>=卖线&&C<=O,C,O,1,0),COLOR0000FF;DRAWCOLORKLINE(ISUP,COLORRED,1);DRAWICON(CROSS(买线>=卖线,0.5),L,4);VARF1:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR101:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR111:=VARF1<REF(VAR101,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);游资:=(VAR111 AND COUNT(VAR111,30)=1 AND 买线>=卖线);//DRAWTEXT(游资,(基线*0.97),'-游资进',COLORBLUE;//STICKLINE(游资,(基线*0.96),(基线+0.2),9,0),COLORBLUE;VARS1:=(C-LLV(L,36))/(HHV(H,36)-LLV(L,36))*100;VARS2:=SMA(VARS1,3,1);VARS3:=SMA(VARS2,3,1);VARS4:=SMA(VARS3,3,1);抄底:=((FILTER((CROSS(VARS3,VARS4) AND VARS3<20),10)=1) AND 买线>=卖线);//DRAWTEXT(抄底,(基线*0.94),'-抄底',COLORFF00FF;//STICKLINE1(抄底,(基线*0.92),基线,9,0),COLORFF00FF;YY:=(CROSS(X2,X3) AND (买线>=卖线));//DRAWTEXT(YY,(L*0.99),'-精准买',COLORYELLOW;//STICKLINE1(YY,C,(L*0.98),9,0),COLORYELLOW;F:=100*(C-REF(C,1))/REF(C,1);S1:=IF(C<REF(O,1) AND F<0,1,0);S2:=IF(C<REF(O,2) AND F<0,1,0);短买点:=((CROSS((SMA(MAX(C-(REF(C,1)),0),4.1,1)/SMA(ABS(C-(REF(C,1))),4.1,1)*100),11)*1) AND S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND 换手>=3 AND 买线>=卖线);//DRAWTEXT(短买点,(基线*0.94),'-短买点',COLORFF00FF;//STICKLINE1(短买点,(基线*0.92),(基线*0.98),9,0),COLORFF00FF;VAR5:=(3*(SMA(SMA(((C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100),3,1),3,1)/28.57)-2*(EMA((SMA(SMA(((C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100),3,1),3,1)/28.57),5)));奔牛:=(CROSS(VAR5,(SMA(SMA(((C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100),3,1),3,1)/28.57)) AND 买线>=卖线);//DRAWTEXT(奔牛,(基线*0.98),'-奔牛',COLOR00AAFF;//STICKLINE1(奔牛,(基线*0.96),基线,9,0),COLOR00AAFF;VARQ1:=EMA(CLOSE,3);VARQ2:=EMA(CLOSE,21);VARQ3:=BARSLAST(CROSS(VARQ2,VARQ1))>15;VARQ4:=VOL>MA(VOL,5)*2 AND VOL<MA(VOL,5)*5;黑马:=((CROSS(VARQ1,VARQ2) AND VARQ4 AND VARQ3) AND 买线>=卖线);//DRAWTEXT(黑马,(基线*0.98),'-黑马',COLORFF6600;//STICKLINE1(黑马,(基线*0.96),基线,9,0),COLORFF6600;波段买点:=CROSS((ZIGZAG(C,10,1)),(MA((ZIGZAG(C,10,1)),3)));//DRAWTEXT(波段买点,(基线*0.98),'-波段买',COLOR00AAFF;//STICKLINE1(波段买点,(基线*0.96),基线,9,0),COLORRED;VARDD:=(ZIGZAG(C,5,1)<REF(ZIGZAG(C,5,1),1)) AND (REF(ZIGZAG(C,5,1),1)>=REF(ZIGZAG(C,5,1),2)) AND (REF(ZIGZAG(C,5,1),2)>=REF(ZIGZAG(C,5,1),3));//DRAWTEXT((VARDD=1),(H*1.05),'段卖',COLORWHITE;//STICKLINE1((VARDD=1),(H*1.01),(H*1.03),9,0),COLORWHITE;大黑马:=(IF(CROSS((MA(3*SMA(((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100,6,1)-2*SMA(SMA(((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100,5,1),5,1),2)),0) AND EMA(3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),5)<40,8,0) AND 买线>=卖线);//DRAWTEXT(大黑马,(基线*0.94),'大黑马',COLORBLUE;来源:程序化99
-
文华技术人员:
文件名:1j@339t5{d@hf)aj9o_k55.png
来源: WWW.CXH99.COM
- 文华客服: 来源: WWW.CXH99.COM
-
文华客服:老师你好,能给图中的蓝色K线改成正常的白色K线,谢谢
-
网友回复:
参考:
MA5:=MA(C,5),COLORF00FF0; MA10:=MA(C,10); MA20:=MA(C,20); MA60:=MA(C,60),COLORGREEN; 买线:=ZIGZAG(C,10,1); 卖线:=MA(买线,3); DRAWCOLORKLINE(买线>=卖线 && C>=O,COLORRED,1); DRAWCOLORKLINE(买线>=卖线 && C<O,COLORRED,0); DRAWCOLORKLINE(买线<卖线 && C>=O,COLORGREEN,1); DRAWCOLORKLINE(买线<卖线 && C<O,COLORGREEN,0); CAPITAL:=GETPRICE1('通股本'; 换手:=V/CAPITAL*100; 基线:=MA(REF(LLV(C,30),1),2),NODRAW; AMOUNT:=AVPRICE*V; 量能饱和度:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100),NODRAW; MA8:=MA(C,8),COLORYELLOW; MA13:=MA(C,13),COLORE66878; MA50:=MA(C,50),COLORWHITE; MA55:=MA(C,55),COLORGREEN; MA144:=MA(C,144),COLORBLUE; X1:=(C+L+H)/3; X2:=EMA(X1,6); X3:=EMA(X2,5); STICKLINE1(CROSS(买线,卖线),O,C,9,0),COLOR00AAFF; STICKLINE1(买线<卖线&&C<=O,H,L,0,0),COLORGREEN; STICKLINE1(买线<卖线&&C<=O,C,O,3,0),COLOR00D500; STICKLINE1(买线<卖线&&C<=O,C,O,2,0),COLOR00E600; STICKLINE1(买线<卖线&&C<=O,C,O,1,0),COLOR00E600; DRAWICON(CROSS(买线<卖线,0.5),H,5); STICKLINE1(买线>=卖线&&C<=O,H,L,0,0),COLORWHITE; STICKLINE1(买线>=卖线&&C<=O,C,O,3,0),COLORWHITE; STICKLINE1(买线>=卖线&&C<=O,C,O,2,0),COLORWHITE; STICKLINE1(买线>=卖线&&C<=O,C,O,1,0),COLORWHITE; DRAWCOLORKLINE(ISUP,COLORRED,1); DRAWICON(CROSS(买线>=卖线,0.5),L,4); VARF1:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); VAR101:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); VAR111:=VARF1<REF(VAR101,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); 游资:=(VAR111 AND COUNT(VAR111,30)=1 AND 买线>=卖线); //DRAWTEXT(游资,(基线*0.97),'-游资进',COLORBLUE; //STICKLINE(游资,(基线*0.96),(基线+0.2),9,0),COLORBLUE; VARS1:=(C-LLV(L,36))/(HHV(H,36)-LLV(L,36))*100; VARS2:=SMA(VARS1,3,1); VARS3:=SMA(VARS2,3,1); VARS4:=SMA(VARS3,3,1); 抄底:=((FILTER((CROSS(VARS3,VARS4) AND VARS3<20),10)=1) AND 买线>=卖线); //DRAWTEXT(抄底,(基线*0.94),'-抄底',COLORFF00FF; //STICKLINE1(抄底,(基线*0.92),基线,9,0),COLORFF00FF; YY:=(CROSS(X2,X3) AND (买线>=卖线)); //DRAWTEXT(YY,(L*0.99),'-精准买',COLORYELLOW; //STICKLINE1(YY,C,(L*0.98),9,0),COLORYELLOW; F:=100*(C-REF(C,1))/REF(C,1); S1:=IF(C<REF(O,1) AND F<0,1,0); S2:=IF(C<REF(O,2) AND F<0,1,0); 短买点:=((CROSS((SMA(MAX(C-(REF(C,1)),0),4.1,1)/SMA(ABS(C-(REF(C,1))),4.1,1)*100),11)*1) AND S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND 换手>=3 AND 买线>=卖线); //DRAWTEXT(短买点,(基线*0.94),'-短买点',COLORFF00FF; //STICKLINE1(短买点,(基线*0.92),(基线*0.98),9,0),COLORFF00FF; VAR5:=(3*(SMA(SMA(((C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100),3,1),3,1)/28.57)-2*(EMA((SMA(SMA(((C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100),3,1),3,1)/28.57),5))); 奔牛:=(CROSS(VAR5,(SMA(SMA(((C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100),3,1),3,1)/28.57)) AND 买线>=卖线); //DRAWTEXT(奔牛,(基线*0.98),'-奔牛',COLOR00AAFF; //STICKLINE1(奔牛,(基线*0.96),基线,9,0),COLOR00AAFF; VARQ1:=EMA(CLOSE,3); VARQ2:=EMA(CLOSE,21); VARQ3:=BARSLAST(CROSS(VARQ2,VARQ1))>15; VARQ4:=VOL>MA(VOL,5)*2 AND VOL<MA(VOL,5)*5; 黑马:=((CROSS(VARQ1,VARQ2) AND VARQ4 AND VARQ3) AND 买线>=卖线); //DRAWTEXT(黑马,(基线*0.98),'-黑马',COLORFF6600; //STICKLINE1(黑马,(基线*0.96),基线,9,0),COLORFF6600; 波段买点:=CROSS((ZIGZAG(C,10,1)),(MA((ZIGZAG(C,10,1)),3))); //DRAWTEXT(波段买点,(基线*0.98),'-波段买',COLOR00AAFF; //STICKLINE1(波段买点,(基线*0.96),基线,9,0),COLORRED; VARDD:=(ZIGZAG(C,5,1)<REF(ZIGZAG(C,5,1),1)) AND (REF(ZIGZAG(C,5,1),1)>=REF(ZIGZAG(C,5,1),2)) AND (REF(ZIGZAG(C,5,1),2)>=REF(ZIGZAG(C,5,1),3)); //DRAWTEXT((VARDD=1),(H*1.05),'段卖',COLORWHITE; //STICKLINE1((VARDD=1),(H*1.01),(H*1.03),9,0),COLORWHITE; 大黑马:=(IF(CROSS((MA(3*SMA(((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100,6,1)-2*SMA(SMA(((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100,5,1),5,1),2)),0) AND EMA(3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),5)<40,8,0) AND 买线>=卖线); //DRAWTEXT(大黑马,(基线*0.94),'大黑马',COLORBLUE;
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容