同花顺一阳穿三线的指标
-
相关简介:同花顺一阳穿三线的指标 N:=5; MA1:MA(CLOSE,5); MA2:MA(CLOSE,10); MA3:MA(CLOSE,30); MA4:MA(CLOSE,60); AA:=CROSS(C,MA(C,5)) AND CROSS(C,MA(C,10)); AA1:=CROSS(C,MA(C,20)) AND CROSS(C,MA(C,60)); AA2:=REF(CO AND (O-C)/C*1002,1); AA3:=(H-C)/C*1001 AND MA(C,5)REF(MA(C,
-
文章来源:股海网作者:股海网发布时间:2015-07-05浏览次数:
同花顺一阳穿三线的指标
N:=5;
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,30);
MA4:MA(CLOSE,60);
AA:=CROSS(C,MA(C,5)) AND CROSS(C,MA(C,10));
AA1:=CROSS(C,MA(C,20)) AND CROSS(C,MA(C,60));
AA2:=REF(C<O AND (O-C)/C*100<2,1);
AA3:=(H-C)/C*100<1 AND MA(C,5)>REF(MA(C,5),1);
SJ1:=(REF(HIGH,3) = HHV(HIGH,((2 * 3) + 1)));
SJ2:=FILTER(SJ1,3);
SJ3:=BACKSET(SJ2,(3 + 1));
SJ4:=FILTER(SJ3,3);
SJ5:=(REF(LOW,3) = LLV(LOW,((2 * 3) + 1)));
SJ6:=FILTER(SJ5,3);
SJ7:=BACKSET(SJ6,(3 + 1));
SJ8:=FILTER(SJ7,3);
SJ9:=((REF(LLV(LOW,(2 * 3)),1) + REF(HHV(HIGH,(2 * 3)),1)) / 2);
SJ10:=((HIGH + LOW) / 2);
SJ11:=(((SJ4 AND NOT((SJ8 AND (SJ9 >= SJ10)))) OR ISLASTBAR) OR
(BARSCOUNT(CLOSE) = 1));
SJ12:=(SJ8 AND NOT((SJ4 AND (SJ9 < SJ10))));
SJ13:=(SJ4 AND NOT((SJ8 AND (SJ9 >= SJ10))));
SJ14:=(REF(BARSLAST(SJ11),1) + 1);
SJ15:=BACKSET((SJ11 AND (COUNT(SJ12,SJ14) > 0)),LLVBARS(IF(SJ12,LOW,10000),SJ14));
SJ16:=(SJ15 > REF(SJ15,1));
SJ17:=BACKSET(SJ16,2);
SJ18:=(SJ17 > REF(SJ17,1));
SJ19:=((SJ18 OR ISLASTBAR) OR (BARSCOUNT(CLOSE) = 1));
SJ20:=(REF(BARSLAST(SJ19),1) + 1);
SJ21:=BACKSET((SJ19 AND (COUNT(SJ13,SJ20) > 0)),HHVBARS(IF(SJ13,HIGH,0),SJ20));
SJ22:=(SJ21 > REF(SJ21,1));
SJ23:=BACKSET(SJ22,2);
SJ24:=(SJ23 > REF(SJ23,1));
SJ25:=BACKSET(ISLASTBAR,(BARSLAST(SJ18) + 1));
SJ26:=(SJ25 > REF(SJ25,1));
SJ27:=BACKSET(ISLASTBAR,(BARSLAST(SJ24) + 1));
SJ28:=(SJ27 > REF(SJ27,1));
底:=REF(LOW,BARSLAST(SJ26));
顶:=REF(HIGH,BARSLAST(SJ28));
STICKLINE(SJ26,顶,底,1,0),COLORGREEN,LINETHICK2;
STICKLINE(SJ28,顶,底,2,0),COLORRED,LINETHICK1;
VAR2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);
STICKLINE(VAR2,H,L,1,0),COLORYELLOW,LINETHICK2;{底位黄色};
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
VARB2:=(RSV/2+22)*1;
量:=EMA(VOL,13);
资金:=EMA(AMOUNT,13);
过滤:=((资金 /量) / 100);
提纯:=(((CLOSE -过滤) / 过滤) * 100);
黄金:=((提纯 < (0)) AND ZXNH),COLORRED;
低买:=(黄金 AND RSV<VARB2-2,5,0),COLORYELLOW,LINETHICK3;
STICKLINE(黄金 AND RSV<VARB2-2,MA1,MA3,0.5,0),COLORWHITE;
趋势线:(MA1+MA2+MA3)/3,COLORGREEN,LINETHICK1 ;
GX:=MAX(MAX(MA(C,5),MA(C,10)),MA(C,20));
DX:=MIN(MIN(MA(C,5),MA(C,10)),MA(C,20));
TJ:=O<DX AND C>GX;
STICKLINE(TJ,C,O,1,0)COLORBLUE;
STICKLINE(CROSS(MA1,MA2)>0.99,HIGH,LOW,1,0),COLORMAGENTA;