极品抄底源码
{N:1 100 7
P1:1 300 90}
A1:=LLV(LOW,2)=LLV(LOW,0);
B1:=(WINNER(C*1.1)-WINNER(C*0.9))/WINNER(HHV(H,0))*100;
A:=P1+(100-P1)/2;
B:=(100-P1)/2;
CC:=COST(A);
DD:=COST(B);
EE:=(CC-DD)/(CC+DD)*100/2;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
SR:=MACD REF(MACD,1) AND MACD
TC1:=HHV(EE,N)=HHV(EE,1) AND BARSCOUNT(CLOSE)
LC:= REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RE:=RSI1
GG:=LLV(LOW,7)=LLV(LOW,3) AND BARSCOUNT(CLOSE)
XG:TC1 AND B1 20 AND RE AND GG AND SR OR (CROSS(RSI1,20) AND B1