【精品】高胜率波段买卖 妖股能吃大部分行情 普通波段也能做到小亏大赚的指标
本指标用了很久,A股和港美股都适用,本人九月份用该指标实盘操作港股,达到了18胜3负的成绩,本指标没有未来函数,操作简单明了,只在2小时有B的波段买卖,2小时出现B,再用十分钟判断买点,十分钟出B,买入,十分钟出现绿箭头,卖出;如果2小时一直保持有B,十分钟出信号卖出后等下一个B出现可以继续买入持有,不断做波段,解决了部分股民会买不会卖,或者股价持续走高的回调被震走,不敢再上车的顾虑,2小时没有B了,直接放弃寻找下一个。
下面的回测图基本都是用六七月份大盘下跌的行情中抓到的个股,因为在普升的时候,任何指标都是有效的,只有在熊市里才能看出指标是否有效,如果下载历史数据,可以回测任何时段的数据,因为不知道怎么用软件回测,所以也没放测试图,只找了一些个股截图了一下,希望大家下载完推荐一下,能返共享币,如果能上精华,本人将公开源码,等我有权限开通金钻驿站,会给大家做更好的指标,祝大家股市长红,这个牛市账户翻十倍以上!
X_1:=31;
X_2:=80;
X_3:=50;
X_4:=EMA(CLOSE,X_1)-EMA(CLOSE,X_2);
X_5:=HHV(X_4,X_3);
X_6:=LLV(X_4,X_3);
X_7:=(X_4-X_6)/(X_5-X_6)*100;
X_8:=SMA(X_7,2,1);
X_9:=SMA(X_8,2,1);
X_10:=IF(X_9>REF(X_9,1),X_9,DRAWNULL);
X_11:=IF(X_9<REF(X_9,1),X_9,DRAWNULL);
EMA3:EMA(CLOSE,3),COLORWHITE,LINETHICK3;
X_12:=55;
X_13:=1;
X_14:=0;
X_15:=240;
X_16:=1;
X_17:=0;
X_18:=1;
X_19:=1;
X_20:=40;
X_21:=1;
X_22:=WMA(CLOSE,X_12/2);
X_23:=WMA(CLOSE,X_12);
X_24:=2*X_22-X_23;
X_25:=WMA(X_24,SQRT(X_12));
X_26:=EMA(CLOSE,X_12/2);
X_27:=EMA(CLOSE,X_12);
X_28:=2*X_26-X_27;
X_29:=EMA(X_28,SQRT(X_12));
X_30:=WMA(CLOSE,X_12/3);
X_31:=WMA(CLOSE,X_12/2);
X_32:=3*X_30-X_31-WMA(CLOSE,X_12);
X_33:=WMA(X_32,X_12);
X_34:=IF(X_21=1,X_25,IF(X_21=2,X_29,X_33));
MULL:IF(X_14,REF(X_34,1),X_34),COLORRED;
SULL:IF(X_14,REF(X_34,2),REF(X_34,2)),COLORGREEN;
DRAWBAND(MULL,RGB(200,0,0),SULL,RGB(0,200,100));
DD:(MULL-SULL)/SULL*100*10,NODRAW,COLORWHITE;
X_35:=9;
X_36:=3.9;
X_37:=MAX(MAX(HIGH-LOW,ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
X_38:=(HIGH+LOW)/2+MA(X_37,X_35)*X_36;
X_39:=(HIGH+LOW)/2-MA(X_37,X_35)*X_36;
X_40:=REF(X_38,BARSLAST(X_38<=REF(X_38,1)));
X_41:=LLV(X_38,X_35*1.5);
X_42:=IF(X_41!=REF(X_41,1) AND X_40<REF(X_40,1),X_40,IF(X_40=X_41,X_40,X_41));
X_43:=BARSLAST(CROSS(0.5,X_38=X_42))+1;
X_44:=CROSS(COUNT(CROSS(CLOSE,X_42) OR CROSS(CLOSE,REF(X_42,2)) AND X_38>X_42,X_43),0.5);
X_45:=BARSLAST(X_44);
X_46:=BARSLAST(CROSS(HHV(X_39,X_45+1),CLOSE));
X_47:=CROSS(X_46,X_45);
X_48:=CROSS(X_45,X_46);
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
SUP:IF(X_46>X_45,HHV(X_39,BARSLAST(X_47)+1),LLV(X_38,BARSLAST(X_48)+1)),COLORGREEN,LINETHICK2;
SUP1:IF(X_46>X_45,SUP,DRAWNULL),COLOR0000C8,LINETHICK2;
X_49:=11;
X_50:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),X_49,1);
X_51:=HIGH-REF(HIGH,1);
X_52:=REF(LOW,1)-LOW;
X_53:=SMA(IF(X_51>0 AND X_51>X_52,X_51,0),X_49,1);
X_54:=SMA(IF(X_52>0 AND X_52>X_51,X_52,0),X_49,1);
X_55:=X_53*100/X_50;
X_56:=X_54*100/X_50;
X_57:=SMA(ABS(X_56-X_55)/(X_56+X_55)*100,X_49,1);
X_58:=X_55>30 OR X_57>30 AND X_55>X_56;
X_59:=X_56>30 OR X_57>30 AND X_55<X_56;
X_60:=EMA3>MULL AND EMA3>SULL AND X_46>X_45 AND X_10>0 AND X_55>X_56 AND MULL>SULL;
X_61:=EMA3<SULL AND EMA3<MULL AND X_46<X_45 AND EMA3<SUP;
DRAWICON(X_60,LOW*0.995,7);
DRAWICON(X_61,LOW*0.995,2);