{买在长线底部源码}
P:=55;S:=8;M:=3;
VAR1:=EMA(EMA(CLOSE,13),13);
VAR2:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
JJJJ:=DYNAINFO(11);
AAAA:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10;
BBBB:=EMA(AAAA,M);
BTJ1:=(C-JJJJ)/JJJJ -0.03;
BTJ2:=VAR2 REF(VAR2,1) AND VAR2 -0.2;
BTJ3:=CROSS(AAAA,BBBB) AND AAAA -0.3;
BTJ4:=FILTER(BTJ1 AND BTJ2 AND BTJ3,13);
买1:=IF(BTJ4,1,0),COLORRED;{www.9m8.cn 九毛八公式指标网}
买2:=IF(FILTER(BTJ1 AND BTJ2 AND BTJ3,55),1,0),COLORLIRED;
长线底部买点:IF(买1 OR 买2,1,0),COLORYELLOW;