金字塔红买绿卖加均线变色
-
相关简介:X:=BARSLAST(HIGH=HHV(HIGH,10)); LL:=MIN(REF(LOW,X+3),MIN(REF(LOW,X+2),MIN(REF(LOW,X),REF(LOW,X+1)))); Y:=BARSLAST(LOW=LLV(LOW,10)); HH:=MAX(REF(HIGH,Y+3),MAX(REF(HIGH,Y+2),MAX(REF(HIGH,Y),REF(HIGH,Y+1)))); A:=BARSLAST(CLOSE=HH); B:=BARSLAST(CLOSE=LL)
-
文章来源:股海网作者:股海网发布时间:2013-09-01浏览次数:
X:=BARSLAST(HIGH=HHV(HIGH,10));
LL:=MIN(REF(LOW,X+3),MIN(REF(LOW,X+2),MIN(REF(LOW,X),REF(LOW,X+1))));
Y:=BARSLAST(LOW=LLV(LOW,10));
HH:=MAX(REF(HIGH,Y+3),MAX(REF(HIGH,Y+2),MAX(REF(HIGH,Y),REF(HIGH,Y+1))));
A:=BARSLAST(CLOSE>=HH);
B:=BARSLAST(CLOSE<=LL);
AB:IF(A>B,HH,LL);
TM:=CLOSE>=AB;
TP:=CLOSE<AB;STICKLINE(TP,H,L,0,0),COLORCYAN;STICKLINE(TP,C,O,1,0),COLOR000000;STICKLINE(TP,OPEN,CLOSE,4,0),COLORCYAN;STICKLINE(TM,H,L,0,1),COLORRED;STICKLINE(TM,OPEN,CLOSE,1,0),COLOR000000;STICKLINE(TM,OPEN,CLOSE,4,1),COLORRED;
MAN:MA(CLOSE,N),COLORgreen;
MAN上升:PARTLINE(MAN/REF(MAN,1)>=1,MAN),COLORRED;
MAN下降:PARTLINE(MAN/REF(MAN,1)<1,MAN),COLORgreen;