以下是买卖点不好掌握,有一个可以提前提示的多好–可以提示提前买卖
这个是向别人要来的,感觉相当不错,也用检测工具检测了好像没有未来
提示提前买卖源码
STICKLINE(CROSS(20,((SMA(MAX(CLOSE – REF(CLOSE,1),0),7,1))/(SMA(ABS(CLOSE – REF(CLOSE,1)),7,1)))*(100)),(-400),0,8,0),COLORRED;
〖明天买入〗:0,COLORRED;
STICKLINE(CROSS(((SMA(MAX(CLOSE – REF(CLOSE,1),0),7,1))/(SMA(ABS(CLOSE – REF(CLOSE,1)),7,1)))*(100),80),0,400,8,0),COLOR00FF00;
〖明天卖出〗:0,COLOR00FF00;
VAR1:=(HIGH + LOW + CLOSE)/(3);
VAR2:=(VAR1 – MA(VAR1,14))/((0.015)*(AVEDEV(VAR1,14)));
VAR3:=(VAR1 – MA(VAR1,70))/((0.015)*(AVEDEV(VAR1,70)));
VAR4:=IF((VAR2 >= 150) AND (VAR2 < 200) AND (VAR3 >= 150) AND (VAR3 < 200),100,IF((VAR2 <= (-150)) AND (VAR2 > (-200)) AND (VAR3 <= (-150)) AND (VAR3 > (-200)),(-100),0));
VAR5:=IF((VAR2 >= 150) AND (VAR2 < 200) AND (VAR3 >= 150) AND (VAR3 < 200),100,0);
VAR6:=IF((VAR2 <= (-150)) AND (VAR2 > (-200)) AND (VAR3 <= (-150)) AND (VAR3 > (-200)),(-100),0);
IF((VAR2 >= 200),200,IF((VAR2 <= (-200)),(-200),VAR4)),COLORFFFFFF;
〖测顶〗:0 – IF((VAR3 >= 200),200,VAR5) + 400,COLORYELLOW;
〖测底〗:0 – IF((VAR3 >= 200),0,IF((VAR3 <= (-200)),(-200),VAR6)) – 400,COLORFF00FF;
准确率很高源码
=C-REF(C,1);
Q_2:=100*EMA(EMA(Q_1,6),6)/EMA(EMA(ABS(Q_1),6),6);
Q_3:=CROSS(EMA(C,19),EMA(C,7));
Q_4:=CROSS(EMA(C,7),EMA(C,19));
Z1:=L=LLV(L,BARSLAST(Q_3)+1);
Z2:=LLV(L,BARSLAST(Q_3)+1);
Z3:=H=HHV(H,BARSLAST(Q_4)+1);
Z4:=HHV(H,BARSLAST(Q_4)+1);
Q_A:=DRAWLINE(Z1,Z2,Z3,Z4,0),COLORMAGENTA,LINETHICK2;
Y1:=H=HHV(H,BARSLAST(Q_4)+1);
Y2:=HHV(H,BARSLAST(Q_4)+1);
Y3:=L=LLV(L,BARSLAST(Q_3)+1);
Y4:=LLV(L,BARSLAST(Q_3)+1);
Q_B:=DRAWLINE(Y1,Y2,Y3,Y4,0),COLORCYAN,LINETHICK2;
X01:=LLV(Q_2,2)=LLV(Q_2,7);
X2:=COUNT(Q_2<0,2);
X3:=CROSS(Q_2,MA(Q_2,2));
X4:=REF(Q_B,1)<REF(Q_B,2);
X5:=Q_A>REF(Q_B,1);
买进:(X01 AND X2 AND X3) AND X4 AND X5;
TJ0:=IF(Q_A<REF(Q_A,1) AND Q_B=Q_A,1,0);
TJ1:=IF(Q_B<REF(Q_B,1) AND Q_B=Q_A,1,0);
持股:IF(Q_B<REF(Q_B,1) AND Q_B<Q_A,23,0),STICK,COLOR000088,LINETHICK3;
STICKLINE(Q_B<REF(Q_B,1),0,35,2,0)COLOR006600;
买一绝:IF(REF(TJ1,1)=0 AND TJ1>=1,60,0),STICK,COLORRED,LINETHICK3;
堪称卖绝:IF(REF(TJ0,1)=0 AND TJ0>=1,60,0),STICK,COLORCYAN,LINETHICK3;
好简单的,黄柱子出现,第二天卖出。红柱子出现第二天买入。配合大盘趋势。错了后果自负,
评论(0)