买卖趋势
免费体验:请加微信号:18020657357。
买卖趋势
CG:MA(C,21),colorblue,Linethick1;
FL:HHV(CG,3),colorgreen,Linethick1;
FS:CG-(FL-CG),colorred,Linethick1;
TY:=C;
A1:=REF(TY,10)=HHV(TY,2*10+1);
B1:=FILTER(A1,10);
C1:=BACKSET(B1,10+1);
HD:=FILTER(C1,10);
A2:=REF(TY,10)=LLV(TY,2*10+1);
B2:=FILTER(A2,10);
C2:=BACKSET(B2,10+1);
LD:=FILTER(C2,10);
A:=REF(C,BARSLAST(HD));
Z:=REF(L,BARSLAST(LD));
T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD);
T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
前期头部:IF(T1,A,A),COLORff00ff,Linethick3,POINTDOT;
前期底部:IF(T2,Z,Z),colorwhite,Linethick3,POINTDOT;
上收:=C;
上开:=O;
上高:=H;
上低:=L;
天平:MA(REF(HHV(上收,21),1),21),colorgreen,Linethick2;
地平:MA(REF(LLV(上收,30),1),21),colorred,Linethick2;
预警:EMA(CLOSE,3.5),colorf00ff0;
STICKLINE(C<地平 AND C<=O,C,O,6,0),colorgreen;
STICKLINE(C>天平 AND C>O,C,O,6,0),colorred;
STICKLINE(C<地平 AND C<=O,C,O,6,0),colorgreen;
STICKLINE(C<地平 AND C<=O,H,L,2,0),colorgreen;
STICKLINE(C<地平 AND C>O,C,H,1,0),colorgreen;
STICKLINE(C<地平 AND C>O,O,L,3,0),colorred;
STICKLINE(C<地平 AND C<=O,C,L,3,0),COLORff00ff;
STICKLINE(C<地平 AND C>O,C,O,6,2),colorred,Linethick3;
STICKLINE(C>天平 AND C<=O,C,O,6,2),COLOR00ff00,Linethick2;
STICKLINE(MA(C,60)>=REF(MA(C,60),12),MA(C,60),MA(C,60),6,4),COLORaabbcc,Linethick1;
STICKLINE(MA(C,60)<REF(MA(C,62),12),MA(C,60),MA(C,60),6,4),COLORccbbaa,Linethick1;
DRAWTEXT(CROSS(预警,天平) ,预警-0.1,'------追涨'),color00ff00;
DRAWTEXT(CROSS(天平,预警) ,天平+0.2,'-减仓-'),colorgreen;
DRAWTEXT(CROSS(预警,地平) ,预警-0.1,'买进-------'),colorffff00;