共振理论 个股 大盘 行业 副图指标
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2017-07-14 22:57:00
公式简介:
FLAG:=1;
HJ_1:=DATE>=1;
HJ_2:=IF(HJ_1,CLOSE,DRAWNULL);
HJ_3:=IF(HJ_1,HIGH,DRAWNULL);
HJ_4:=IF(HJ_1,OPEN,DRAWNULL);
HJ_5:=IF(HJ_1,LOW,DRAWNULL);
个股:IF(FLAG=0,(HJ_2/REF(HJ_2,BARSSINCE(HJ_2))-1)*100,DRAWNULL);
HJ_6:=IF(HJ_1,INDEXC,DRAWNULL);
HJ_7:=IF(HJ_1,INDEXH,DRAWNULL);
HJ_8:=IF(HJ_1,INDEXO,DRAWNULL);
HJ_9:=IF(HJ_1,INDEXL,DRAWNULL);
大盘:IF(FLAG=0,(HJ_6/REF(HJ_6,BARSSINCE(HJ_6))-1)*100,DRAWNULL);
HJ_10:=IF(HJ_1,IF(HY_INDEXC=0,REF(HY_INDEXC,1),HY_INDEXC),DRAWNULL);
HJ_11:=IF(HJ_1,IF(HY_INDEXH=0,REF(HY_INDEXH,1),HY_INDEXH),DRAWNULL);
HJ_12:=IF(HJ_1,IF(HY_INDEXO=0,REF(HY_INDEXO,1),HY_INDEXO),DRAWNULL);
HJ_13:=IF(HJ_1,IF(HY_INDEXL=0,REF(HY_INDEXL,1),HY_INDEXL),DRAWNULL);
行业:IF(FLAG=0,(HJ_10/REF(HJ_10,BARSSINCE(HJ_10))-1)*100,DRAWNULL);
STICKLINE(HJ_1 AND HJ_2<=REF(HJ_2,1) AND FLAG=1,HJ_3,HJ_5,0,1),COLORCYAN;
STICKLINE(HJ_1 AND HJ_2>REF(HJ_2,1) AND FLAG=1,HJ_3,HJ_5,0,1),COLORRED;
STICKLINE(HJ_1 AND HJ_2<=REF(HJ_2,1) AND FLAG=1,HJ_4,HJ_2,2,0),COLORCYAN;
STICKLINE(HJ_1 AND HJ_2>REF(HJ_2,1) AND FLAG=1,HJ_4,HJ_2,2,1),COLORRED;
HJ_14:=HJ_6/REF(HJ_6,BARSSINCE(HJ_6))*REF(HJ_2,BARSSINCE(HJ_2));
HJ_15:=HJ_7/REF(HJ_6,BARSSINCE(HJ_6))*REF(HJ_2,BARSSINCE(HJ_2));
HJ_16:=HJ_8/REF(HJ_6,BARSSINCE(HJ_6))*REF(HJ_2,BARSSINCE(HJ_2));
HJ_17:=HJ_9/REF(HJ_6,BARSSINCE(HJ_6))*REF(HJ_2,BARSSINCE(HJ_2));
STICKLINE(HJ_1 AND HJ_14<=REF(HJ_14,1) AND FLAG=1,HJ_16,HJ_14,2,0),COLORGREEN;
STICKLINE(HJ_1 AND HJ_14>REF(HJ_14,1) AND FLAG=1,HJ_16,HJ_14,2,0),COLORRED;
STICKLINE(HJ_1 AND HJ_14<=REF(HJ_14,1) AND FLAG=1,HJ_15,HJ_17,0,1),COLORGREEN;
STICKLINE(HJ_1 AND HJ_14>REF(HJ_14,1) AND FLAG=1,HJ_15,HJ_17,0,1),COLORRED;
HJ_18:=HJ_10/REF(HJ_10,BARSSINCE(HJ_10))*REF(HJ_2,BARSSINCE(HJ_2));
HJ_19:=HJ_11/REF(HJ_10,BARSSINCE(HJ_10))*REF(HJ_2,BARSSINCE(HJ_2));
HJ_20:=HJ_12/REF(HJ_10,BARSSINCE(HJ_10))*REF(HJ_2,BARSSINCE(HJ_2));
HJ_21:=HJ_13/REF(HJ_10,BARSSINCE(HJ_10))*REF(HJ_2,BARSSINCE(HJ_2));
STICKLINE(HJ_1 AND HJ_18<=REF(HJ_18,1) AND FLAG=1,HJ_19,HJ_21,0,1),COLORGRAY;
STICKLINE(HJ_1 AND HJ_18>REF(HJ_18,1) AND FLAG=1,HJ_19,HJ_21,0,1),COLORGRAY;
STICKLINE(HJ_1 AND HJ_18<=REF(HJ_18,1) AND FLAG=1,HJ_20,HJ_18,2,0),COLORGRAY;
STICKLINE(HJ_1 AND HJ_18>REF(HJ_18,1) AND FLAG=1,HJ_20,HJ_18,2,1),COLORGRAY;
DRAWTEXT(CURRBARSCOUNT=5 AND FLAG=1,HJ_3,STKNAME),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=5 AND FLAG=1,HJ_15,9),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=5 AND FLAG=1,HJ_19,HYBLOCK),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=5 AND FLAG=0,个股,STKNAME),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=5 AND FLAG=0,大盘,9),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=5 AND FLAG=0,行业,HYBLOCK),COLORMAGENTA;
[url=http://www.goodgupiao.com/gupiaogongshi/45539.html][B]共振理论 个股 大盘 行业 副图指标[/B][/url]