源码如下:XX2:=(MA(CLOSE,80)-MA(CLOSE,13)/3); 奇线: MA((CLOSE-XX2)/XX2,1),COLOR00FF00; 买点1: IF(CROSS(奇线,0) AND LOW/REF(HIGH,1)REF(CLOSE,1),0.5,0),COLORRED; DRAWTEXT( 买点1>0,0.2 ,'神奇线'),COLORWHITE; DRAWTEXT( 买点2>0,0.4 ,'神奇线 '),COLORYELLOW; 神奇线XG:买点1>0; 请老师编写白色线(买点1)的预警公式,不胜感激。
爱约股解答:
XX2:=(MA(CLOSE,80)-MA(CLOSE,13)/3);
奇线:=MA((CLOSE-XX2)/XX2,1);
买点:CROSS(奇线,0) AND LOW/REF(HIGH,1)<1.012;