N:=1;
MAV:=(C*2+H+L)/4;
SK := EMA(MAV,20) - EMA(MAV,60);
SD := EMA(SK,5);
战胜自己:0,pointdot,COLORRED;
多方主力 : (2*(SK-SD))*3.8,LINESTICK,color990ff0,linethick6;
多方:ref( 多方主力,n),LINESTICK,colorYELLOW,linethick7;
SK1 := EMA(MAV,2) - EMA(MAV,3);
SD1 := EMA(SK1,5);
短多方 : (2*(SK1-SD1))*3.8,color990ff0,LINESTICK,linethick6;
下降1:if(多方主力<0,多方主力,0),colorgreen,LINESTICK,linethick6;
上升1:if(多方主力>0,多方主力,0),colorred,LINESTICK,linethick6;
下降2:if(短多方<0,多方主力,0),colorgreen,LINESTICK,linethick6;
上升2:if(短多方>0,多方主力,0),colorred,LINESTICK,linethick6;