以下是通达信公式背景图标记“沪股通”“深股通”“融资融券”“MSCI”
用于“沪股通”、“深股通”、“融资融券”、“MSCI”的品种标记
ZRT:=FINDSTR(FGBLOCK,’融资融券’);
HGT:=FINDSTR(FGBLOCK,’沪港通’);
SGT:=FINDSTR(FGBLOCK,’深港通’);
MSCI:=FINDSTR(FGBLOCK,’MSCI’);
RZMS:=ZRT AND MSCI;
HGRZMS:=ZRT AND HGT AND MSCI;
HGRZ:=ZRT AND HGT;
HGMS:=HGT AND MSCI;
SHBJ:=IF(HGRZMS,’HGRZMS’,IF(HGRZ,’HGRZ’,IF(HGMS,’HGMS’,IF(RZMS,’RZMS’,IF(ZRT,’KLT’,IF(HGT,’HGT’,IF(MSCI,’MSCI’,”)))))));
SGRZMS:=ZRT AND SGT AND MSCI;
SGRZ:=ZRT AND SGT;
SGMS:=SGT AND MSCI;
SZBJ:=IF(SGRZMS,’SGRZMS’,IF(SGRZ,’SGRZ’,IF(SGMS,’SGMS’,IF(RZMS,’RZMS’,IF(ZRT,’KLT’,IF(SGT,’SGT’,IF(MSCI,’MSCI’,”)))))));
DRAWGBK(SETCODE=1 AND (ZRT OR HGT OR MSCI),RGB(0,0,0),RGB(0,0,0),0,SHBJ,0);
DRAWGBK(SETCODE=0 AND (ZRT OR SGT OR MSCI),RGB(0,0,0),RGB(0,0,0),0,SZBJ,0);
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)