请高手帮忙把通达信指标公式改成选股公式 - 爱问答

(爱问答)

请高手帮忙把通达信指标公式改成选股公式

 

 VAR2:=1/WINNER(CLOSE);

 VAR3:=MA(CLOSE,13);

 VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100);

 VAR5:=Llv(LOW,120);

 VAR6:=HHV(HIGH,120);

 VAR7:=(VAR6-VAR5)/100;

 VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);

 VAR9:=SMA((OPEN-VAR5)/VAR7,20,1);

 VARA:=3*VAR8-2*SMA(VAR8,10,1);

 VARB:=3*VAR9-2*SMA(VAR9,10,1);

 VARC:=100-VARB;

 

 VARE:=REF(LOW,1)*0.9;

 VARF:=LOW*0.9;

 VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;

 VAR11:=EMA(VAR10,30);

 VAR12:=CLOSE-REF(CLOSE,1);

 VAR13:=MAX(VAR12,0);

 VAR14:=ABS(VAR12);

 VAr15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;

 VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;

 VAR17:=BARSCOUNT(CLOSE);

 VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;

 VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-Llv(LOW,60))+100;

 VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;

 VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);

 VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;

 VAR1D:=SMA(VAR1C,4,1);

 VAR1E:=SMA(VAR1D,3,1);

 VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;

 VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAr15<22 AND VAR16<28 AND VAR17>50;

 VAR21:=(HIGH+LOW+CLOSE)/3;

 VAR22:=(VAR21-MA(VAR21,14))/(0.015*AVEDEV(VAR21,14));

 VAR23:=(VAR21-MA(VAR21,70))/(0.015*AVEDEV(VAR21,70));

 VAR24:=IF(VAR22>=150 AND VAR22<200 AND VAR23>=150 AND VAR23<200,10,0);

 VAR25:=IF(VAR22<=-150 AND VAR22>-200 AND VAR23<=-150 AND VAR23>-200,-10,VAR24);

 

 VARE1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;

 VARF1:=100-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);

 VAR101:=100-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);

 VAR111:=VARF1<REF(VAR101,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);

 

 V1:=(C*2+H+L)/4*10;

 V2:=EMA(V1,13)-EMA(V1,34);

 V3:=EMA(V2,5);

 V4:=2*(V2-V3)*5.5;

 V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;

 V6:=EMA(3*V5-2*SMA(V5,18,1),5);

 V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;

 V8:=(INDEXC*2+INDEXH+INDEXL)/4;

 V9:=EMA(V8,13)-EMA(V8,34);

 VA:=EMA(V9,3);

 VB:=(V9-VA)/2;

 V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);

 V121:=(EMA(V11,3)-REF(EMA(V11,3),1))/REF(EMA(V11,3),1)*100;

 

 AA:=(EMA(V11,3)<=13) AND FILTER((EMA(V11,3)<=13),15);

 

 BB:= (EMA(V11,3)<=13 AND V121>13) AND FILTER((EMA(V11,3)<=13 AND V121>13),10);

 

 CC:=(EMA(V11,3)>=90 AND V121) AND FILTER((EMA(V11,3)>=90 AND V121),10);

 DD:=(EMA(V11,3)>=120 AND V121) AND FILTER((EMA(V11,3)>=120 AND V121),10);

 

 V10:=PEAKBARS(3,15,1)<10; V12:=IF(V10=1,50,0);

头部:= IF(V12=50,100,0);

卖:IF(IF(V12=50,100,0)>REF(IF(V12=50,100,0),1),40,0),COLORGREEN,LINETHICK3;

 DRAWTEXT(卖,50,'主力清仓 '),COLORGREEN;

 V9A:=TROUGHBARS(3,15,1)<10; V11A:=IF(V9A=1,50,0);

底部:= IF(V11A=50,50,0);

买:IF( 底部>REF(底部,1),40,0),COLORRED,LINETHICK4;

 DRAWTEXT(买,50,'主力抄底 '),COLORRED;

 V7A:=TROUGHBARS(3,15,1)<10; V9S:=IF(V7A=1,50,0);

 AAA:=(O+H+L+C)/4;

 BAB:=MA(AAA,3);

 CAC:=SUM(IF(AAA>REF(AAA,1),AAA*VOL,0),4)/SUM(IF(AAA<REF(AAA,1),AAA*VOL,0),4);

 DAD:=REF(100-(100/(1+CAC)),1);

 A1:=HHV(AAA,10);

 A2:=LLV(AAA,30);

 A3:=A1-A2;

 A4:=EMA((AAA-A2)/A3,1)*100;

 B1:=HHV(AAA,16);

 B2:=LLV(AAA,90);

 B3:=B1-B2;

 B4:=EMA((AAA-B2)/B3,1)*100;

 C1:=HHV(AAA,30);

 C2:=LLV(AAA,240);

 C3:=C1-C2;

 C4:=EMA((AAA-C2)/C3,1)*100;

 

 D:=CROSS(ZIG(3,50/5)*1,MA(ZIG(3,50/5)*1,2))*1,COLORRED;

 

 VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;

 VAR2A:=LLV(LOW,34);

 VAR3A:=HHV(HIGH,34);

 

爆发线: 80,COLORRED;

 VAR12A:=(HIGH+LOW+CLOSE)/3;

 VAR13A:=(VAR12A-MA(VAR12A,14))/(0.015*AVEDEV(VAR12A,14));

 VAR14A:=(VAR12A-MA(VAR12A,70))/(0.015*AVEDEV(VAR12A,70));

 VAR15A:=IF(VAR13A>=150 AND VAR13A<200 AND VAR14A>=150 AND VAR14A<200,10,0);

 VAR16A:=IF(VAR13A<=-150 AND VAR13A>-200 AND VAR14A<=-150 AND VAR14A>-200,-10,VAR15A);

 VAR17A:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;

 VAR18A:=100-ABS(VAR17A);

 VAR19A:=IF(VAR18A<90,VAR18A,100);

 VAR1A1:=IF(VARE>0,VARE,0);

 VAR1B1:=IF(VAR14A>=200 AND VAR13A>=150,15,IF(VAR14A<=-200 AND VAR13A<=-150,-15,VAR16))+60;

 VAR1C1:=VAR1A1>48 AND VAR1B1>160 AND VAR19A<100;


包含未来函数:ZIG

包含未来函数:PEAK

包含未来函数:PEAKBARS

包含未来函数:TROUGH

包含未来函数:TROUGHBARS

包含未来函数:WINNER


此副图公式的阶段买入卖出信号完美无误。

建议你先百度了解公式的未来函数,未来函数的公式信号会自动漂移没有意义。

相关标签:公式

下一篇:证券公司官网为什么没有营业执照

上一篇:承德市北兴隆街农业银行属于哪个开户行

热门标签:
银行 社保 保险 信用卡 现代 股票 支付宝 理财 利率 大众 彩票 期货 宝马 吉利 长安 本田 奥迪 阳光 丰田 比亚迪 长城 奔驰 别克 荣威 福特
最新更新:
供销药材通药材交易平台 供销药材通的注册收费么 全国中药材交易市场一共有多少家,比较大一些的 想做名企之家加盟商,需要具备什么条件呢? 经营范围是建筑工程与设备租赁可以开建筑服务机械租赁费发票吗 经济技术开发区景园街属于哪个街道 食堂采购人员在采购水产品的时候,如何保证水产的成活? 急!做跨境电商,商品缺货导致客户流失,有没有拉客的办法 宣城有没有古井经销商 后续怎么申请,申请成功以后如何领药? 苏州社保6月份辞职9月份重新缴纳上算断了吗 基金会、项目办或平台具体地址在哪里 刚进币圈,有人介绍了j9bc币,值得玩吗? 有人分享数字货币投资的经验吗,都是买什么币啊? 多方共付是什么