编写要求:
公式在线网解答:
网友求助:
MA7:=MA(C,7);
VAR71:=ATAN((MA7/REF(MA7,1)-1)*100)*180/3.1416;
AA1:=ATAN((MA7/REF(MA7,1)-1)*100)*180/3.1416;
BB1:=MA(AA1,4);
AA:=AA1>=BB1;
BB:=AA1<BB1;
买入:DRAWICON(CROSS(AA,BB),L-0.1,1);
卖出:DRAWICON(CROSS(BB,AA),H+0.1,2);
解答如下:
MA7:=MA(C,7);
VAR71:=ATAN((MA7/REF(MA7,1)-1)*100)*180/3.1416;
AA1:=ATAN((MA7/REF(MA7,1)-1)*100)*180/3.1416;
BB1:=MA(AA1,4);
AA:=AA1>=BB1;
BB:=AA1<BB1;
预警:CROSS(AA,BB);