将“波段轨道”出现彩带的地方编一个选股公式
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

源码: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;股价:=(H+L+C)/3;股价运动:=股价,LINETHICK2,COLORBLUE;趋势:=XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(股价,3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),LINETHICK1,COLORFFFFFF;风险区1:趋势*1.1,COLOR0000FF;风险区2:趋势*1.125,COLOR0000FF;风险区3:趋势*1.15,COLOR00FFFF,POINTDOT;良机区1:趋势*0.9,COLORLIBLUE;良机区2:趋势*0.875,COLORLIBLUE;良机区3:趋势*0.85,COLORFFFF00,POINTDOT;上一:IF(风险区1>REF(风险区1,1), 风险区1,DRAWNULL),COLORYELLOW;上二:IF(风险区2>REF(风险区2,1), 风险区2,DRAWNULL),COLORYELLOW;上三:IF(风险区3>REF(风险区3,1), 风险区3,DRAWNULL),COLORYELLOW;下一:IF(良机区1>REF(良机区1,1), 良机区1,DRAWNULL),COLORYELLOW;下二:IF(良机区2>REF(良机区2,1), 良机区2,DRAWNULL),COLORYELLOW;下三:IF(良机区3>REF(良机区3,1), 良机区3,DRAWNULL),COLORYELLOW;DRAWBAND(上三,RGB(0,0,255),上二,DRAWNULL);DRAWBAND(上二,RGB(255,255,0),上一,DRAWNULL);DRAWBAND(下一,RGB(80,00,00),下二,DRAWNULL);DRAWBAND(下二,RGB(255,255,255),下三,DRAWNULL);DRAWBAND(上一,RGB(128,128,64), 下一,DRAWNULL);{IF(趋势>REF(趋势,1), 趋势,DRAWNULL),COLORYELLOW,LINETHICK2}T:=CLOSE/REF(CLOSE,1)*1000-1000;QS2:=XMA(XMA(XMA(T,2),2),2);QS4:=XMA(XMA(XMA(T,4),4),4);QS6:=XMA(XMA(XMA(T,6),6),6);{DRAWICON(CROSS(QS2,QS4),L,1);DRAWICON(QS2REF(QS4,1),H,2);}风险:=((C-趋势)/趋势*100>10 AND C>通道3) OR ((H-趋势)/趋势*100>10 AND H>通道3 ) OR ((O-趋势)/趋势*100>10 AND O>通道3);DRAWICON(风险 AND FILTER(风险,3),H+0.01,6);良机:=((C-趋势)/趋势*100<-10 AND C<通道4) OR ((O-趋势)/趋势*100<-10 AND O<通道4 ) OR((L-趋势)/趋势*100<-10 AND L<通道4);QW1:=趋势>REF(趋势,1);DRAWICON(良机 AND QW1 AND FILTER(良机,3),L*0.97,5);QW2:=O<良机区3;DRAWICON(QW2 AND FILTER(QW2,3),L*0.97,9);E1:EXPMA(C,7),COLORGREEN;E2:EXPMA(C,9),COLORGREEN;E3:EXPMA(C,12),COLORGREEN;E4:EXPMA(C,14),COLORGREEN;E5:EXPMA(C,17),COLORGREEN;E6:=EXPMA(C,50),COLORFF8800,LINETHICK2;就:IF(E1>REF(E1,1),E1,DRAWNULL), COLOR0080FF;这:IF(E2>REF(E2,1),E2,DRAWNULL), COLOR0080FF;样:IF(E3>REF(E3,1),E3,DRAWNULL), COLOR0080FF;做:IF(E4>REF(E4,1),E4,DRAWNULL), COLOR0080FF;多:IF(E5>REF(E5,1),E5,DRAWNULL), COLOR0080FF;DRAWKLINE(H,O,L,C);STICKLINE(C>=O,H,L,0,1),COLOR0000FF;STICKLINE(C>=O,C,O,2.8,0),COLOR0000BB;STICKLINE(C>=O,C,O,2,0),COLOR0000DD;STICKLINE(C>=O,C,O,1.2,0),COLOR0000EE;STICKLINE(C>=O,C,O,0.4,0),COLOR0000FF;STICKLINE(CREF(E1,1) AND E2>REF(E2,1) AND E3>REF(E3,1) AND E4>REF(E4,1) AND E5>REF(E5,1)) AND (REF(E1,1)<=REF(E1,2) OR REF(E2,1)<=REF(E2,2) OR REF(E3,1)<=REF(E3,2) OR REF(E4,1)<=REF(E4,2) OR REF(E5,1)<=REF(E5,2));A2:=风险区1>REF(风险区1,1) AND 风险区2>REF(风险区2,1) AND 风险区3>REF(风险区3,1) AND 良机区1>REF(良机区1,1) AND 良机区2>REF(良机区2,1) AND 良机区3>REF(良机区3,1);DRAWICON(A1 AND A2,L*0.99,25);请老师将“波段轨道”出现彩带的地方及出现笑脸编一个选股公式,谢谢!

解答:

 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;
股价:=(H+L+C)/3;
趋势:=XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(股价,3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),LINETHICK1,COLORFFFFFF;
良机区1:=趋势*0.9;
良机区2:=趋势*0.875;
良机区3:=趋势*0.85T;
下一:=良机区1>REF(良机区1,1);
下二:=良机区2>REF(良机区2,1);
下三:=良机区3>REF(良机区3,1);
良机:=((C-趋势)/趋势*100<-10 AND C<通道4) OR ((O-趋势)/趋势*100<-10  AND O<通道4 ) OR((L-趋势)/趋势*100<-10  AND L<通道4);
QW1:=趋势>REF(趋势,1);
条件:(下一 OR  下二 OR 下三) AND 良机 AND QW1 AND FILTER(良机,3);

选股票看什么指标最好 >股票指标网