股票公式平台 股票公式 股票软件 手机炒股软件 登录 注册
公式平台网
未来函数检测
首 页 精品公式 通达信公式 大智慧公式 同花顺公式 通达信股票池 大智慧股票池 益盟公式 文华公式 博易大师公式 通达信软件 更多
当前位置:公式平台网通达信公式 → 正文

老喻钻石底通达信公式,抄底类指标,看不错,恢复源码出来分享

发布时间:2022/11/15 12:44:42  浏览次数:

老喻钻石底,

本指标是抄底类指标,看不错,恢复源码出来分享

另外,应提供公式的朋友的要求,分析家公式网加写了一个选股公式出来。

副图指标源码:

 {公式名称: 老喻钻石底

公式描述: 
参数数量: 3
参数1: M1, 最小: 3, 最大: 10, 缺省: 5
参数2: M2, 最小: 5, 最大: 20, 缺省: 10
参数3: M3, 最小: 10, 最大: 40, 缺省: 20
公式类型: 技术指标公式-神系
画线方法: 副图
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无

参数精灵:
请设置计算参数:
M1: Param#0 (3.00--10.00)
M2: Param#1 (5.00--20.00)
M3: Param#2 (10.00--40.00)
用法注释:无
公式源码:}

M1:=5;M2:=10;M3:=20;
X_1:=117100299;
X_2:=IF(DATE<X_1,1,DRAWNULL);
X_3:=IF(DATE<X_1,1,DRAWNULL);
X_4:=1/WINNER(CLOSE);
X_5:=MA(CLOSE,13);
X_6:=100-ABS((CLOSE-X_5)*X_3/X_5*100);
X_7:=LLV(LOW,75);
X_8:=HHV(HIGH,75);
X_9:=(X_8-X_7)*X_3/100;
X_10:=SMA((CLOSE-X_7)*X_3/X_9,20,1);
X_11:=SMA((OPEN-X_7)*X_3/X_9,20,1);
X_12:=3*X_10-2*SMA(X_10,15,1);
X_13:=3*X_11-2*SMA(X_11,15,1);
X_14:=100-X_13;
X_15:=MA(WINNER(CLOSE*0.95)*X_3*100,3);
100,COLORGREEN;
X_16:=X_15>X_6*X_3;
X_17:=REF(LOW,1)*0.9;
X_18:=LOW*0.9;
X_19:=(X_18*VOL+X_17*X_3*(CAPITAL-VOL))/CAPITAL;
X_20:=EMA(X_19*X_2,30);
X_21:=CLOSE-REF(CLOSE,1);
X_22:=MAX(X_21,0);
X_23:=ABS(X_21);
X_24:=SMA(X_22,7,1)/SMA(X_23,7,1)*100;
X_25:=SMA(X_22,13,1)/SMA(X_23,13,1)*100;
X_26:=BARSCOUNT(CLOSE);
X_27:=SMA(MAX(X_21,0),6,1)/SMA(ABS(X_21),6,1)*100;
X_28:=(-200)*(HHV(HIGH,60)*X_2-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
X_29:=(CLOSE-LLV(LOW,15)*X_2)/(HHV(HIGH,15)-LLV(LOW,15))*100;
X_30:=SMA((SMA(X_29,4,1)-50)*2,3,1);
X_31:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
X_32:=SMA(X_31,4,1);
X_33:=SMA(X_32*X_3,3,1);
X_34:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
X_35:=X_27<=25 AND X_3 AND X_28<(-95) AND X_34>20 AND X_30<(-30) AND X_33<30 AND X_20-CLOSE>=(-0.25) AND X_24<22 AND X_25<28 AND X_26>50;
X_36:=(HIGH+LOW+CLOSE)/3;
X_37:=(X_36*X_2-MA(X_36,14))/(0.015*AVEDEV(X_36,14));
X_38:=(X_36-MA(X_36,70))/(0.015*AVEDEV(X_36,70)*X_2);
X_39:=IF(X_37>=150 AND X_37<200 AND X_38>=150 AND X_38<200,10,0);
X_40:=IF(X_37<=(-150) AND X_37>(-200) AND X_38<=(-150) AND X_38>(-200),(-10),X_39);
风向标:IF(X_38>=200 AND X_37>=150,15,IF(X_38<=(-200) AND X_37<=(-150),(-15),X_40))+50,CROSSDOT,COLORCC9900,LINETHICK2;
STICKLINE(X_16,100,80,2,0),COLORGREEN;
100;
〓FXJGSW〓:DRAWNULL,COLORRED;
STICKLINE(X_35,0,80,2,0),COLORRED,LINETHICK3;
DRAWICON(CROSS(X_35,0.5) AND COUNT(X_35=1,10)=1,风向标,25);
DRAWICON(CROSS(X_16,0.5) AND COUNT(X_16=1,10)=1,65,15);




 选股公式的源码是:
X_2:=1;
X_3:=1;
X_17:=REF(LOW,1)*0.9;
X_18:=LOW*0.9;
X_19:=(X_18*VOL+X_17*X_3*(CAPITAL-VOL))/CAPITAL;
X_20:=EMA(X_19*X_2,30);
X_21:=CLOSE-REF(CLOSE,1);
X_22:=MAX(X_21,0);
X_23:=ABS(X_21);
X_24:=SMA(X_22,7,1)/SMA(X_23,7,1)*100;
X_25:=SMA(X_22,13,1)/SMA(X_23,13,1)*100;
X_26:=BARSCOUNT(CLOSE);
X_27:=SMA(MAX(X_21,0),6,1)/SMA(ABS(X_21),6,1)*100;
X_28:=(-200)*(HHV(HIGH,60)*X_2-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
X_29:=(CLOSE-LLV(LOW,15)*X_2)/(HHV(HIGH,15)-LLV(LOW,15))*100;
X_30:=SMA((SMA(X_29,4,1)-50)*2,3,1);
X_31:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
X_32:=SMA(X_31,4,1);
X_33:=SMA(X_32*X_3,3,1);
X_34:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
X_35:=X_27<=25 AND X_3 AND X_28<(-95) AND X_34>20 AND X_30<(-30) AND X_33<30 AND X_20-CLOSE>=(-0.25) AND X_24<22 AND X_25<28 AND X_26>50;
X_36:=(HIGH+LOW+CLOSE)/3;
X_37:=(X_36*X_2-MA(X_36,14))/(0.015*AVEDEV(X_36,14));
X_38:=(X_36-MA(X_36,70))/(0.015*AVEDEV(X_36,70)*X_2);
X_39:=IF(X_37>=150 AND X_37<200 AND X_38>=150 AND X_38<200,10,0);
X_40:=IF(X_37<=(-150) AND X_37>(-200) AND X_38<=(-150) AND X_38>(-200),(-10),X_39);
风向标:=IF(X_38>=200 AND X_37>=150,15,IF(X_38<=(-200) AND X_37<=(-150),(-15),X_40))+50,COLORCC9900,LINETHICK2;
CROSS(X_35,0.5) AND COUNT(X_35=1,10)=1;


老喻钻石底通达信公式,抄底类指标,看不错,恢复源码出来分享

增值电信业务经营ICP许可证:合字B2-20230351  粤ICP备2023083431号-1
免责声明:公式平台网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,由此引起的投资亏损与本站无关.
Copyright © 2023 gspt.com , All Rights Reserved.