参数2: 前期高点, 最小: 1, 最大: 5000, 缺省: 5
参数3: 最近低点, 最小: 1, 最大: 5000, 缺省: 5
找到最近一波的 反弹上涨 按参数名称 找到前期低点 和高点 最后把最近的低点找到
突破一阶平台可以尝试进场操作
XA_1:=IF(DATE =1980601,1,1);
前期低点价格:LLV(REF(LOW,前期低点-1),1),NODRAW,COLORYELLOW;
前期高点价格:LLV(REF(HIGH,前期高点-1),1),NODRAW,COLORYELLOW;
最近低点价格:LLV(REF(LOW,最近低点-1),1),NODRAW,COLORYELLOW;
XA_2:=前期高点价格/前期低点价格;
XA_3:=最近低点价格*XA_2;
预测一阶平台:CONST(XA_3)*XA_1,NODRAW,COLORRED;
XA_4:=(XA_2-1)*2;
XA_5:=1+XA_4;
XA_6:=最近低点价格*XA_5;
预测二阶平台:CONST(XA_6)*XA_1,NODRAW,COLORRED;
XA_7:=最近低点价格*XA_5*XA_2;
预测三阶平台:CONST(XA_7)*XA_1,NODRAW,COLORRED;
STICKLINE(CURRBARSCOUNT =最近低点,预测一阶平台,预测一阶平台,5,0),COLORWHITE,LINETHICK2;
STICKLINE(CURRBARSCOUNT =最近低点,预测二阶平台,预测二阶平台,5,0),COLORWHITE,LINETHICK2;
STICKLINE(CURRBARSCOUNT =最近低点,预测三阶平台,预测三阶平台,5,0),COLORWHITE,LINETHICK2;{www.9m8.cn 九毛八公式指标网}
XA_8:=REFDATE(HHV(HIGH,前期低点),DATE);
XA_9:=REFDATE(LLV(LOW,前期低点),DATE);
STICKLINE(CURRBARSCOUNT=前期低点,XA_8,XA_9,0,(-1)),COLORLIGREEN;
XA_10:=REFDATE(HHV(HIGH,前期高点),DATE);
XA_11:=REFDATE(LLV(LOW,前期高点),DATE);
STICKLINE(CURRBARSCOUNT=前期高点,XA_10,XA_11,0,(-1)),COLORLIGREEN;
XA_12:=REFDATE(HHV(HIGH,最近低点),DATE);
XA_13:=REFDATE(LLV(LOW,最近低点),DATE);
STICKLINE(CURRBARSCOUNT=最近低点,XA_12,XA_13,0,(-1)),COLORLIGREEN;