买涨卖跌-精品通达信指标公式源码分享
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;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!