用于“沪股通”、“深股通”、“融资融券”、“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);