东方财富 自定义配置

东方财富 自定义配置

公式代码

MA均线Solarized配色

MA5:ma(CLOSE, 5),COLORb58900,LINETHICK1;
MA10:ma(CLOSE, 10),COLOR6c71c4,LINETHICK1;
MA20:ma(CLOSE, 20),COLORD33682,LINETHICK1;
{MA30:ma(CLOSE, 30),COLOR6c71c4,LINETHICK0;}
MA60:ma(CLOSE, 60),COLOR859900,LINETHICK1;
MA120:ma(CLOSE, 120),COLOR2AA198,LINETHICK1;
MA250:ma(CLOSE, 250),COLORDC322F,LINETHICK1;
{MA250:ma(CLOSE, 250),COLORcb4b16,LINETHICK0;}

DRAWICON(CURRBARSCOUNT=4,H*1.02,12);
DRAWICON(CURRBARSCOUNT=9,H*1.02,10);
DRAWICON(CURRBARSCOUNT=19,H*1.05,11);
DRAWICON(CURRBARSCOUNT=59,H*1.03,7);
DRAWICON(CURRBARSCOUNT=119,H*1.03,12);
DRAWICON(CURRBARSCOUNT=249,H*1.03,10);

BIASC:(C-MA5)/MA5*100,COLORb58900,NODRAW;
BIASH:(H-MA5)/MA5*100,COLOR6c71c4,NODRAW;
BIASL:(L-MA5)/MA5*100,COLOR6c71c4,NODRAW;
HL:(H-L)/C*100,COLORcb4b16,NODRAW;

行业:=STRCAT('行业板块: ',HYBLOCK);
地区:=STRCAT('    地区板块:',DQBLOCK);
概念:=STRCAT('    概念板块: ',GNBLOCK);
板块:=STRCAT(行业,地区,概念);
DRAWTEXT_FIX(ISLASTBAR,0,0,0,板块),COLORb58900;
posted @ 2022-01-05 15:13  孤逐王  阅读(825)  评论(0编辑  收藏  举报