网友求助:

求老师将"中国发发"的"薛斯通道"改为大智慧谢谢

公式源码 薛斯通道
n 2 120 13
n1 1 100 3
n2 1 100 5
n3 1 100 9
n4 1 100 9
VVAR4:=EXPMA(CLOSE,9);
VLDN:=EXPMA(VVAR4*0.86,5);
QAVW1:=(C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100;
QAVW2:=100*(HHV(H,55)-C)/(HHV(H,55)-LLV(L,55));
QAV21:=SMA(QAVW2,55,1)+100;
HH:=(HHV(V,135));
RSV8:=(CLOSE - LLV(L,21))/(HHV(H,21) - LLV(L,21));
K18:=EMA(RSV8,3);
D18:=EMA(K18,3);
J18:=3*K18-2*D18;
KDJ1:=REF(COUNT(J18<REF(J18,1),5)>=3,1) AND REF(J18,1)<0.03;
KDJ2:=J18>REF(J18,1);
QAV11:=SMA(QAVW1,9,1);
QAV51:=SMA(QAV11,3,1)+100;
KDJ3:=REF(COUNT(J18>REF(J18,1),5)>=3,1) AND REF(J18,1)>0.99;
KDJ4:=J18<REF(J18,1);
VAR22:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*200*10;
能量:=SMA(VAR22,5,1);
WRH:=QAV51-QAV21+50;
T:=(HIGH+LOW+CLOSE)/3;
CCII:=(T-MA(T,9))/(0.016*AVEDEV(T,9));
STICKLINE(WRH>REF(WRH,1),VLDN-0.4,VLDN-0.7,10,0),COLOR8C1177;
STICKLINE(WRH<REF(WRH,1),VLDN-0.4,VLDN-0.7,10,0),COLOR015400;
JJ:=(H+L+C)/3;
QJ0:=VOL/IF(H=L,4,H-L);
QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(C,O)),QJ0*(MIN(O,C)-L));
QJ2:=IF(CAPITAL=0,QJ0*(MIN(O,C)-L),QJ0*(JJ-MIN(C,O)));
QJ3:=QJ0*(H-MAX(O,C));
QJ4:=QJ0*(MAX(C,O)-JJ);
QJ5:=QJ1+QJ2;
QJ6:=QJ3+QJ4;
DD:=(QJ5-QJ6)/(QJ5+QJ6)*100;
DDX:=((QJ1+QJ2)-(QJ3+QJ4))/SUM(VOL,10)*100;
DDZ:=DD*17;
DDY:=((QJ2+QJ4)-(QJ1+QJ3))/SUM(VOL,10)*100;
捡钱1:=CROSS(CCII,-150),NODRAW;
捡钱2:=CROSS(CCII,-150) AND ((DDX>0 AND DDY>0) OR DDZ>400),NODRAW;
BIAS:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100,NODRAW;
捡钱3:=IF(BIAS<=-16,1,0),NODRAW;
量1:=MA(VOL,250);
F:=VOL<量1;
CCI8:=(T-MA(T,14))/(0.015*AVEDEV(T,14));
R:=F OR ((捡钱1 OR 捡钱2 OR 捡钱3) AND 能量<550) OR (FILTER(KDJ1 AND KDJ2,3) AND 能量<650) AND CCI8<-180,NODRAW;
DRAWICON(R,VLDN-0.7,9);
DRAWTEXT(R,VLDN-0.7,'捡钱啦'),COLOR00FFFF;

VAR2:=CLOSE*VOL;
VAR3:=EMA((EXPMA(VAR2,3)/EXPMA(VOL,3)+EXPMA(VAR2,6)/EXPMA(VOL,6)+EXPMA(VAR2,12)/EXPMA(VOL,12)+EXPMA(VAR2,24)/EXPMA(VOL,24))/4,N);
SUP:1.06*VAR3;
SDN:VAR3*0.94;
VAR4:=EXPMA(CLOSE,9);
LUP:EXPMA(VAR4*1.14,5);
LDN:EXPMA(VAR4*0.86,5);
多头:=LDN>=REF(LDN,1);
STICKLINE(多头,LDN,LDN+LDN*0.03,0.8,1),COLORMAGENTA;
狮龙抬头:=多头 AND COUNT(多头=0,2)=1 ;
上穿:=CROSS(C,SDN);
SS:=C-SDN<0 AND C/REF(C,3)>1 AND COUNT(C-SDN<0,2)=2 AND C-O>0;
进仓:=上穿 OR SS;
STICKLINE(进仓,L,L-L*0.03,0.8,1),COLOR70DB93;

A:=IF((CLOSE > 126.32),(AMOUNT / 100000),VOL);
散户:=MA(A,27),COLORF2E9E7,POINTDOT;
EMA5:=EMA(C,5);
EMA13:=EMA(C,9);
UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(EMA13,EMA5))+1),LLV(L,BARSLAST(CROSS
(EMA13,EMA5))+1),H=HHV(H,BARSLAST(CROSS(EMA5,EMA13))+1),HHV(H,BARSLAST(CROSS
(EMA5,EMA13))+1),0),COLOR0000FF;
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(EMA5,EMA13))+1),HHV(H,BARSLAST(CROSS
(EMA5,EMA13))+1),L=LLV(L,BARSLAST(CROSS(EMA13,EMA5))+1),LLV(L,BARSLAST(CROSS
(EMA13,EMA5))+1),0),COLOR00FF00;
HRY33:=SQRT((HHV(HIGH,55)*LLV(LOW,55)));
牛:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HRY33;
红犀牛1:=UP>0 AND COUNT(DOWN>0,2)=1;
多空:=IF(红犀牛1,-2,90),COLOR00FF00,LINETHICK3;
多:IF(多空=90,SDN,DRAWNULL),COLORMAGENTA,LINETHICK3;

MTM:=C-REF(C,1);
ZLGJ:=100*EMA(EMA(MTM,N3),N3)/EMA(EMA(ABS(MTM),N3),N3),COLORWHITE;
MAZL:=MA(ZLGJ,N2),COLORYELLOW;
VAAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAAR2:=SMA(ABS(LOW-VAAR1),13,1)/SMA(MAX(LOW-VAAR1,0),10,1);
VAAR3:=EMA(VAAR2,10);
VAAR4:=LLV(LOW,33);
VAAR5:=EMA(IF(LOW<=VAAR4,VAAR3,0),3);
主力进场:=IF(VAAR5>REF(VAAR5,1),VAAR5,0),COLORRED,NODRAW;
洗盘:=IF(VAAR5<REF(VAAR5,1),VAAR5,0),COLORGREEN,NODRAW;
AAA:=ZLGJ>REF(ZLGJ,1) AND MAZL>REF(MAZL,1) AND CROSS(ZLGJ,MAZL);
BBB:=CROSS(ZLGJ,MAZL) AND 多空>10;
CCC:=CROSS(ZLGJ,MAZL) AND COUNT(多空=90,2)=1;
进场:=AAA OR BBB OR CCC;
STICKLINE(进场,SUP,SUP+SUP*0.06,0.8,1),COLORYELLOW;

买:=MA(CLOSE,1);
卖:=(LOW+HIGH+CLOSE)/3;
奇准:= MA(卖,5);
买卖:=LLV(奇准,10);
急买奇准:=LLV((买<买卖),5);
短买奇准:=LLV((买<买卖),10);

P:=((2)*(CLOSE) + HIGH + LOW + OPEN)/(5);
CCI:=((P - MA(P,14))*(100))/((1.5)*(AVEDEV(P,14)));
JL:=CCI < (-100);

P1:=4;
P2:=5;
V1:=LLV(LOW,P1);
V2:=HHV(HIGH,P1);
牛线:= EMA((CLOSE-V1)/(V2-V1)*100,P2),COLORRED,LINETHICK1;
马线:= EMA(0.667*REF(牛线,1)+0.333*牛线,2),COLORGREEN,LINETHICK1;