VAR1:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
VAR2:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
VAR3:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
VAR4:=REF(CLOSE,1);
VAR5:=((SMA(MAX((CLOSE - VAR4),0),5,1) / SMA(Abs((CLOSE - VAR4)),5,1)) * 100);
VAR6:=(((HIGH + LOW) + CLOSE) / 3);
VAR22:=((VAR6 - MA(VAR6,14)) / (0.015 * AVEDEV(VAR6,14)));
VAR7:=(((((((VAR1 >= (0 - 15.8)) AND (VAR1 <= (0 - 12.2))) AND (VAR2 <= (0 - 20.8))) AND (VAR3 <= (0 - 27.5))) AND (VAR5 <= 11.7)) AND (VAR22 <= (0 - 145))) * 100);
{ _飞狐股票指标公式}
VAR8:=(((CLOSE - LLV(CLOSE,126)) / (HHV(CLOSE,126) - LLV(CLOSE,126))) * 100);
VAR24:=(VAR8 = 0);
VAR25:=(VAR8 = 100);
STICKLINE((VAR7 > 0),98,100,5,0),LINETHICK5,colorFF00FF;
STICKLINE((VAR24 > 0),(0 - 3),(0 - 9),1,0),LINETHICK3,colorFF;
DRAWTEXT((VAR7 > 0),99,'发现大黑马'),colorFF;
RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
kdj:=((3 * K) - (2 * D));
LC:=REF(CLOSE,1);
rsi:=((SMA(MAX((CLOSE - LC),0),6,1) / SMA(ABS((CLOSE - LC)),6,1)) * 100);
W:=((100 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14)));
M1:=((HHV(HIGH,50) / LLV(LOW,100)) > 1.5);
M2:=((HHV(HIGH,50) - LOW) / (HHV(HIGH,50) - LLV(LOW,100)));
M3:=((LOW - LLV(LOW,100)) / (HHV(HIGH,50) - LLV(LOW,100)));
M4:=(HHVBARS(HIGH,50) < LLVBARS(LOW,100));
M5:=(((M1 AND (M2 > 0.5)) AND (M3 > 0.3)) AND M4);
M6:=(COUNT(M5,20) = 1);
好多多一号:IF(((kdJ < 0) AND (RSI < 20)),50,0),colorFFAE10;
好多多二号:IF(((CLOSE < (MA(CLOSE,26) * 0.9)) AND (CLOSE < (MA(CLOSE,26) - (2 * STD(CLOSE,26))))),80,0),colorFFFF;
好多多三号:IF((M6 AND M5),95,0),colorFF;