主图源码:
参数:M1:1、300、7
M2:1、300、21
M3:1、300、250
MA1:EMA(CLOSE,M1),COLORWHITE,LINETHICK1;
MA2:EMA(CLOSE,M2),COLORRED,LINETHICK1;
MA3:EMA(CLOSE,M3),COLORYELLOW,LINETHICK1;
工作线: EMA(CLOSE,M1),COLORWHITE,LINETHICK1;
神秘线: EMA(CLOSE,M2),COLORRED,LINETHICK1;
生命线:EMA(CLOSE,M3),COLORWHITE,LINETHICK1;
DRAWTEXT(CROSS(工作线,神秘线),工作线,'★建仓') ,COLORYELLOW;
DRAWTEXT(CROSS(神秘线,工作线),神秘线,'★空仓') ,COLORGREEN;
LC:=REF(CLOSE,3);
JH:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT(FILTER(CROSS(JH,30),55),LOW*0.98,'↑关注'),COLORYELLOW,LINETHICK1;
DRAWTEXT(FILTER(CROSS(84,JH),22),HIGH*1.02,'↓小心'),COLOR00FF00;
[ 本帖最后由 平易吉祥 于 2013-3-26 17:53 编辑 ]
www.55188.com