把(短线先锋)红色园和放量进场信号各做一个选股
2019/12/16 18:37:15
公式编写说明:
源码:MA1:MA(CLOSE,5);MA2:MA(CLOSE,10);MA3:=MA(CLOSE,20);MA4:=MA(CLOSE,60);MA5:=MA(CLOSE,120);STICKLINE(C>REF(C,1)*1.099,C,O,2,0)COLORRED,LINETHICK2;STICKLINE(C>REF(C,1)*1.091 AND C<REF(C,1)*1.099,C,O,2,0)COLORLIRED,LINETHICK2;STICKLINE(C<REF(C,1)*0.901,C,O,2,0)COLORGREEN,LINETHICK2;STICKLINE(C>REF(C,1)*1.049 AND C<REF(C,1)*1.09,C,O,2,0)COLORMAGENTA,LINETHICK2;STICKLINE(C<REF(C,1)*0.95 AND C>REF(C,1)*0.901,C,O,2,0)COLORYELLOW,LINETHICK2;跌破止损价要跑:=REF(L,1),COLORLIMAGENTA,LINETHICK0;{DRAWTEXT(CROSS(C,MA1) AND MA1>REF(MA1,1) AND V>REF(V,1) AND C>O,LOW,'短买'),COLORGREEN;}S1 :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;A1:=IF(REF(S1,1)<-6 AND S1>-6,1,0);DRAWICON(A1 AND L>REF(L,1) AND REF(O,1)>REF(C,1),L*0.978,13);A01:=(C-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3)); A11:=SMA(A01,2,1);A21:=SMA(A11,2,1);A31:=3*A11-2*A21 ;A41:=2*A31-0.5;生命线:C*(1-(A41-A21)/15),COLORRED,LINETHICK2;DRAWTEXT(CROSS(84,SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100),H*1.018,'逃顶'),COLORWHITE ;DRAWTEXT(CROSS(C,生命线) AND V>REF(V,1) AND C>O,LOW*0.968,'放量'),COLORYELLOW;DRAWTEXT(CROSS(C,生命线),LOW*0.948,'进场'),COLORRED;DRAWTEXT(CROSS(生命线,C),H*1.038,'离场'),COLORYELLOW;支撑价:LLV(LOW,19),LINETHICK1,COLORRED;阻力价:HHV(HIGH,19),COLORYELLOW, LINETHICK1;LC:=REF(CLOSE,1); RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;S2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;S3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;V1:=V/REF(V,1);X4:=(H-C)/C;DRAWICON(CROSS(S3,S1) AND RSI1>RSI2 AND RSI2>RSI3 AND C>MA1 AND V1<2.8 AND X4<0.05,L*0.978,24);不是有意违反版规,是真的不知道这指标的名字。
公式源码回答:
{红色圆圈选股}
S1 :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
A1:=IF(REF(S1,1)<-6 AND S1>-6,1,0);
A1 AND L>REF(L,1) AND REF(O,1)>REF(C,1);
--------------------------------
{放量进场}
A01:=(C-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3));
A11:=SMA(A01,2,1);
A21:=SMA(A11,2,1);
A31:=3*A11-2*A21 ;
A41:=2*A31-0.5;
生命线:=C*(1-(A41-A21)/15);
CROSS(C,生命线) AND V>REF(V,1) AND C>O;
投股 票网 www.tou 18.cn
股市公式下载推荐