大盘:=SMA(((INDEXC-LLV(INDEXL,30))/(HHV(INDEXH,30)-LLV(INDEXL,30))*100),3,1);
稀缺zi源:=SMA((("880505$C"-LLV("880505$L",30))/(HHV("880505$H",30)-LLV("880505$L",30))*100),3,1);
四G:=SMA((("880506$C"-LLV("880506$L",30))/(HHV("880506$H",30)-LLV("880506$L",30))*100),3,1);
军工航天:=SMA((("880507$C"-LLV("880507$L",30))/(HHV("880507$H",30)-LLV("880507$L",30))*100),3,1);
新能源:=SMA((("880508$C"-LLV("880508$L",30))/(HHV("880508$H",30)-LLV("880508$L",30))*100),3,1);
低碳经济:=SMA((("880519$C"-LLV("880519$L",30))/(HHV("880519$H",30)-LLV("880519$L",30))*100),3,1);
智能电网:=SMA((("880520$C"-LLV("880520$L",30))/(HHV("880520$H",30)-LLV("880520$L",30))*100),3,1);
黄金概念:=SMA((("880521$C"-LLV("880521$L",30))/(HHV("880521$H",30)-LLV("880521$L",30))*100),3,1);
三网融合:=SMA((("880530$C"-LLV("880530$L",30))/(HHV("880530$H",30)-LLV("880530$L",30))*100),3,1);
整体上市:=SMA((("880532$C"-LLV("880532$L",30))/(HHV("880532$H",30)-LLV("880532$L",30))*100),3,1);
物联网:=SMA((("880533$C"-LLV("880533$L",30))/(HHV("880533$H",30)-LLV("880533$L",30))*100),3,1);
STICKLINE(物联网>大盘 AND 物联网>=50, 0 , 1,-1,0),COLOR00DDDD;
STICKLINE(整体上市>大盘 AND 整体上市>=50, 2 , 3,-1,0),COLOR00DDDD;
STICKLINE(三网融合>大盘 AND 三网融合>=50, 4 , 5,-1,0),COLOR00DDDD;
STICKLINE(黄金概念>大盘 AND 黄金概念>=50, 6 , 7,-1,0),COLOR00DDDD;
STICKLINE(智能电网>大盘 AND 智能电网>=50, 8 , 9,-1,0),COLOR00DDDD;
STICKLINE(低碳经济>大盘 AND 低碳经济>=50, 10,11,-1,0),COLOR00DDDD;
STICKLINE(新能源>大盘 AND 新能源>=50, 12,13,-1,0),COLOR00DDDD;
STICKLINE(军工航天>大盘 AND 军工航天>=50, 14,15,-1,0),COLOR00DDDD;
STICKLINE(四G>大盘 AND 四G>=50, 16,17,-1,0),COLOR00DDDD;
STICKLINE(稀缺zi源>大盘 AND 稀缺zi源>=50, 18,19,-1,0),COLOR00DDDD;
DRAWRECTREL(0,0,66,990,RGB(150,0,0));{www.fxjgsw.com}
DRAWTEXT_FIX(ISLASTBAR,0.01,0.01,0,'稀缺zi源'),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.1,0,'4G'),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.2,0,'军工航天'),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.3,0,'新能源'),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.4,0,'低碳经济'),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.5,0,'智能电网'),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.6,0,'黄金概念'),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.7,0,'三网融合'),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.8,0,'整体上市'),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.9,0,'物联网'),COLORWHITE;
|