GTY:=11241012;
GTY1:=IF(DATE
XIao1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1)*GTY1;
XIAO2:=SMA(Abs(LOW-XIAO1),13,1)/SMA(MAX(LOW-XIAO1,0),10,1)*GTY1;
XIAO3:=EMA(XIAO2,10)*GTY1;
XIAO4:=LLV(LOW,33)*GTY1;
XIAO5:=EMA(IF(LOW<=XIAO4,XIAO3,0),3)*GTY1;
主力出没:IF(XIAO5>REF(XIAO5,1),XIAO5,0)*GTY1,COLORRED,NODRAW;
趋势力度:=(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)),COLORCYAN;
A1:=1;
A2:=5;
A3:=(((2 * CLOSE) + HIGH) + LOW) / 4;
A4:=LLV(LOW,34);
A5:=HHV(HIGH,34);
A6:=EMA((((A3 - A4) / (A5 - A4)) * 100),13);
A7:=(EMA(((0.667 * (REF(A6,1))) + (0.333 * A6)),2)) * A1;
A8:=(HHV(HIGH,9)) - (LLV(LOW,9));
A9:=(HHV(HIGH,9)) - CLOSE;
A10:=CLOSE - (LLV(LOW,9));
A11:=((A9 / A8) * 100) - 70;
A12:=SMA(((A10 / A8) * 100),3,1);
A13:=(SMA(A12,3,1)) - (SMA(A11,9,1));
A14:=(EMA((((A3 - A4) / (A5 - A4)) * 100),8)) * A1;
A15:=(EMA(A14,5)) * A1;
A16:=(EMA(A7,A2)) * A1;
A17:=(A14 - A15)>0 AND 趋势力度>A16;
看涨趋势:IF(A17,趋势力度,DRAWNULL);
{趋势转弱信号}
逃顶:=1;
VAR01:=(HIGH+LOW+CLOSE)/3;
VAR02:=(VAR01-MA(VAR01,14))/(0.015*AVEDEV(VAR01,14));
VAR03:=(VAR01-MA(VAR01,70))/(0.015*AVEDEV(VAR01,70));
VAR04:=IF(VAR02>=150 AND VAR02<200 AND VAR03>=150 AND VAR03<200,10,0);
VAR05:=IF(VAR02<=-150 AND VAR02>-200 AND VAR03<=-150 AND VAR03>-200,-10,VAR04);
VAR1B:=(IF(VAR03>=200 AND VAR02>=150,15,IF(VAR03<=-200 AND VAR02<=-150,-15,VAR05))+60)*逃顶;
趋势转弱:FILTER(VAR1B=75,5),COLORMAGENTA,NODRAW;
量能饱和度:IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100),COLORYELLOW,NODRAW;
LC:=REF(CLOSE,1);
rsi5:=(SMA(MAX(C-LC,0),3,1))/(SMA(ABS(C-LC),3,1))*100;
wr10:=100*(HHV(HIGH,3)-C)/(HHV(HIGH,3)-LLV(LOW,3));
活跃度:RSI5-WR10,LINETHICK1,COLORFFFF00;
获利筹码%:WINNER(CLOSE)*100,NODRAW,COLORLIBLUE;