通达信妖股追击副图指标 源码 贴图
2024-05-30 11:30:00来源:本站整理浏览:640
通达信妖股追击副图指标 源码 贴图
VA1:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;
VA2:=2*ABS(VA1);{公式网WWW.GPXIAZAI.COM}
VA3:=100-3*SMA((C-LLV(L,72))/(HHV(H,72)-LLV(L,72))*100,20,1)+2*SMA(SMA((C-LLV(L,72))/(HHV(H,72)-LLV(L,72))*100,20,1),15,1);
VA4:=100-3*SMA((OPEN-LLV(L,72))/(HHV(H,72)-LLV(L,72))*100,20,1)+2*SMA(SMA((OPEN-LLV(L,72))/(HHV(H,72)-LLV(L,72))*100,20,1),15,1);
VA5:=(H+L+C)/3;
VA6:=(VA5-MA(VA5,14))/(0.015*AVEDEV(VA5,14));
VA7:=(VA5-MA(VA5,89))/(0.015*AVEDEV(VA5,89));
VA8:=IF(VA6>=150 AND VA6<200 AND VA7>=150 AND VA7<200,10,0);
VA9:=IF(VA6<=-150 AND VA6>-200 AND VA7<=-150 AND VA7>-200,-10,VA8);
VA10:=(C-MA(C,13))/MA(C,13)*100;
VA11:=100-ABS(VA10);
VA12:=3*SMA((INDEXC-LLV(INDEXL,72))/(HHV(INDEXH,72)-LLV(INDEXL,72))*100,20,1)-2*SMA(SMA
((INDEXC-LLV(INDEXL,72))/(HHV(INDEXH,72)-LLV(INDEXL,75))*100,20,1),15,1);
VA13:=3*SMA((INDEXO-LLV(INDEXL,72))/(HHV(INDEXH,72)-LLV(INDEXL,72))*100,20,1)-2*SMA(SMA
((INDEXO-LLV(INDEXL,72))/(HHV(INDEXH,72)-LLV(INDEXL,75))*100,20,1),15,1);
VA14:=REF(L,1)*0.9;
VA15:=(L*0.9*V+VA14*(CAPITAL-V))/CAPITAL;
VAR1:=EMA(VA15,30);
VAR2:=VAR1-C;
VAR3:=SMA(MAX(C-REF(C,1),0),7,1)/SMA(ABS(C-REF(C,1)),7,1)*100;
VAR4:=SMA(MAX(C-REF(C,1),0),13,1)/SMA(ABS(C-REF(C,1)),13,1)*100;
VAR5:=BARSCOUNT(C);
VAR6:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
VAR7:=((-100)*(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))+50)*2;
VAR8:=(C-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100;
VAR9:=(SMA(VAR8,4,1)-50)*2;
VAR10:=SMA(VAR9,3,1);
VAR11:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR12:=SMA(VAR11,4,1);
VAR13:=SMA(VAR12,3,1);
VAR14:=(HHV(H,30)-C)/C*100;
VAR15:=IF(VAR6<=25 AND VAR7<-95 AND VAR14>20 AND VAR10<-30 AND VAR13<30 AND VAR2>=-0.25 AND VAR3<22 AND VAR4<28 AND VAR5>50,80,0);
浮筹线:VA3,COLORFF00FF;
VAR16:=IF(VA11<90,VA11,100),COLORFFCC66;
VAR17:=IF(VA1>0,VA1,0);
活跃线:IF(VA1<0,VA2,0),LINESTICK;
VAR18:=VAR15;
VAR19:=IF(VA7>=200 AND VA6>=150,15,IF(VA7<=-200 AND VA6<=-150,-15,VA9))+60,COLOR00FF00;
VAR20:=100*(C-LLV(L,34))/(HHV(H,34)-LLV(L,34));
VAR21:=MA(VAR20,3);
VAR22:=EMA(AMOUNT/V/100,5);
VAR23:=EMA(AMOUNT/V/100,13);
VAR24:=VAR22-VAR23;
VAR25:=IF(1000*VAR24/VAR22>0,1000*VAR24/VAR22,0);
STICKLINE(VA3>=REF(VA4,1),VA3,VA4,8,1),COLOR0000FF;
STICKLINE(VA3<REF(VA4,1),VA3,VA4,8,1),COLOR00FF00;
VAR26:=C>MA(C,20) AND MA(C,20)>=REF(MA(C,20),1);
VAR27:=C<MA(C,20) AND MA(C,20)<REF(MA(C,20),1);
VAR28:=VAR17>50 AND VAR19>60 AND VAR16=100;
VAR29:=VAR17>48 AND VAR19>60 AND VAR16<100;
VAR30:=活跃线>38 AND VAR19<55;
VAR31:=VAR18>50 AND VAR16<90;
VAR32:=VA3<REF(VA4,1) AND V>REF(V,1) AND C>REF(C,1);
VAR33:=VA3>=REF(VA4,1) AND C<REF(C,1) AND VAR19=60 AND VAR18=0 AND 活跃线>=REF(活跃线,1) AND VA12<REF(VA13,1);
DRAWTEXT(VAR26 AND COUNT(VAR26,30)=1,90,' ←继续等'),COLOR00FFFF;
STICKLINE(VAR28 AND COUNT(VAR28,30)=1,0,70,1,0),COLOR00FF00;
DRAWTEXT(VAR28 AND COUNT(VAR28,30)=1,65,' ★超涨注意风险'),COLOR0000FF;
STICKLINE(REF(VAR19,1)<60 AND VAR19>=60,0,50,2,0),COLOR00FFFF;
VA2:=2*ABS(VA1);{公式网WWW.GPXIAZAI.COM}
VA3:=100-3*SMA((C-LLV(L,72))/(HHV(H,72)-LLV(L,72))*100,20,1)+2*SMA(SMA((C-LLV(L,72))/(HHV(H,72)-LLV(L,72))*100,20,1),15,1);
VA4:=100-3*SMA((OPEN-LLV(L,72))/(HHV(H,72)-LLV(L,72))*100,20,1)+2*SMA(SMA((OPEN-LLV(L,72))/(HHV(H,72)-LLV(L,72))*100,20,1),15,1);
VA5:=(H+L+C)/3;
VA6:=(VA5-MA(VA5,14))/(0.015*AVEDEV(VA5,14));
VA7:=(VA5-MA(VA5,89))/(0.015*AVEDEV(VA5,89));
VA8:=IF(VA6>=150 AND VA6<200 AND VA7>=150 AND VA7<200,10,0);
VA9:=IF(VA6<=-150 AND VA6>-200 AND VA7<=-150 AND VA7>-200,-10,VA8);
VA10:=(C-MA(C,13))/MA(C,13)*100;
VA11:=100-ABS(VA10);
VA12:=3*SMA((INDEXC-LLV(INDEXL,72))/(HHV(INDEXH,72)-LLV(INDEXL,72))*100,20,1)-2*SMA(SMA
((INDEXC-LLV(INDEXL,72))/(HHV(INDEXH,72)-LLV(INDEXL,75))*100,20,1),15,1);
VA13:=3*SMA((INDEXO-LLV(INDEXL,72))/(HHV(INDEXH,72)-LLV(INDEXL,72))*100,20,1)-2*SMA(SMA
((INDEXO-LLV(INDEXL,72))/(HHV(INDEXH,72)-LLV(INDEXL,75))*100,20,1),15,1);
VA14:=REF(L,1)*0.9;
VA15:=(L*0.9*V+VA14*(CAPITAL-V))/CAPITAL;
VAR1:=EMA(VA15,30);
VAR2:=VAR1-C;
VAR3:=SMA(MAX(C-REF(C,1),0),7,1)/SMA(ABS(C-REF(C,1)),7,1)*100;
VAR4:=SMA(MAX(C-REF(C,1),0),13,1)/SMA(ABS(C-REF(C,1)),13,1)*100;
VAR5:=BARSCOUNT(C);
VAR6:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
VAR7:=((-100)*(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))+50)*2;
VAR8:=(C-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100;
VAR9:=(SMA(VAR8,4,1)-50)*2;
VAR10:=SMA(VAR9,3,1);
VAR11:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR12:=SMA(VAR11,4,1);
VAR13:=SMA(VAR12,3,1);
VAR14:=(HHV(H,30)-C)/C*100;
VAR15:=IF(VAR6<=25 AND VAR7<-95 AND VAR14>20 AND VAR10<-30 AND VAR13<30 AND VAR2>=-0.25 AND VAR3<22 AND VAR4<28 AND VAR5>50,80,0);
浮筹线:VA3,COLORFF00FF;
VAR16:=IF(VA11<90,VA11,100),COLORFFCC66;
VAR17:=IF(VA1>0,VA1,0);
活跃线:IF(VA1<0,VA2,0),LINESTICK;
VAR18:=VAR15;
VAR19:=IF(VA7>=200 AND VA6>=150,15,IF(VA7<=-200 AND VA6<=-150,-15,VA9))+60,COLOR00FF00;
VAR20:=100*(C-LLV(L,34))/(HHV(H,34)-LLV(L,34));
VAR21:=MA(VAR20,3);
VAR22:=EMA(AMOUNT/V/100,5);
VAR23:=EMA(AMOUNT/V/100,13);
VAR24:=VAR22-VAR23;
VAR25:=IF(1000*VAR24/VAR22>0,1000*VAR24/VAR22,0);
STICKLINE(VA3>=REF(VA4,1),VA3,VA4,8,1),COLOR0000FF;
STICKLINE(VA3<REF(VA4,1),VA3,VA4,8,1),COLOR00FF00;
VAR26:=C>MA(C,20) AND MA(C,20)>=REF(MA(C,20),1);
VAR27:=C<MA(C,20) AND MA(C,20)<REF(MA(C,20),1);
VAR28:=VAR17>50 AND VAR19>60 AND VAR16=100;
VAR29:=VAR17>48 AND VAR19>60 AND VAR16<100;
VAR30:=活跃线>38 AND VAR19<55;
VAR31:=VAR18>50 AND VAR16<90;
VAR32:=VA3<REF(VA4,1) AND V>REF(V,1) AND C>REF(C,1);
VAR33:=VA3>=REF(VA4,1) AND C<REF(C,1) AND VAR19=60 AND VAR18=0 AND 活跃线>=REF(活跃线,1) AND VA12<REF(VA13,1);
DRAWTEXT(VAR26 AND COUNT(VAR26,30)=1,90,' ←继续等'),COLOR00FFFF;
STICKLINE(VAR28 AND COUNT(VAR28,30)=1,0,70,1,0),COLOR00FF00;
DRAWTEXT(VAR28 AND COUNT(VAR28,30)=1,65,' ★超涨注意风险'),COLOR0000FF;
STICKLINE(REF(VAR19,1)<60 AND VAR19>=60,0,50,2,0),COLOR00FFFF;
- 上一篇公式:通达信双龙齐飞副图指标 源码 贴图
- 下一篇公式:通达信底部企稳副图指标 源码 贴图