/*
大值周期>REF(小值周期,距前低天YA) AND 大值周期>REF(大值周期,距前高天YA),1,0);
高保留YXA:=IF(局部高点预选C=1 AND REF(距前低天YA,1)>REF(距前高天YA,1) AND HHV(H,距前低天YA+1)>REF(HHV(H,距前低天YA+1),1),1,0);
高保留YXB:=IF(局部高点预选C=1 AND REF(距前低天YA,1)<=REF(距前高天YA,1) AND REF(低保留X,距前低天YA)=-1 AND (距前低天YA>=4 OR
HHV(缺口判断,距前低天YA)=1),1,0);
高保留YX:=IF((高保留YXA=1 OR 高保留YXB=1 OR 判断YX=1) AND H>REF(L,距前低天YA+1),1,0);
预判YXA:=IF((距前高天YA<4 AND HHV(缺口判断,距前高天YA)<>1) OR REF(高保留YXA,距前高天YA)=0,1,0);
判断YXA:=IF(局部低点预选C=-1 AND REF(距前高天YA,1)<=REF(距前低天YA,1) AND 预判YXA=1 AND 小值周期>REF(大值周期,距前高天YA+1)
AND 小值周期>REF(大值周期,距前高天YA) AND 小值周期>REF(小值周期,距前低天YA),-1,0);
低保留YXA:=IF(局部低点预选C=-1 AND REF(距前高天YA,1)>REF(距前低天YA,1) AND LLV(L,距前高天YA+1)<REF(LLV(L,距前高天YA+1),1),-
1,0);DRAWSL((ISLASTBAR||REFX(DAYBARPOS=1,1))&&C<MA(L,N),HHV(H,DAYBARPOS)-M,0,-DAYBARPOS+1,0,COLORBLUE), DOT;
DRAWSL((ISLASTBAR||REFX(DAYBARPOS=1,1))&&C<MA(L,N),REF(HHV(H,DAYBARPOS),DAYBARPOS)-M,0,-DAYBARPOS+1,0,COLORGREEN), DOT;
DRAWSL((ISLASTBAR||REFX(DAYBARPOS=1,1))&&C>MA(H,N),LLV(L,DAYBARPOS)+M,0,-DAYBARPOS+1,0,COLORYELLOW), DOT;
DRAWSL((ISLASTBAR||REFX(DAYBARPOS=1,1))&&C>MA(H,N),REF(LLV(L,DAYBARPOS),DAYBARPOS)+M,0,-DAYBARPOS+1,0,COLORRED), DOT;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,3,0),COLOR000045;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,,0),COLOR000065;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,2,0),COLOR000085;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,,0),COLOR0000A5;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1,0)
文华财经指标公式期货软件指标公式赢顺云指标共振同步指标 来自淘豆网m.daumloan.com转载请标明出处.