编写要求:
请哪位老师帮忙将红箭头主图公式改成选股公式
出现红箭头买入
下面是源码
A3X:=V/WINNER(L);
A4X:=REF(HHV(C,120),1);
A5X:=REF(LLV(C,120),1);
A6X:=100*(C-A5X)/(A4X-A5X);
A8X:=A3X/REF(A3X,3)>=3 AND A6X<80 ;
A9X:=REF(A8X,1) OR REF(A8X,2) OR REF(A8X,3) OR REF(A8X,4);
A10X:=A8X AND A9X;
A12X:=IF(FILTER(A10X,3),10,0);
CCC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD20:=DMA(CLOSE,CCC);
通道44:=(1-7/100)*DD20;
A20:=C<通道44 AND C>O;
TYP2:=(HIGH+LOW+CLOSE)/3;
CCI2:=(TYP2-MA(TYP2,14))/(0.015*AVEDEV(TYP2,14));
MIDD:=MA(CLOSE,20);
LOWERR:=MIDD-2*STD(CLOSE,20);
XGG:=A20 AND CCI2<-100 AND O=REF(C,XX)*0.95,XX)=XX,1),REF(C,XX)*1.1,DRAWNULL),NODRAW,COLORYELLOW;
〖止损价〗:IF(XX<=10 AND REF(COUNT(H[=REF(C,XX)*0.95,XX)=XX,1),REF(C,XX)*0.95,DRAWNULL),NODRAW,COLORWHITE;
〖平仓价〗:IF(XX=10 AND REF(COUNT(H][=REF(C,XX)*0.95,XX)=XX,1),C,DRAWNULL),NODRAW;
DRAWICON(XIN,C*0.95,1);
DRAWICON(COUNT(H][REF(C,XX)*0.95,XX)=XX,REF(C,XX)*1.1,2);
DRAWICON(H>=REF(C,XX)*1.1 AND XX<=10 AND REF(COUNT(H][REF(C,XX)*0.95,XX)=XX,1),REF(C,XX)*1.1,2);
DRAWICON(COUNT(H][REF(C,XX)*0.95,XX)=XX,1) AND C<=REF(C,XX)*0.95,REF(C,XX)*1.1,2);
STICKLINE(COUNT(H][REF(C,XX)*0.95,XX)=XX,REF(C,XX)*1.1,REF(C,XX)*1.1,1,0),COLORYELLOW;
STICKLINE(COUNT(H][REF(C,XX)*0.95,XX)=XX,REF(C,XX),REF(C,XX),1,0),COLORGREEN;
STICKLINE(COUNT(H][REF(C,XX)*0.95,XX)=XX,REF(C,XX)*0.95,REF(C,XX)*0.95,1,0),COLORYELLOW;
STICKLINE(H>=REF(C,XX)*1.1 AND XX<=10 AND REF(COUNT(H][REF(C,XX)*0.95,XX)=XX,1),REF(C,XX),REF(C,XX),1,0),COLORGREEN;
STICKLINE(H>=REF(C,XX)*1.1 AND XX<=10 AND REF(COUNT(H][REF(C,XX)*0.95,XX)=XX,1),REF(C,XX)*1.1,REF(C,XX)*1.1,1,0),COLORYELLOW;
STICKLINE(H>=REF(C,XX)*1.1 AND XX<=10 AND REF(COUNT(H][REF(C,XX)*0.95,XX)=XX,1),REF(C,XX)*0.95,REF(C,XX)*0.95,1,0),,COLORYELLOW;
STICKLINE(COUNT(H][REF(C,XX)*0.95,XX)=XX,1) AND C<=REF(C,XX)*0.95,REF(C,XX)*1.1,REF(C,XX)*1.1,1,0),,COLORYELLOW;
STICKLINE(COUNT(H][REF(C,XX)*0.95,XX)=XX,1) AND C<=REF(C,XX)*0.95,REF(C,XX),REF(C,XX),1,0),COLORGREEN;
STICKLINE(COUNT(H][REF(C,XX)*0.95,XX)=XX,1) AND C<=REF(C,XX)*0.95,REF(C,XX)*0.95,REF(C,XX)*0.95,1,0),COLORYELLOW;
STICKLINE(COUNT(H][REF(C,XX)*0.95,XX)=XX,REF(C,XX)*1.1,REF(C,XX)*0.95,0.00001,-1),COLORGREEN;
STICKLINE(COUNT(H][REF(C,XX)*0.95,XX)=XX,1) AND C<=REF(C,XX)*0.95,REF(C,XX)*1.1,REF(C,XX)*0.95,0.00001,-1),COLORGREEN;
STICKLINE(H>=REF(C,XX)*1.1 AND XX<=10 AND REF(COUNT(H][REF(C,XX)*0.95,XX)=XX,1),REF(C,XX)*1.1,REF(C,XX)*0.95,0.00001,-1),COLORGREEN;
JJ:=IF(HHV(H,8)<=C*1.1,HHV(H,8),IF(HHV(H,7)<=C*1.1,HHV(H,7),
IF(HHV(H,6)<=C*1.1,HHV(H,6),
IF(HHV(H,5)<=C*1.1,HHV(H,5),
IF(HHV(H,4)<=C*1.1,HHV(H,4),
IF(HHV(H,3)<=C*1.1,HHV(H,3),IF(HHV(H,2)<=C*1.1,HHV(H,2),H)))))));
STICKLINE(XIN,JJ,C*0.95,0.00001,-1),COLORGREEN;]
解答:
?A3X:=V/WINNER(L);
A4X:=REF(HHV(C,120),1);