DRAWSL(BARPOS=SYSPARAM(1),意,0,天-1,1),POINTDOT,LINETHICK1,colorFF0000;
DRAWSL(BARPOS=SYSPARAM(1),天,0,天-1,1),POINTDOT,LINETHICK1,colorFF;
SA:=SUM(CROSS(【海平面】,個1),0);
SSAA:=SA[DATACOUNT]-SA+1;
拐点标识器:=BARSSINCE(BACKSET(SSAA=1,個1));
EA:=BARSSINCE(BACKSET(SSAA=MACD新概念9A,個1));
VERTLINE(拐点标识器=0),POINTDOT,colorFFFF00;
VERTLINE(EA=1);
STICKLINE(【海平面】>0,0*0.005,0*0.15,3,0.1),colorFFFF;
STICKLINE(【海平面】>0,0*0.015,0*0.075,3,0.1),colorFF;
STICKLINE(【海平面】<0,0*0.005,0*0.315,3,0.1),colorFFFF00;
DRAWSL(SYSPARAM(6)<=天[SYSPARAM(1)] AND BARPOS=SYSPARAM(1),天,0,0,0),colorFF;
STICKLINE(天<0,天*0.005,天-天*0.15,3,0.1),POINTDOT,color996633;
STICKLINE(天<個W,天-個W*0.005,天-個W*0.15,3,0.1),colorFF00;
STICKLINE(天>個W,天-個W*0.005,天-個W*0.15,3,0.1),colorCCFF;
STICKLINE(意>個1,個1*0.005,個1*0.15,3,0.1),POINTDOT,colorFFFFFF;
STICKLINE(意<個1,意-個1*0.005,意-個1*0.15,3,0.1),colorFF;
STICKLINE(意>0,個W*0.005,意*0.15,3,0.1),POINTDOT,colorFF00;
STICKLINE(意>個1,意-個1*0.005,意-個1*0.15,3,0.1),colorBBBBBB;
DRAWTEXT(SYSPARAM(1)=BARPOS AND 意 AND 意>個1 AND 個1>0,意,'=趋势服从='),ALIGN0,PXUP28,colorFF0000;
DRAWTEXT(SYSPARAM(1)=BARPOS AND 天 AND 天>0.04 AND 個W>十W,天,'=服从趋势='),ALIGN0,PXUP25,colorFF;
DRAWTEXT(SYSPARAM(1)=BARPOS AND 意 AND 意<0.04 AND 個1<十1,意,'=知天明意='),ALIGN2,PXUP25,colorFFFF;
DRAWTEXT(SYSPARAM(1)=BARPOS AND 意 AND 意>個1 AND 個1>十1,意,'=知天明意=\n=轮回因缘='),ALIGN1,PXDN10,colorFFA900;
DRAWTEXT(SYSPARAM(1)=BARPOS AND 意 AND 意<個1 AND 十1<個1,意,'=天明='),ALIGN1,PXDN10,colorFFA9DD;
DRAWTEXT(SYSPARAM(1)=BARPOS AND 意 AND 意>0 AND 個1>十1,個W,'=服从安排=\n=因果注定='),ALIGN1,PXDN10,colorFFFFFF;
DRAWTEXT(BARPOS=SYSPARAM(2),0,' \n知天'),ALIGN4,PXDN3,colorCCFF;
DRAWTEXT(BARPOS=SYSPARAM(2),0,' \n \n明意'),ALIGN4,PXDN6,colorBB;
DRAWTEXT(BARPOS=SYSPARAM(2),0,' \n \n \n服从'),ALIGN4,PXDN9,colorFF00;
DRAWTEXT(BARPOS=SYSPARAM(2),0,' \n \n \n \n安排'),ALIGN4,PXDN12,colorFFA900;