辅助进出点、高点值、低点值,相对 高点的跌幅或相对低点的涨幅都有标注。个人感觉是一个不错的辅助操盘工具。
给出信号后,可以结合常规指标进行判断,是否是操作点,然后进行相应操作
谷:=TROUGHBARS(2,5,2);
峰:=PEAKBARS(2,5,2);
DRAWTEXT(CROSS(谷,峰),H*1.008,'高')COLORGREEN;
DRAWTEXT(CROSS(峰,谷),L*0.995,'低')COLORRED;
DRAWNUMBER(CROSS(谷,峰),H*1.015,HHV(H,5))COLORYELLOW;
DRAWNUMBER(CROSS(峰,谷),L*0.985,LLV(L,5))COLORGREEN;
DRAWTEXT(REF(CROSS(谷,峰),1),REF(H,1)*1.008,'出')COLORGREEN;
DRAWTEXT(REF(CROSS(峰,谷),1),REF(L,1)*0.995,'进')COLORRED;
SCGDTS:=BARSLAST(CROSS(谷,峰));
SCDDTS:=BARSLAST(CROSS(峰,谷));
SCGDGZ:=HHV(H,SCGDTS+1);
SCDDDZ:=LLV(L,SCDDTS+1);
ZDD:=(SCGDGZ-L)/L*100;
ZDZ:=(H-SCDDDZ)/SCDDDZ*100;
最大涨幅:=IF(谷<峰,ZDZ,0)NODRAW;
最大跌幅:=IF(谷>峰,ZDD,0)NODRAW;
DRAWNUMBER(谷<峰 AND ISLASTBAR,H*1.04,最大涨幅)COLORRED;
DRAWNUMBER(谷>峰 AND ISLASTBAR,H*1.04,最大跌幅)COLORGREEN;
DRAWLINE(CROSS(谷,峰),H,CROSS(峰,谷),L,0)COLORGREEN;
DRAWLINE(CROSS(峰,谷),L,CROSS(谷,峰),H,0)COLORRED;