发现机会
2015-11-19 12:17:21点击:
收盘:ema(c,15),colorcyan, linethick2;
长底:llv(收盘,1000),colorcyan, linethick1;
长顶:hhv(收盘,1000),colorcyan, linethick1;
中线:(长底+长顶)/2,colorcyan, linethick1;
上中线:(中线+长顶)/2,colorcyan, linethick1;
下中线:(长底+中线)/2,colorcyan, linethick1;
PARTLINE(收盘>=上中线,上中线),colorred,linethick6;
PARTLINE(收盘<下中线,下中线),colorgreen,linethick6;
FILLRGN(收盘,中线,收盘>=中线,RGB(255,0,0));
FILLRGN(收盘,上中线,收盘>=上中线,RGB(255,0,255));
FILLRGN(收盘,中线,收盘<中线,RGB(0,255,0));
FILLRGN(收盘,下中线,收盘<下中线,RGB(0,0,255));