/*
DRAWTEXT(NG&&ISLASTBAR&&BARSLAST(CROSS(AL看5=1,))<BARSLAST(CROSS(看4=1,)),VALUEWHEN(CROSS(AL看5=1,),L),' 上'),VALIGN1,ALIGN0,ALIGN0,FONTSIZE21,COLORWHITE;
DRAWTEXT(NG&&ISLASTBAR&&BARSLAST(CROSS(看4=1,))<BARSLAST(CROSS(AL看5=1,)),VALUEWHEN(CROSS(看4=1,),H),' 下'),VALIGN1,ALIGN0,ALIGN0,FONTSIZE21,COLORYELLOW;
DRAWLINE3(NG&&ISLASTBAR&&BARSLAST(CROSS(看4=1,))=MIN(BARSLAST(CROSS(看4=1,)),BARSLAST(CROSS(AL看5=1,))),C,0,1,REF(H,BARSLAST(CROSS(看4=1,))),BARSLAST(CROSS(看4=1,)),0),COLORYELLOW,LINETHICK3;////最后折线 下跌
DRAWLINE3(NG&&ISLASTBAR&&BARSLAST(CROSS(AL看5=1,))=MIN(BARSLAST(CROSS(看4=1,)),BARSLAST(CROSS(AL看5=1,))),C,0,1,REF(L,BARSLAST(CROSS(AL看5=1,))),BARSLAST(CROSS(AL看5=1,)),0),COLORRED,LINETHICK3; ////最后折线上涨
DRAWSL1(NG&&ISLASTBAR&&BARSLAST(CROSS(AL看5=1,))<BARSLAST(CROSS(看4=1,)),VALUEWHEN(CROSS(AL看5=1,),L),0,BARSLAST(CROSS(AL看5=1,)),1),LINETHICK1,COLORCYAN;//最后横线可加粗
DRAWSL1(NG&&ISLASTBAR&&BARSLAST(CROSS(看4=1,))<BARSLAST(CROSS(AL看5=1,)),VALUEWHEN(CROSS(看4=1,),H),0,BARSLAST(CROSS(看4=1,)),1),LINETHICK1,RGB(191,191,0),COLORRED,VALIGN2;//最后横线可加粗
//DRAWTEXT(LD,L,' 上'),FONTSIZE16,COLORYELLOW,VALIGN0;
//DRAWTEXT(HD,H,' 下'),FONTSIZE16,COLORYELLOW,VALIGN2;
XXA:=BACKSET(ISLASTBAR,SUMBARS(TIME=IF(PERIOD=0,210000,2100),1)),NODRAW;//////////////////////高低横线///指标((一))
XXX:=BACKSET(ISLASTBAR,BARSLAST(CROS
文华期货软件指标公式期货指标公式 来自淘豆网m.daumloan.com转载请标明出处.