您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:扭亏为盈:自用的指标,很平凡但有用(源码 副图 贴图)

扭亏为盈:自用的指标,很平凡但有用(源码 副图 贴图)


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2011-05-31 08:32:00
公式简介:

扭亏为盈

BIAS1:=MA((CLOSE-MA(CLOSE,13))/MA(CLOSE,13),3)*100,COLORWHITE;
BIAS3:=MA((CLOSE-MA(CLOSE,27))/MA(CLOSE,27),3)*100,COLORFF00FF,LINETHICK2;
操作区:IF(BIAS3<0,BIAS3,0),COLORRED,LINETHICK2;
观望区:IF(BIAS3>0,BIAS3,0),COLORGREEN,LINETHICK2;
VAR1:=IF(DATE>=1990601,0,1);
VAR2:=TROUGHBARS(3,15,1)<10;
VAR3:=PEAKBARS(3,15,1)<10;
VAR4:=IF(VAR2=1,50,0);
VAR5:=IF(VAR3=1,50,0);
TJ1:=观望区<REF(观望区,1) OR 观望区-REF(观望区,1)<REF(观望区,1)-REF(观望区,2);
TJ2:=操作区>REF(操作区,1);
顶: IF(TJ1 AND VAR5=50,15,0),STICK,LINETHICK1,COLORGREEN;
底: IF(TJ2 AND VAR4=50,10,0),STICK,LINETHICK1,COLORRED;
DRAWICON(TJ1 AND VAR5=50,-2,2);
DRAWICON(TJ2 AND VAR4=50,11,1);

扭亏为盈-选

BIAS1:=MA((CLOSE-MA(CLOSE,13))/MA(CLOSE,13),3)*100,COLORWHITE;
BIAS3:=MA((CLOSE-MA(CLOSE,27))/MA(CLOSE,27),3)*100,COLORFF00FF,LINETHICK2;
操作区:=IF(BIAS3<0,BIAS3,0),COLORRED,LINETHICK2;
观望区:=IF(BIAS3>0,BIAS3,0),COLORGREEN,LINETHICK2;
VAR1:=IF(DATE>=1990601,0,1);
VAR2:=TROUGHBARS(3,15,1)<10;
VAR3:=PEAKBARS(3,15,1)<10;
VAR4:=IF(VAR2=1,50,0);
VAR5:=IF(VAR3=1,50,0);
TJ1:=观望区<REF(观望区,1) OR 观望区-REF(观望区,1)<REF(观望区,1)-REF(观望区,2);
TJ2:=操作区>REF(操作区,1);
XG:(TJ2 AND VAR4=50) AND REF((TJ2 AND VAR4=50),1);

这是选出连续两出红箭头的公式
 


 


 


[url=http://www.goodgupiao.com/gupiaogongshi/14008.html][B]扭亏为盈:自用的指标,很平凡但有用(源码 副图 贴图)[/B][/url]