小阳过近顶选股公式
感谢<font color="#ff0000">玫瑰海</font>提出修正意见:{小阳过近顶}X1:=REF(HHV(C,20),1);
X2:=C>X1;
X3:=REF(C,1);
X4:=(C-X3)*100/X3;
X5:=X4>1.8 AND X4<4;
X6:=(C-X1)*100/X1;
X7:=X6>1 AND X6<4;
X:X5 AND X7 AND X2;
筹码空间:IF(WINNER(CLOSE),WINNER(CLOSE)*100,20),VOLSTICK;
TX80:80,POINTDOT COLORYELLOW;
DX20:20,POINTDOT COLORGREEN;
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
K: EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,6),COLORRED;
D: EMA(0.667*REF(K,1)+0.333*K,2),COLORGREEN;
VAR3:=LLV(LOW,55);
VAR4:=HHV(HIGH,34);
VAR5:=EMA((CLOSE-VAR3)/(VAR4-VAR3)*100,3);
VAR6:=(K+VAR5)/2;
VAR7:=EMA(0.667*REF(VAR5,1)+0.333*K,2);
VAR8:=EMA(VAR6,5);
VAR9:EMA(0.667*REF(VAR8,1)+0.333*VAR8,2);
DRAWICON(LONGCROSS(D,K,0.1),D,2),COLORRED;
DRAWICON(LONGCROSS(K,D,0.1),K,1),COLORGREEN;
本帖最后由 玫瑰海 于 2014-6-20 09:02 编辑
修改后如下:x1:改成X1:=X;X5 AND X6 AND X2;改成:X5 AND X7 AND X2;
{小阳过近顶}
X1:=REF(HHV(C,20),1);
X2:=C>X1;
X3:=REF(C,1);
X4:=(C-X3)*100/X3;
X5:=X4>1.8 AND X4<4;
X6:=(C-X1)*100/X1;
X7:=X6>1 AND X6<4;
X:X5 AND X7 AND X2;
福建一切随缘 发表于 2014-6-19 08:40
你好!版主无法通过
{小阳过近顶}
X1:=REF(HHV(C,20),1);
X2:=C>X1;
X3:=REF(C,1);
X4:=(C-X3)*100/X3;
X5:=X4>1.8 AND X4<4;
X6:=(C-X1)*100/X1;
X7:=X6>1 AND X6<4;
X:X5 AND X7 AND X2; 当前公式 : 小阳过近顶 (条件选股公式)
错误句 :
详细信息 :
错误起始位置 : 95 ; 长度: 1
你好!版主无法通过 谢谢,公式没办法用 小阳过近顶}
X1:REF(HHV(C,20),1);
X2:=C>X1;
X3:=REF(C,1);
X4:=(C-X3)*100/X3;
X5:=X4>1.8 AND X4<4;
X6:=(C-X1)*100/X1;
X7:=X6>1 AND X6<4;
X:X5 AND X6 AND X2;
谢谢楼主分享 谢谢楼主分享 当前公式 : 小阳过近顶 (条件选股公式)
错误句 : 01.{小阳过近顶}
02.X1:REF(HHV(C,20),1)
详细信息 : 在变量 02.X1 前又错误的定义一次变量!
错误起始位置 : 19 ; 长度: 5
{:soso_e179:} :) :) {小阳过近顶}
X1:=REF(HHV(C,20),1);
X2:=C>X1;
X3:=REF(C,1);
X4:=(C-X3)*100/X3;
X5:=X4>1.8 AND X4<4;
X6:=(C-X1)*100/X1;
X7:=X6>1 AND X6<4;
X:X5 AND X6 AND X2; 向高手学习 謝謝分享。 谢谢分享