请老师改成能用的 [博易POBO]
咨询内容:
XA_8:=REF(LOW,8)=LLV(LOW,2*8+1);
XA_9:=BACKSET(XA_7,8+1);
XA_10:=BACKSET(XA_8,8+1);
XA_11:=FILTER(XA_9,8) AND HIGH=HHV(HIGH,8+1);
XA_12:=FILTER(XA_10,8) AND LOW=LLV(LOW,8+1);
XA_13:=BARSLAST(XA_11);
XA_14:=BARSLAST(XA_12);
CURRBARSCOUNT:=REFX1(BARPOS,9999)-BARPOS+1;
XA_15:=IF(XA_11,CURRBARSCOUNT,0);
XA_16:=IF(XA_12,CURRBARSCOUNT,0);
XA_17:=IF(XA_13,REF(XA_15,XA_13),XA_15);
XA_18:=IF(XA_14,REF(XA_16,XA_14),XA_16);
XA_19:=REFX1(XA_17,9999);
XA_20:=REFX1(XA_18,9999);
XA_21:=REFX1(REF(HIGH,XA_19-1),9999);
XA_22:=REFX1(REF(LOW,XA_20-1),9999);
XA_23:=REF(XA_17,XA_13+1);
XA_24:=REF(XA_18,XA_14+1);
XA_25:=REFX1(XA_23,9999);
XA_26:=REFX1(XA_24,9999);
XA_27:=REFX1(REF(HIGH,XA_23-1),9999);
XA_28:=REFX1(REF(LOW,XA_24-1),9999);
XA_29:=BACKSET(ISLASTBAR,XA_19);
XA_30:=BACKSET(ISLASTBAR,XA_20);
XA_31:=BACKSET(ISLASTBAR,XA_23);
XA_32:=BACKSET(ISLASTBAR,XA_24);
XA_33:=INTPART(3*8/5);
XA_34:=REF(HIGH,XA_33)=HHV(HIGH,2*XA_33+1);
XA_35:=BACKSET(XA_34,XA_33+1);
XA_36:=FILTER(XA_35,4) AND HIGH=HHV(HIGH,XA_33+1);
XA_37:=BARSLAST(XA_36);
XA_38:=IF(XA_36,CURRBARSCOUNT,0);
XA_39:=IF(XA_37,REF(XA_38,XA_37),XA_38);
XA_40:=REFX1(XA_39,9999);
XA_41:=REF(XA_39,XA_37+1);
XA_42:=REFX1(XA_41,9999);
XA_43:=REF(LOW,XA_33)=LLV(LOW,2*XA_33+1);
XA_44:=BACKSET(XA_43,XA_33+1);
XA_45:=FILTER(XA_44,4) AND LOW=LLV(LOW,XA_33+1);
XA_46:=BARSLAST(XA_45);
XA_47:=IF(XA_45,CURRBARSCOUNT,0);
XA_48:=IF(XA_46,REF(XA_47,XA_46),XA_47);
XA_49:=REFX1(XA_48,9999);
XA_50:=REF(XA_48,XA_46+1);
XA_51:=REFX1(XA_50,9999);
XA_52:=REF(HIGH,5)=HHV(HIGH,2*5+1);
XA_53:=FILTER(XA_52,5);
XA_54:=BACKSET(XA_53,5+1);
XA_55:=FILTER(XA_54,5);
XA_56:=BACKSET(ISLASTBAR,BARSLAST(XA_55)+1);
XA_57:=XA_56>REF(XA_56,1);
XA_58:=REF(LOW,5)=LLV(LOW,2*5+1);
XA_59:=FILTER(XA_58,5);
XA_60:=BACKSET(XA_59,5+1);
XA_61:=FILTER(XA_60,5);
XA_62:=BACKSET(ISLASTBAR,BARSLAST(XA_61)+1);
XA_63:=XA_62>REF(XA_62,1);
XA_64:=10;
XA_65:=10;
XA_66:=REF(HIGH,XA_64)=HHV(HIGH,2*XA_64+1);
XA_67:=BACKSET(XA_66,XA_64+1);
XA_68:=FILTER(XA_67,XA_64) AND HIGH=HHV(HIGH,XA_64+1);
XA_69:=BARSLAST(XA_68);
XA_70:=IF(XA_68,CURRBARSCOUNT,0);
XA_71:=IF(XA_69,REF(XA_70,XA_69),XA_70);
XA_72:=REFX1(XA_71,9999);
XA_73:=REF(XA_71,XA_69+1);
XA_74:=REFX1(XA_73,9999);
XA_75:=REF(LOW,XA_65)=LLV(LOW,2*XA_65+1);
XA_76:=BACKSET(XA_75,XA_65+1);
XA_77:=FILTER(XA_76,XA_65) AND LOW=LLV(LOW,XA_65+1);
XA_78:=BARSLAST(XA_77);
XA_79:=IF(XA_77,CURRBARSCOUNT,0);
XA_80:=IF(XA_78,REF(XA_79,XA_78),XA_79);
XA_81:=REFX1(XA_80,9999);
XA_82:=REF(XA_80,XA_78+1);
XA_83:=REFX1(XA_82,9999);
CAPITAL:=GETPRICE1('流通股本');
XA_84:=BACKSET(ISLASTBAR,SUMBARS(VOL,CAPITAL));
XA_85:=XA_84>REF(XA_84,1);
NOTEXT1上:TRENDLINES(CURRBARSCOUNT=XA_42,HIGH,CURRBARSCOUNT=XA_40,HIGH),NODRAW;
DRAWLINE(CURRBARSCOUNT=XA_42,HIGH,CURRBARSCOUNT=XA_40,HIGH,1),COLORGRAY,LINETHICK4;
NOTEXT1下:TRENDLINES(CURRBARSCOUNT=XA_51,LOW,CURRBARSCOUNT=XA_49,LOW),NODRAW;
DRAWLINE(CURRBARSCOUNT=XA_51,LOW,CURRBARSCOUNT=XA_49,LOW,1),COLORGRAY,LINETHICK4;
NOTEXT1:IF(XA_31,XA_27,NULL),COLORGRAY,LINETHICK4;
NOTEXT2:IF(XA_29,XA_21,NULL),COLORGRAY,LINETHICK4;
NOTEXT3:IF(XA_32,XA_28,NULL),COLORGRAY,LINETHICK4;
NOTEXT4:IF(XA_30,XA_22,NULL),COLORGRAY,LINETHICK4;
高压:TRENDLINES(CURRBARSCOUNT=XA_74,HIGH,CURRBARSCOUNT=XA_72,HIGH),NODRAW;
DRAWLINE1(CURRBARSCOUNT=XA_74,HIGH,CURRBARSCOUNT=XA_72,HIGH,1),COLORMAGENTA,LINETHICK3;
低撑:TRENDLINES(CURRBARSCOUNT=XA_83,LOW,CURRBARSCOUNT=XA_81,LOW),NODRAW;
DRAWLINE1(CURRBARSCOUNT=XA_83,LOW,CURRBARSCOUNT=XA_81,LOW,1),COLORMAGENTA,LINETHICK3;
短压:TRENDLINES(XA_55,HIGH,XA_57,HIGH),NODRAW;
DRAWLINE1(XA_55,HIGH,XA_57,HIGH,1),COLORYELLOW,LINETHICK3;
短撑:TRENDLINES(XA_61,LOW,XA_63,LOW),NODRAW;
DRAWLINE1(XA_61,LOW,XA_63,LOW,1),COLORYELLOW,LINETHICK3;
XA_86:=MA(MA(CLOSE,3),1);
轨道:MA(MA(CLOSE,3),3),COLOR32CD32,LINETHICK2,NODRAW;
NOTEXT_升:IF(XA_86>=轨道,轨道,NULL),COLORMAGENTA,LINETHICK2,NODRAW;
请老师改成能用的
XA_7:=REF(HIGH,8)=HHV(HIGH,2*8+1);XA_8:=REF(LOW,8)=LLV(LOW,2*8+1);
XA_9:=BACKSET(XA_7,8+1);
XA_10:=BACKSET(XA_8,8+1);
XA_11:=FILTER(XA_9,8) AND HIGH=HHV(HIGH,8+1);
XA_12:=FILTER(XA_10,8) AND LOW=LLV(LOW,8+1);
XA_13:=BARSLAST(XA_11);
XA_14:=BARSLAST(XA_12);
CURRBARSCOUNT:=REFX1(BARPOS,9999)-BARPOS+1;
XA_15:=IF(XA_11,CURRBARSCOUNT,0);
XA_16:=IF(XA_12,CURRBARSCOUNT,0);
XA_17:=IF(XA_13,REF(XA_15,XA_13),XA_15);
XA_18:=IF(XA_14,REF(XA_16,XA_14),XA_16);
XA_19:=REFX1(XA_17,9999);
XA_20:=REFX1(XA_18,9999);
XA_21:=REFX1(REF(HIGH,XA_19-1),9999);
XA_22:=REFX1(REF(LOW,XA_20-1),9999);
XA_23:=REF(XA_17,XA_13+1);
XA_24:=REF(XA_18,XA_14+1);
XA_25:=REFX1(XA_23,9999);
XA_26:=REFX1(XA_24,9999);
XA_27:=REFX1(REF(HIGH,XA_23-1),9999);
XA_28:=REFX1(REF(LOW,XA_24-1),9999);
XA_29:=BACKSET(ISLASTBAR,XA_19);
XA_30:=BACKSET(ISLASTBAR,XA_20);
XA_31:=BACKSET(ISLASTBAR,XA_23);
XA_32:=BACKSET(ISLASTBAR,XA_24);
XA_33:=INTPART(3*8/5);
XA_34:=REF(HIGH,XA_33)=HHV(HIGH,2*XA_33+1);
XA_35:=BACKSET(XA_34,XA_33+1);
XA_36:=FILTER(XA_35,4) AND HIGH=HHV(HIGH,XA_33+1);
XA_37:=BARSLAST(XA_36);
XA_38:=IF(XA_36,CURRBARSCOUNT,0);
XA_39:=IF(XA_37,REF(XA_38,XA_37),XA_38);
XA_40:=REFX1(XA_39,9999);
XA_41:=REF(XA_39,XA_37+1);
XA_42:=REFX1(XA_41,9999);
XA_43:=REF(LOW,XA_33)=LLV(LOW,2*XA_33+1);
XA_44:=BACKSET(XA_43,XA_33+1);
XA_45:=FILTER(XA_44,4) AND LOW=LLV(LOW,XA_33+1);
XA_46:=BARSLAST(XA_45);
XA_47:=IF(XA_45,CURRBARSCOUNT,0);
XA_48:=IF(XA_46,REF(XA_47,XA_46),XA_47);
XA_49:=REFX1(XA_48,9999);
XA_50:=REF(XA_48,XA_46+1);
XA_51:=REFX1(XA_50,9999);
XA_52:=REF(HIGH,5)=HHV(HIGH,2*5+1);
XA_53:=FILTER(XA_52,5);
XA_54:=BACKSET(XA_53,5+1);
XA_55:=FILTER(XA_54,5);
XA_56:=BACKSET(ISLASTBAR,BARSLAST(XA_55)+1);
XA_57:=XA_56>REF(XA_56,1);
XA_58:=REF(LOW,5)=LLV(LOW,2*5+1);
XA_59:=FILTER(XA_58,5);
XA_60:=BACKSET(XA_59,5+1);
XA_61:=FILTER(XA_60,5);
XA_62:=BACKSET(ISLASTBAR,BARSLAST(XA_61)+1);
XA_63:=XA_62>REF(XA_62,1);
XA_64:=10;
XA_65:=10;
XA_66:=REF(HIGH,XA_64)=HHV(HIGH,2*XA_64+1);
XA_67:=BACKSET(XA_66,XA_64+1);
XA_68:=FILTER(XA_67,XA_64) AND HIGH=HHV(HIGH,XA_64+1);
XA_69:=BARSLAST(XA_68);
XA_70:=IF(XA_68,CURRBARSCOUNT,0);
XA_71:=IF(XA_69,REF(XA_70,XA_69),XA_70);
XA_72:=REFX1(XA_71,9999);
XA_73:=REF(XA_71,XA_69+1);
XA_74:=REFX1(XA_73,9999);
XA_75:=REF(LOW,XA_65)=LLV(LOW,2*XA_65+1);
XA_76:=BACKSET(XA_75,XA_65+1);
XA_77:=FILTER(XA_76,XA_65) AND LOW=LLV(LOW,XA_65+1);
XA_78:=BARSLAST(XA_77);
XA_79:=IF(XA_77,CURRBARSCOUNT,0);
XA_80:=IF(XA_78,REF(XA_79,XA_78),XA_79);
XA_81:=REFX1(XA_80,9999);
XA_82:=REF(XA_80,XA_78+1);
XA_83:=REFX1(XA_82,9999);
CAPITAL:=GETPRICE1('流通股本');
XA_84:=BACKSET(ISLASTBAR,SUMBARS(VOL,CAPITAL));
XA_85:=XA_84>REF(XA_84,1);
NOTEXT1上:TRENDLINES(CURRBARSCOUNT=XA_42,HIGH,CURRBARSCOUNT=XA_40,HIGH),NODRAW;
DRAWLINE(CURRBARSCOUNT=XA_42,HIGH,CURRBARSCOUNT=XA_40,HIGH,1),COLORGRAY,LINETHICK4;
NOTEXT1下:TRENDLINES(CURRBARSCOUNT=XA_51,LOW,CURRBARSCOUNT=XA_49,LOW),NODRAW;
DRAWLINE(CURRBARSCOUNT=XA_51,LOW,CURRBARSCOUNT=XA_49,LOW,1),COLORGRAY,LINETHICK4;
NOTEXT1:IF(XA_31,XA_27,NULL),COLORGRAY,LINETHICK4;
NOTEXT2:IF(XA_29,XA_21,NULL),COLORGRAY,LINETHICK4;
NOTEXT3:IF(XA_32,XA_28,NULL),COLORGRAY,LINETHICK4;
NOTEXT4:IF(XA_30,XA_22,NULL),COLORGRAY,LINETHICK4;
高压:TRENDLINES(CURRBARSCOUNT=XA_74,HIGH,CURRBARSCOUNT=XA_72,HIGH),NODRAW;
DRAWLINE1(CURRBARSCOUNT=XA_74,HIGH,CURRBARSCOUNT=XA_72,HIGH,1),COLORMAGENTA,LINETHICK3;
低撑:TRENDLINES(CURRBARSCOUNT=XA_83,LOW,CURRBARSCOUNT=XA_81,LOW),NODRAW;
DRAWLINE1(CURRBARSCOUNT=XA_83,LOW,CURRBARSCOUNT=XA_81,LOW,1),COLORMAGENTA,LINETHICK3;
短压:TRENDLINES(XA_55,HIGH,XA_57,HIGH),NODRAW;
DRAWLINE1(XA_55,HIGH,XA_57,HIGH,1),COLORYELLOW,LINETHICK3;
短撑:TRENDLINES(XA_61,LOW,XA_63,LOW),NODRAW;
DRAWLINE1(XA_61,LOW,XA_63,LOW,1),COLORYELLOW,LINETHICK3;
XA_86:=MA(MA(CLOSE,3),1);
轨道:MA(MA(CLOSE,3),3),COLOR32CD32,LINETHICK2,NODRAW;
NOTEXT_升:IF(XA_86>=轨道,轨道,NULL),COLORMAGENTA,LINETHICK2,NODRAW;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 请勿发股票指标,您看看这个指标上面流通股本什么,我多次回帖跟您讲了,期货软件不通用股票软件指标。 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容