以下是通达信波段买入指标公式(无源码的请下载附件导入)
VAR1:=DATE>1040530;
行情: EMA(100*(CLOSE-LLV(LOW,400))/(HHV(HIGH,400)-LLV(LOW,400)),24)*VAR1;
VAR2:=IF(DATE<1081230,IF(行情>90.64,行情,0),0)*VAR1;
VAR3:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
风险区: 84;
底部区: 5;
VAR4:=VAR2*VAR1;
VAR5:=行情<4*VAR1;
涨幅前兆: IF(FILTER(VAR5,20)=1,50,0),;
VAR6:=10*VAR1;
VAR7:=CROSS(行情,4.5);
大方建仓: IF(FILTER(VAR7,5)=1,80,0)*VAR1;
STICKLINE(行情>84,行情,行情,1,0)*VAR1;
DRAWICON(大方建仓>0,80,1)*VAR1;
DRAWICON(VAR4,VAR4,9)*VAR1;
DRAWICON(涨幅前兆>0,50,1)*VAR1;
725444801.jpg
|