时间:=1;
VAR1:=IF(时间,(HIGH+LOW+CLOSE*2)/4,0);
VAR2:=EMA(VAR1,7);
VAR3:=STD(VAR1,7);
VAR4:=(VAR1-VAR2)*100/LLV(LOW,33);
VAR5:=EMA(VAR4,3);
趋势线:=IF(时间,(EMA(VAR5,5)+100)/2-3,0);
空方线:IF(时间,HHV(趋势线,5),0),COLORGREEN;
操作线:IF(时间,趋势线,0),COLORMAGENTA,LINETHICK2;
转强线:IF(时间,45,0),COLORWHITE,DOTLINE;
DRAWICON(CROSS(操作线,转强线),转强线-0.95,38);
DRAWICON(FILTER(空方线=操作线 AND 操作线<45,5),空方线-0.95,1);
DRAWTEXT_FIX(1,0.01,0.98,0,'波段顶红线出绿线卖出,波段底绿线汇合红线买'),COLORLIRED;
{股票指标网 整理}