以下是同花顺买卖坑副图指标
同花顺买卖坑副图指标
源码
N:=13;M:=8;Var2:=IF(YEAR>=2034 AND MONTH>=8,0,1);Var3:=REF(HIGH,1)*1.1;Var4:=HIGH*1.1;Var5:=(Var4*VOL+Var3*(CAPITAL-VOL))/CAPITAL;Var6:=REF(LOW,1)*0.9;Var7:=LOW*0.9;Var8:=(Var7*VOL+Var6*(CAPITAL-VOL))/CAPITAL;Var9:=EMA(Var8,30);VarA:=EMA(Var5,30);VarB:=VarA-2;VarC:=IF(CLOSE<=Var9,VarB,VarA);VarD:=MA(CLOSE,80)-MA(CLOSE,10)/17;出手: IF(VarC-VarB=0 AND Var2 AND CROSS((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,MA((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,M)),40,0),colorf00ff0,STICK,linethick4;赢: DRAWTEXT(FILTER(VarC-VarB=0 AND CROSS((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,MA((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,M)),4),55,’赢’), colorred;VarE:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;卖出线: SMA(SMA(VarE,3,1),3,1), , colorred;买入线: 3*SMA(VarE,3,1)-2*卖出线, , color00ff00;DRAWICON(CROSS(90,买入线),90,2);顶部: IF(CROSS(90,买入线),15,0),STICK,colorwhite;STICKLINE(CROSS(90,买入线),15,0,5,0), , colorwhite;黄金点:IF(SMA(VarE,3,1)>卖出线,0.05,0), , colorred;STICKLINE(SMA(VarE,3,1)>卖出线,SMA(VarE,3,1),卖出线,4,0), , color0084ff;n:=5;var1:4*SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100,5,1),3.2,1),coloryellow,linethick0;var2:8,colorgreen,linethick0;上升在即: IF(CROSS(var1,var2),80,0),STICK,COLOR0000cc,linethick2;买入警戒: IF(var1<=8,25,0),STICK,colorwhite,linethick2;DRAWTEXT(CROSS(var1,var2),80,’准备买入’),COLOR00ffff;Varo5:=LLV(LOW,27);Varo6:=HHV(HIGH,34);Varo7:=EMA((CLOSE-Varo5)/(Varo6-Varo5)*4,4)*25;建仓区: IF((Varo7<10),80,100) ,color00ccff,linethick1;
评论(0)