同花顺上攻动能副图指标
源码
五:MA(WINNER(C)*100,5),colorred;
十三:MA(WINNER(C)*100,13),coloryellow;
三四:MA(WINNER(C)*100,34),colorcyan;
六十:MA(WINNER(C)*100,60),colorgreen;
A0:=MA(C,3) MA(C,7) AND MA(C,7) MA(C,13);
A1:=(O REF(C*0.98,1) AND C/O 1.035 AND A0)*18;
A2:=MA(C,5) MA(C,10) AND MA(C,10) MA(C,20) AND C MA(C,5);
A3:=O=L AND C/REF(C,1) 1.03 AND H
A4:=O=L AND C/REF(C,1) 1.03 AND H=C;
A5:=((A2 AND A3) OR A4)*28;
A6:=IF(C-O =0,(H-C)/C*100,(H-O)/C*100);
A7:=((REF(A6,1) 3.5 AND C REF(H,1)) OR (REF(A6,2) 3.5 AND C REF(H,1))
OR (REF(A6,3) 3.5 AND C REF(H,1)))*38;
上攻A:A1,colorred;
上攻B:A5,colorwhite;
上攻C:A7,Color00D7FF;
A8:=(CLOSE/MA(CLOSE,55)-1)*100;
A9:=(CLOSE/MA(CLOSE,34)-1)*100;
A10:=(CLOSE/MA(CLOSE,13)-1)*100;
DRAWTEXT(A8 0 AND A9 0 AND A10 0,三四*0.93,'持'),coloryellow,ALIGN0;