前期低点:=5;
最近低点:=5;
前期低点价格:LLV(REF(LOW,前期低点-1),1),NODRAW,COLORYELLOW;
最近低点价格:LLV(REF(LOW,最近低点-1),1),NODRAW,COLORYELLOW;
XA_3:=最近低点价格*XA_2;
XA_4:=(XA_2-1)*2;
XA_6:=最近低点价格*XA_5;
XA_7:=最近低点价格*XA_5*XA_2;
STICKLINE(CURRBARSCOUNT<=最近低点,预测一阶平台,预测一阶平台,5,0),COLORWHITE,LINETHICK2;
STICKLINE(CURRBARSCOUNT<=最近低点,预测三阶平台,预测三阶平台,5,0),COLORWHITE,LINETHICK2;
XA_9:=REFDATE(LLV(LOW,前期低点),DATE);
XA_10:=REFDATE(HHV(HIGH,前期高点),DATE);
STICKLINE(CURRBARSCOUNT=前期高点,XA_10,XA_11,0,(-1)),COLORLIGREEN;
XA_13:=REFDATE(LLV(LOW,最近低点),DATE);