趋势001:=(5)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1))-(3)*(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1))-SMA(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1),2,1);
趋势线:MA(趋势001,3),COLORYELLOW,LINETHICK1;
方向:=趋势线>REF(趋势线,1);
IF(方向,趋势线,DRAWNULL),COLORRED,LINETHICK1;
趋势A01:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5);
趋势A02:=(HIGH - REF(HIGH,1));
趋势A03:=(REF(LOW,1) - LOW);
趋势A04:=(SUM(IF(((趋势A02 > 0) AND ( 趋势A02 > 趋势A03)), 趋势A02,0),5) );
短线A:=(((趋势A04 ) * 100) / 趋势A01);
{股票指标网}
趋势B01:=(H+L+C)/3;
趋势B02:=HHV(趋势B01,15);
趋势B03:=LLV(趋势B01,15);
趋势B04:=趋势B02-趋势B03;
短线B:=MA((趋势B01-趋势B03)/趋势B04,2)*100;
底部:=短线A=0 AND 短线B=0;
STICKLINE(底部,-20,-10,2,1),COLORF00FF0;