求前辈把这个公式该成选股公式,要求出现B点
MA18:EMA(C,18),COLOREEEEEE,LINETHICK2;红18:IF(MA18>REF(MA18,1),MA18,DRAWNULL),COLOR000...
MA18:EMA(C,18),COLOREEEEEE,LINETHICK2;
红18:IF(MA18>REF(MA18,1),MA18,DRAWNULL),COLOR0000FF,LINETHICK4;
绿18:IF(MA18<REF(MA18,1),MA18,DRAWNULL),COLOR00FF00,LINETHICK4;
STICKLINE(MA18>REF(MA18,1),LOW,HIGH,0,0),COLOR0000DD;
STICKLINE(MA18>REF(MA18,1),CLOSE,OPEN,3,0),COLORRED;
STICKLINE(MA18<REF(MA18,1),LOW,HIGH,0.0,0),COLORFFDD00;
STICKLINE(MA18<REF(MA18,1),CLOSE,OPEN,3,0),COLORFFFF00;
买进条件:STICKLINE(CROSS(MA18,REF(MA18,1)),OPEN,CLOSE,2.5,0),COLORFF00FF;
DRAWICON(CROSS(MA18,REF(MA18,1)),L*0.98,1);
DRAWICON(CROSS(MA18,REF(MA18,1)),L*0.95,7);
DRAWTEXT((C<MA(C,5) OR MA(C,5)<MA(C,10)) AND CURRBARSCOUNT<2,HHV(H,5)*1.04,'红线'),COLORRED;
DRAWTEXT((C<MA(C,5) OR MA(C,5)<MA(C,10)) AND CURRBARSCOUNT<2 ,HHV(H,5)*1.01,'持股'),COLORRED;
前辈,公式通过了,可是选出来的不是B点出现 展开
红18:IF(MA18>REF(MA18,1),MA18,DRAWNULL),COLOR0000FF,LINETHICK4;
绿18:IF(MA18<REF(MA18,1),MA18,DRAWNULL),COLOR00FF00,LINETHICK4;
STICKLINE(MA18>REF(MA18,1),LOW,HIGH,0,0),COLOR0000DD;
STICKLINE(MA18>REF(MA18,1),CLOSE,OPEN,3,0),COLORRED;
STICKLINE(MA18<REF(MA18,1),LOW,HIGH,0.0,0),COLORFFDD00;
STICKLINE(MA18<REF(MA18,1),CLOSE,OPEN,3,0),COLORFFFF00;
买进条件:STICKLINE(CROSS(MA18,REF(MA18,1)),OPEN,CLOSE,2.5,0),COLORFF00FF;
DRAWICON(CROSS(MA18,REF(MA18,1)),L*0.98,1);
DRAWICON(CROSS(MA18,REF(MA18,1)),L*0.95,7);
DRAWTEXT((C<MA(C,5) OR MA(C,5)<MA(C,10)) AND CURRBARSCOUNT<2,HHV(H,5)*1.04,'红线'),COLORRED;
DRAWTEXT((C<MA(C,5) OR MA(C,5)<MA(C,10)) AND CURRBARSCOUNT<2 ,HHV(H,5)*1.01,'持股'),COLORRED;
前辈,公式通过了,可是选出来的不是B点出现 展开
展开全部
MA18:=MA(C,18),COLOREEEEEE,LINETHICK2;
红18:=IF(MA18>REF(MA18,1),MA18,DRAWNULL),COLOR0000FF,LINETHICK4;
绿18:=IF(MA18<REF(MA18,1),MA18,DRAWNULL),COLOR00FF00,LINETHICK4;
CROSS(MA18,REF(MA18,1));
你不是要在买进条件成立的时候买入吗?
红18:=IF(MA18>REF(MA18,1),MA18,DRAWNULL),COLOR0000FF,LINETHICK4;
绿18:=IF(MA18<REF(MA18,1),MA18,DRAWNULL),COLOR00FF00,LINETHICK4;
CROSS(MA18,REF(MA18,1));
你不是要在买进条件成立的时候买入吗?
追答
MA18:=EMA(C,18);
红18:=IF(MA18>REF(MA18,1),MA18,DRAWNULL);
绿18:=IF(MA18<REF(MA18,1),MA18,DRAWNULL);
CROSS(MA18,REF(MA18,1);
这个就是你想要的选股指标了,但是我觉得意义不大!二条平均线的上穿,可能是最简单的公式了!
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询