R1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
R:=SMA(R1,3,1);
TDXSTEP139:STICKLINE(R<=30,ADVANCE,OPEN,3.1,0),COLORBLUE;
TDXSTEP140:STICKLINE(R<=30,QHJSJ,VOLINSTK,0.000099,0),COLORBLUE;
TDXSTEP141:STICKLINE(R>=70,ADVANCE,OPEN,3.1,0),COLORGREEN;
TDXSTEP142:STICKLINE(R>=70,QHJSJ,VOLINSTK,0.000099,0),COLORGREEN;
AA:=ADVANCE;
NOTEXT1:FORCAST(EMA(AA,9),7),COLORGREEN;
NOTEXT2:FORCAST(EMA(AA,17),7),DOTLINE,COLORMAGENTA;
NOTEXT3:FORCAST(EMA(AA,25),7),COLORGREEN,LINETHICK2;
NOTEXT4:IF(NOTEXT1>=NOTEXT2,NOTEXT1,DRAWNULL),COLORRED;
NOTEXT5:IF(NOTEXT1<NOTEXT2,NOTEXT2,DRAWNULL),DOTLINE,COLORGREEN;
NOTEXT6:IF(NOTEXT2>=NOTEXT3,NOTEXT3,DRAWNULL),COLORRED,LINETHICK2;
若上述公式在汇盈系列行情数据分析软件中有异常,请尝试如下公式:
R1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
R:=SMA(R1,3,1);
TDXSTEP139:STICKLINE(R<=30,CLOSE,OPEN,3.1,0),COLORBLUE;
TDXSTEP140:STICKLINE(R<=30,LOW,HIGH,0.000099,0),COLORBLUE;
TDXSTEP141:STICKLINE(R>=70,CLOSE,OPEN,3.1,0),COLORGREEN;
TDXSTEP142:STICKLINE(R>=70,LOW,HIGH,0.000099,0),COLORGREEN;
AA:=CLOSE;
NOTEXT1:FORCAST(EMA(AA,9),7),COLORGREEN;
NOTEXT2:FORCAST(EMA(AA,17),7),DOTLINE,COLORMAGENTA;
NOTEXT3:FORCAST(EMA(AA,25),7),COLORGREEN,LINETHICK2;
NOTEXT4:IF(NOTEXT1>=NOTEXT2,NOTEXT1,DRAWNULL),COLORRED;
NOTEXT5:IF(NOTEXT1<NOTEXT2,NOTEXT2,DRAWNULL),DOTLINE,COLORGREEN;
NOTEXT6:IF(NOTEXT2>=NOTEXT3,NOTEXT3,DRAWNULL),COLORRED,LINETHICK2;
{-----------------------------------}