" i& w3 f. \: {2 {" p; ~3 |
为了保持行情软件的均线颜色与斗K均线颜色一致,可在行情软件中自定义均线: file:///C:/Users/ADMINI~1/AppData/Local/Temp/msohtmlclip1/01/clip_image002.jpg file:///C:/Users/ADMINI~1/AppData/Local/Temp/msohtmlclip1/01/clip_image004.jpg file:///C:/Users/ADMINI~1/AppData/Local/Temp/msohtmlclip1/01/clip_image006.jpg 公式内容如下: MA5:MA(CLOSE,5),COLORFF00FF,LINETHICK1; MA10:MA(CLOSE,10),COLORCYAN,LINETHICK1; MA20:MA(CLOSE,20),COLORYELLOW,LINETHICK1; STICKLINE(C/REF(C,1)>=1.0985,CLOSE,OPEN,3,0),COLORYELLOW; STICKLINE(C/REF(C,1)<=0.950,CLOSE,OPEN,3,0),COLORGREEN; A:=C/REF(C,1)>=1.050; B:=C/REF(C,1)<1.0985; STICKLINE(A ANDB,CLOSE,OPEN,3,0),COLORMAGENTA; {黄色实体为涨停;绿色实体为跌幅-5到跌停;洋红色为涨幅+5到涨停之间} 地区:=STRCAT('地区:',DYBLOCK); 地区1:=STRCAT(地区,' '); 行业1:=STRCAT('行业:',HYBLOCK); 行业2:=STRCAT(行业1,' '); 行业3:=STRCAT(行业2,GNBLOCK); 地区行业:=STRCAT(地区1,行业3); DRAWTEXT_FIX(ISLASTBAR,0,0.02,0.0,地区行业),COLORYELLOW; file:///C:/Users/ADMINI~1/AppData/Local/Temp/msohtmlclip1/01/clip_image008.jpg file:///C:/Users/ADMINI~1/AppData/Local/Temp/msohtmlclip1/01/clip_image010.jpg
) W# _, K( v4 K, l- R; j% L) U
|