网友求助:

要求:《红色吸量股》改为大智慧副图
RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
RSV2:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
WEN:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
J1:=SMA(RSV1,3,1);J2:=SMA(J1,3,1);
W1:=SMA(RSV2,3,1);W2:=SMA(W1,3,1);
趋势线:=WEN;
准备下手:=趋势线<=10;
G1:=W1;
G2:=W2;
BB:=趋势线<=10,0,趋势线;
AA:=COUNT(趋势线<REF(趋势线,1) AND 趋势线<10,2)=2;
CC:=趋势线>G1 AND G1 >G2;
去除大盘股:=CAPITAL/1000000<15; {流通盘为15亿以下}
极品买点线:=MA(CLOSE,151),COLORRED,LINETHICK3;
DD:=COUNT((C/REF(C,1)-1)*100<4.001,13)=13;
理想:=(2*CLOSE+LOW+HIGH)/4;
论坛:=SLOPE(CLOSE,21)*20+CLOSE;
高人:=EMA(理想,40)*0.85;
多学习:=EMA(CLOSE,3);
多验证:=EMA(论坛,55);
常常:=EMA(理想,40)*1.15;
来到:=EMA(理想,55)*1.3;
理想论坛:=EMA(理想,55);
充实自己:=(理想论坛+高人)/2;
A1:=CLOSE>=充实自己 AND REF(CLOSE,1)<充实自己 AND REF(CLOSE,2)>充实自己;
A2:=FILTER(CLOSE>=理想论坛 AND LOW<理想论坛,2);
A3:=COUNT(A1,3)>0 OR A2;
MA7:=EMA(CLOSE,7),COLORFFFFFF;
MID:=MA(CLOSE,20),COLORYELLOW;
UPPER:=MID+2*STD(CLOSE,20),COLORRED;
EE:=COUNT(CROSS(MA7,MID),6)>0;
XG:=EE AND COUNT(AA,15)>=2 AND COUNT(CROSS(趋势线,G1),10)>0 AND COUNT(CROSS(趋势线,G2),10)>0 AND 去除大盘股 AND 极品买点线>=REF(极品买点线,1) AND 趋势线>30 AND 趋势线<49 AND COUNT(CC,N)=N AND DD AND A3 AND (C/REF(C,1)-1)*100<3.5 AND UPPER>=REF(UPPER,1);
XG1:COUNT(XG,5)>0;

 

解答如下:

RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
RSV2:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
WEN:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
J1:=SMA(RSV1,3,1);J2:=SMA(J1,3,1);
W1:=SMA(RSV2,3,1);W2:=SMA(W1,3,1);
趋势线:=WEN;
准备下手:=趋势线<=10;
G1:=W1;
G2:=W2;
{BB:=趋势线<=10,0,趋势线;}{这句子看不懂你看看源码对比一下是否有出入}
AA:=COUNT(趋势线<REF(趋势线,1) 趋势线<10,2)="2;
CC:=趋势线>G1 AND G1 >G2;
去除大盘股:=CAPITAL/1000000<15; {流通盘为15亿以下}
极品买点线:=MA(CLOSE,151);
DD:=COUNT((C/REF(C,1)-1)*100<4.001,13)=13;
理想:=(2*CLOSE+LOW+HIGH)/4;
论坛:=SLOPE(CLOSE,21)*20+CLOSE;
高人:=EMA(理想,40)*0.85;
多学习:=EMA(CLOSE,3);
多验证:=EMA(论坛,55);
常常:=EMA(理想,40)*1.15;
来到:=EMA(理想,55)*1.3;
理想论坛:=EMA(理想,55);
充实自己:=(理想论坛+高人)/2;
A1:=CLOSE>=充实自己 AND REF(CLOSE,1)<充实自己 AND REF(CLOSE,2)>充实自己;
A2:=FILTER(CLOSE>=理想论坛 AND LOW<理想论坛,2);
A3:=COUNT(A1,3)>0 OR A2;
MA7:=EMA(CLOSE,7);
MID:=MA(CLOSE,20);
UPPER:=MID+2*STD(CLOSE,20);
EE:=COUNT(CROSS(MA7,MID),6)>0;
XG:=EE AND COUNT(AA,15)>=2 AND COUNT(CROSS(趋势线,G1),10)>0 AND COUNT(CROSS(趋势线,G2),10)>0 AND 去除大盘股 AND 极品买点线>=REF(极品买点线,1) AND 趋势线>30 AND 趋势线<49 AND COUNT(CC,N)=N AND DD AND A3 AND (C/REF(C,1)-1)*100<3.5 AND UPPER>=REF(UPPER,1);
XG1:COUNT(XG,5)>0;