一个是日K线的图,一个是30分钟的图。
代码如下:
C1:=10000*CLOSE/INDEXC;
H1:=10000*HIGH/INDEXH;
L1:=10000*LOW/INDEXL;
O1:=10000*OPEN/INDEXO;
M5:MA(C1,5),COLORRED;
M10:MA(C1,10),COLORGREEN;
五日幅度C1-REF(C1,5))/REF(C1,5)*100,COLORRED,NODRAW;
十日幅度C1-REF(C1,10))/REF(C1,10)*100,COLORYELLOW,NODRAW;
STICKLINE(C1>O1,H1,L1,0,1),COLORRED;
STICKLINE(C1>O1,O1,C1,3.1,0),COLOR000033;
STICKLINE(C1>O1,O1,C1,2.7,0),COLOR000066;
STICKLINE(C1>O1,O1,C1,2.1,0),COLOR000099;
STICKLINE(C1>O1,O1,C1,1.5,0),COLOR0000CC;
STICKLINE(C1>O1,O1,C1,0.9,0),COLOR0000FF;
STICKLINE(C1>O1,O1,C1,0.3,0),COLORCC66FF;
STICKLINE(C1<O1,H1,L1,0,1),COLORCYAN;
STICKLINE(C1<O1,O1,C1,3.1,0),COLOR990000;
STICKLINE(C1<O1,O1,C1,2.7,0),COLORCC0000;
STICKLINE(C1<O1,O1,C1,2.1,0),COLORFF4400;
STICKLINE(C1<O1,O1,C1,1.5,0),COLORFF8800;
STICKLINE(C1<O1,O1,C1,0.9,0),COLORFFCC00;
STICKLINE(C1<O1,O1,C1,0.3,0),COLORCYAN;
STICKLINE(C1=O1,H1,L1,0,1),COLORWHITE;
STICKLINE(C1=O1,O1,C1,3.1,0),COLOR555555;
STICKLINE(C1=O1,O1,C1,2.7,0),COLOR777777;
STICKLINE(C1=O1,O1,C1,2.1,0),COLOR999999;
STICKLINE(C1=O1,O1,C1,1.5,0),COLORBBBBBB;
STICKLINE(C1=O1,O1,C1,0.9,0),COLORDDDDDD;
STICKLINE(C1=O1,O1,C1,0.3,0),COLORFFFFFF;
我取的名称为 主力K线,网络上为机构K线
大家觉的好,给我加分吧,做股就做强势股。
转载请注明出自股海明灯论坛 http://www.178448.com/,本贴地址:http://www.178448.com/thread-115666-1-1.html |