{公式名称: 筹码分布主图2 公式描述:
参数数量: 8
参数1: M1, 最小: 0, 最大: 999, 缺省: 0
参数2: M2, 最小: 0, 最大: 999, 缺省: 0
参数3: M3, 最小: 0, 最大: 999, 缺省: 0
参数4: M4, 最小: 0, 最大: 999, 缺省: 0
参数5: 小浪, 最小: 0, 最大: 999, 缺省: 10
参数6: 中浪, 最小: 0, 最大: 999, 缺省: 20
参数7: 大浪, 最小: 0, 最大: 999, 缺省: 60
参数8: 巨浪, 最小: 0, 最大: 999, 缺省: 120
公式类型: 技术指标公式-其他类型
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精翏:
请设置计算参数:
M1: PARAM#0 (0.00--999.00)
M2: PARAM#1 (0.00--999.00)
M3: PARAM#2 (0.00--999.00)
M4: PARAM#3 (0.00--999.00)
小浪: PARAM#4 (0.00--999.00)
中浪: PARAM#5 (0.00--999.00)
大浪: PARAM#6 (0.00--999.00)
巨浪: PARAM#7 (0.00--999.00)
用法注蕭:无
公式源码:}
XA_1:=COST(1);
XA_2:=COST(10);
XA_3:=COST(20);
XA_4:=COST(30);
XA_5:=COST(40);
XA_6:=COST(50);
XA_7:=COST(60);
XA_8:=COST(70);
XA_9:=COST(80);
XA_10:=COST(90);
XA_11:=COST(99);
XA_12:=COST(5);
XA_13:=COST(15);
XA_14:=COST(25);
XA_15:=COST(35);
XA_16:=COST(45);
XA_17:=COST(55);
XA_18:=COST(65);
XA_19:=COST(75);
XA_20:=COST(85);
XA_21:=COST(95);
XA_22:=XA_12-XA_1;
XA_23:=XA_2-XA_12;
XA_24:=XA_13-XA_2;
XA_25:=XA_3-XA_13;
XA_26:=XA_14-XA_3;
XA_27:=XA_4-XA_14;
XA_28:=XA_15-XA_4;
XA_29:=XA_5-XA_15;
XA_30:=XA_16-XA_5;
XA_31:=XA_6-XA_16;
XA_32:=XA_17-XA_6;
XA_33:=XA_7-XA_17;
XA_34:=XA_18-XA_7;
XA_35:=XA_8-XA_18;
XA_36:=XA_19-XA_8;
XA_37:=XA_9-XA_19;
XA_38:=XA_20-XA_9;
XA_39:=XA_10-XA_20;
XA_40:=XA_21-XA_10;
XA_41:=XA_11-XA_21;
XA_42:=1;
XA_43:=MIN(XA_22,MIN(XA_23,MIN(XA_24,MIN(XA_25,MIN(XA_26,MIN(XA_27,MIN(XA_28,MIN(XA_29,MIN(XA_30,MIN(XA_31,MIN(XA_32,MIN(XA_33,MIN(XA_34,MIN(XA_35,MIN(XA_36,MIN(XA_37,MIN(XA_38,MIN(XA_39,MIN(XA_40,XA_41)))))))))))))))))))*XA_42;
STICKLINE(XA_43=XA_22,XA_1,XA_12,5,0),COLORFF8800;
STICKLINE(XA_43=XA_23,XA_2,XA_12,5,0),COLORFF8800;
STICKLINE(XA_43=XA_24,XA_13,XA_2,5,0),COLORFF8800;
STICKLINE(XA_43=XA_25,XA_3,XA_13,5,0),COLORFF8800;
STICKLINE(XA_43=XA_26,XA_14,XA_3,5,0),COLORFF8800;
STICKLINE(XA_43=XA_27,XA_4,XA_14,5,0),COLORFF8800;
STICKLINE(XA_43=XA_28,XA_15,XA_4,5,0),COLORFF8800;
STICKLINE(XA_43=XA_29,XA_5,XA_15,5,0),COLORFF8800;
STICKLINE(XA_43=XA_30,XA_16,XA_5,5,0),COLORFF8800;
STICKLINE(XA_43=XA_31,XA_6,XA_16,5,0),COLORFF8800;
STICKLINE(XA_43=XA_32,XA_17,XA_6,5,0),COLORFF8800;
STICKLINE(XA_43=XA_33,XA_7,XA_17,5,0),COLORFF8800;
STICKLINE(XA_43=XA_34,XA_18,XA_7,5,0),COLORFF8800;
STICKLINE(XA_43=XA_35,XA_8,XA_18,5,0),COLORFF8800;
STICKLINE(XA_43=XA_36,XA_19,XA_8,5,0),COLORFF8800;
STICKLINE(XA_43=XA_37,XA_9,XA_19,5,0),COLORFF8800;
STICKLINE(XA_43=XA_38,XA_20,XA_8,5,0),COLORFF8800;
STICKLINE(XA_43=XA_39,XA_10,XA_20,5,0),COLORFF8800;
STICKLINE(XA_43=XA_40,XA_21,XA_10,5,0),COLORFF8800;
STICKLINE(XA_43=XA_41,XA_11,XA_21,1,0),COLORFF8800;
XA_44:=(XA_11-XA_1)*XA_42;
XA_45:=XA_10-XA_8;
XA_46:=XA_9-XA_7;
XA_47:=XA_8-XA_6;
XA_48:=XA_7-XA_5;
XA_49:=XA_6-XA_4;
XA_50:=XA_5-XA_3;
XA_51:=XA_4-XA_2;
XA_52:=MIN(XA_45/XA_44,MIN(XA_46/XA_44,MIN(XA_46/XA_44,MIN(XA_48/XA_44,MIN(XA_49/XA_44,MIN(XA_50/XA_44,XA_51/XA_44))))))<0.05;
密集周期:BARSLASTCOUNT(XA_52),NODRAW;
STICKLINE(XA_45/XA_44<0.05,XA_10,XA_8,5,0),COLOR006600;
STICKLINE(XA_46/XA_44<0.05,XA_9,XA_7,5,0),COLOR006600;
STICKLINE(XA_47/XA_44<0.05,XA_8,XA_6,5,0),COLOR006600;
STICKLINE(XA_48/XA_44<0.05,XA_7,XA_5,5,0),COLOR006600;
STICKLINE(XA_49/XA_44<0.05,XA_6,XA_4,5,0),COLOR006600;
STICKLINE(XA_50/XA_44<0.05,XA_5,XA_3,5,0),COLOR006600;
STICKLINE(XA_51/XA_44<0.05,XA_4,XA_2,5,0),COLOR006600;
XA_53:=IF(XA_43=XA_22,XA_12,IF(XA_43=XA_23,XA_2,IF(XA_43=XA_24,XA_13,IF(XA_43=XA_25,XA_3,IF(XA_43=XA_26,XA_14,IF(XA_43=XA_27,XA_4,IF(XA_43=XA_28,XA_15,IF(XA_43=XA_29,XA_5,IF(XA_43=XA_30,XA_16,IF(XA_43=XA_31,XA_6,0))))))))));
XA_54:=IF(XA_43=XA_32,XA_17,IF(XA_43=XA_33,XA_7,IF(XA_43=XA_34,XA_18,IF(XA_43=XA_35,XA_8,IF(XA_43=XA_36,XA_8,IF(XA_43=XA_37,XA_9,IF(XA_43=XA_38,XA_20,IF(XA_43=XA_39,XA_10,IF(XA_43=XA_40,XA_21,IF(XA_43=XA_41,XA_11,0))))))))));
峰顶价:MAX(XA_53,XA_54),NODRAW;
筹码乖离率:(CLOSE-峰顶价)/峰顶价*100,NODRAW;
筹码锁定率:(峰顶价-REF(峰顶价,4))/峰顶价*100,NODRAW;
筹码集中度:(XA_21-XA_12)/COST(100)*100,NODRAW;
成本:(COST(90)+COST(70)+COST(50)+COST(30)+COST(10))/5*XA_42,COLORWHITE,LINETHICK2;
HYDB2:DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
XA_55:=IF(PERIOD=5,1,0);
XA_56:=REF(CLOSE,1)*XA_55;
XA_57:=(HIGH*18+REF(HIGH,1)*17+REF(HIGH,2)*16+REF(HIGH,3)*15+REF(HIGH,4)*14+REF(HIGH,5)*13+REF(HIGH,6)*12+REF(HIGH,7)*11+REF(HIGH,8)*10+REF(HIGH,9)*9+REF(HIGH,10)*8+REF(HIGH,11)*7+REF(HIGH,12)*6+REF(HIGH,13)*5+REF(HIGH,14)*4+REF(HIGH,15)*3+REF(HIGH,16)*2+REF(HIGH,17)*1)/171*XA_42;
XA_58:=(LOW*18+REF(LOW,1)*17+REF(LOW,2)*16+REF(LOW,3)*15+REF(LOW,4)*14+REF(LOW,5)*13+REF(LOW,6)*12+REF(LOW,7)*11+REF(LOW,8)*10+REF(LOW,9)*9+REF(LOW,10)*8+REF(LOW,11)*7+REF(LOW,12)*6+REF(LOW,13)*5+REF(LOW,14)*4+REF(LOW,15)*3+REF(LOW,16)*2+REF(LOW,17)*1)/171*XA_42;
XA_59:=MA(CLOSE,M1);
XA_60:=MA(CLOSE,M2);
XA_61:=MA(CLOSE,M3);
XA_62:=MA(CLOSE,M4);
XA_63:=CLOSE>=XA_57 OR (CLOSE>XA_59 AND CLOSE>XA_60 AND CLOSE>XA_61 AND CLOSE>XA_62);
XA_64:=XA_58>CLOSE OR (CLOSE<XA_59 AND CLOSE<XA_60 AND CLOSE<XA_61 AND CLOSE<XA_62);
XA_65:=BARSLAST(XA_63);
XA_66:=BARSLAST(XA_64);
XA_67:=BARSLAST(CROSS(XA_66,XA_65));
XA_68:=BARSLAST(CROSS(XA_65,XA_66));
XA_69:=XA_67<XA_68;
XA_70:=XA_68<XA_67;
XA_71:=OPEN-CLOSE;
XA_72:=IF(OPEN>CLOSE,OPEN,CLOSE);
XA_73:=IF(OPEN<CLOSE,OPEN,CLOSE);
STICKLINE(XA_71>0 AND XA_69,OPEN,CLOSE,3.1,0),COLORRED;
STICKLINE(XA_71>0 AND XA_69,OPEN,HIGH,0,0),COLORRED;
STICKLINE(XA_71>0 AND XA_69,CLOSE,LOW,0,0),COLORRED;
STICKLINE(XA_71<=0 AND XA_69,OPEN,CLOSE,3.1,1),COLORRED;
STICKLINE(XA_71<=0 AND XA_69,OPEN,LOW,0,0),COLORRED;
STICKLINE(XA_71<=0 AND XA_69,CLOSE,HIGH,0,0),COLORRED;
STICKLINE(XA_71>0 AND XA_70,OPEN,CLOSE,3.1,0),COLORGREEN;
STICKLINE(XA_71>0 AND XA_70,OPEN,HIGH,0,0),COLORGREEN;
STICKLINE(XA_71>0 AND XA_70,CLOSE,LOW,0,0),COLORGREEN;
STICKLINE(XA_71<=0 AND XA_70,OPEN,CLOSE,3.1,1),COLORGREEN;
STICKLINE(XA_71<=0 AND XA_70,CLOSE,HIGH,0,0),COLORGREEN;
STICKLINE(XA_71<=0 AND XA_70,OPEN,LOW,0,0),COLORGREEN;
趋势线:(XA_57+XA_58)/2,COLORGREEN,LINETHICK2;
趋势上升:IF(XA_69,趋势线,DRAWNULL),COLORRED,LINETHICK2; |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!