猪头猪脑猪身猪尾巴
2024-06-03 20:00:29
最佳回答
n:=20;m:=32;p1:=80;p2:=100;var1:=(c+h+o+l)/4;卖出:ema(var1,n)*(1+p1/900),colorgreen,linethick2;买入:ema(var1,m)*(1-p2/900),colorred,linethick2;ma1:=ma(var1,3);stickline(卖出>low and 卖出<high,卖出,max(卖出,max(open,close)),8,0),colorgreen;stickline(卖出>min(c,o) and 卖出<max(c,o),卖出,max(open,close),8,0),colorgreen;stickline(卖出>low and 卖出<high,卖出,high,1,0),colorgreen;stickline(卖出<low,open,close,8,0),colorgreen;stickline(卖出<low,high,low,1,0),colorgreen;stickline(买入>low and 买入<high,买入,min(min(open,close),买入),8,0),colorred;stickline(买入>min(c,o) and 买入<max(c,o),买入,min(open,close),8,0),colorred;stickline(买入>low and 买入<high,买入,low,1,0),colorred;stickline(买入>high,open,close,8,0),colorred;stickline(买入>high,high,low,1,0),colorred;drawtext(cross(low,买入),low*0.95,'b'),colorred,linethick2;drawtext(cross(卖出,high),high*1.02,'s'),colorgreen; {只将参数加入公式中,不用另行设置,另外将品红色改成了红色(大智慧中不能识别品红色),其它未做改动,已经在大智慧中测试通过,复制可用} 20210311