我来逐句翻译一下n:=90; {定义常数n为90}阳包阴xg: {输出的指标名称}if(‘中间的那一大段是 成立条件,1,0){这个说的就是 如果条件成立的话 指标为1 不成立为0}ref(open,1)>ref(close,1) and close>ref(open,1) andopenref(high,1) and lowopen and (close-open)>ema((high-lo...
k:=max((h+l)/2,(c+o)/2);bbi:=(ma(c,3)+ma(c,6)+ma(c,12)+ma(c,24))/4;b:k>=bbi or bbi>=ref(bbi,1);或----k:=max((h+l)/2,(c+o)/2);bbi:=(ma(c,3)+ma(c,6)+ma(c,12)+ma(c,24))/4;b:cross(k,bbi) or bbi>=r...
diff:=ema(close,12)-ema(close,26);dea:=ema(diff,9);macd:=2*(diff-dea);sx:=barslast(cross(dea,diff))+1;jx:=barslast(cross(diff,dea))+1;t1:=if(jx=1 and diff>ref(diff,ref(jx,1)+1),1,0);t2:=if(jx=1 and...