A:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));
B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
分水岭:IF(MA(CLOSE,17)<B,B,MA(CLOSE,17)),COLORFF00FF,LINETHICK2;
操作线:分水岭-(EMA(C,3)-分水岭),COLOR00FFFF,LINETHICK2;
PM:MA(C,5),COLORWHITE,LINETHICK2;
PARTLINE(pm,PM>=REF(PM,1),rgb(255,0,0),PM<REF(PM,1),rgb(255,153,0)),LINETHICK2;
{股旁网-股票公式网站 www.gupang.com}
S:=(PM>操作线);
DD:=分水岭<REF(分水岭,1);
PARTLINE(分水岭,DD,rgb(0,255,0)),LINETHICK2;
PARTLINE(分水岭,S,rgb(0,255,0)),POINTDOT,LINETHICK4;
DRAWICON(CROSS(分水岭,操作线),分水岭-0.1,1);{买入红箭头};
202108211256.jpg
|