{参数:N 1 100 20;M 1 100 32;P1 1 200 80;P2 1 200 100 }
VAR1:=(C+H+O+L)/4;
卖出:=XMA(VAR1,N)*(1+P1/1000);
买入:=XMA(VAR1,M)*(1-P2/1000);
买:CROSS(LOW,买入),STICK,COLORRED,LINETHICK2;
卖:CROSS(卖出,HIGH),STICK,COLORGREEN,LINETHICK2;
买1:IF(买入>LOW AND 买入
你试试吧,祝好运!
VAR1:=(C+H+O+L)/4;
买入:=XMA(VAR1,34)*(1-100/1000);
C<买入;