同花顺中美战争副图指标
源码
Var1:=1/WINNER(CLOSE);
Var2:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
Var3:=100-ABS(Var2);
Var4:=3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
Var5:=3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
Var6:=100-Var5;
Var7:=100-Var4;
Var8:=MA(WINNER(CLOSE*0.95)*100,3);
Var9:=IF(Var1 5,IF(Var1 100,Var1,Var3-10),0);
红入场: Var7,colorred;
顶: IF(Var3 90,Var3,100),colorgreen;
活跃度65上: Var8, LINESTICK;
底部区: Var9, LINESTICK;
STICKLINE(Var7 =REF(Var6,1),Var7,Var6,4,0),colorwhite;
STICKLINE(Var7 REF(Var6,1),Var7,Var6,4,0),colorred;
VarA:=REF(LOW,1)*0.9;
VarB:=LOW*0.9;
VarC:=(VarB*VOL+VarA*(CAPITAL-VOL))/CAPITAL;
VarD:=EMA(VarC,30);
VarE:=REF(CLOSE,1);
VarF:=SMA(MAX(CLOSE-VarE,0),7,1)/SMA(ABS(CLOSE-VarE),7,1)*100;
Var10:=SMA(MAX(CLOSE-VarE,0),13,1)/SMA(ABS(CLOSE-VarE),13,1)*100;
Var11:=BARSCOUNT(CLOSE);
Var12:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
Var13:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;
Var14:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
Var15:=(SMA(Var14,4,1)-50)*2;
Var16:=SMA(Var15,3,1);
Var17:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
Var18:=SMA(Var17,4,1);
Var19:=SMA(Var18,3,1);
Var1A:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
Var1B:=IF(Var12 =25 AND Var13 -95 AND Var1A 20 AND Var16 -30 AND Var19 30 AND VarD-CLOSE =-0.25 AND VarF 22 AND Var10 28 AND Var11 50,80,0);
抄底: Var1B,colorred;
Var1C:=(HIGH+LOW+CLOSE)/3;
Var1D:=(Var1C-MA(Var1C,14))/(0.015*AVEDEV(Var1C,14));
Var1E:=(Var1C-MA(Var1C,70))/(0.015*AVEDEV(Var1C,70));
Var1F:=IF(Var1D =150 AND Var1D 200 AND Var1E =150 AND Var1E 200,10,0);
Var20:=IF(Var1D =-150 AND Var1D -200 AND Var1E =-150 AND Var1E -200,-10,Var1F);
Var21:=IF(Var1E =200 AND Var1D =150,15,IF(Var1E =-200 AND Var1D =-150,-15,Var20))+65;
预警系统: Var21, colorwhite; 太平洋: 60 ;