同花顺上证指数K线副图 头顶肩形式
-
相关简介:同花顺上证指数K线副图 头顶肩形式 源码 //大盘// 指数:INDEXC,NODRAW; DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC); //K线引线化美化// STICKLINE(INDEXC=INDEXO,INDEXH,INDEXL,0,0),colorred; STICKLINE(INDEXC=INDEXO,INDEXC,INDEXO,0,0),colorred; STICKLINE(INDEXCINDEXO,INDEXH,INDEXL,0,0),colo
-
文章来源:股海网作者:股海网发布时间:2015-09-19浏览次数:
同花顺上证指数K线副图 头顶肩形式
源码
//大盘//
指数:INDEXC,NODRAW;
DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);
//K线引线化美化//
STICKLINE(INDEXC>=INDEXO,INDEXH,INDEXL,0,0),colorred;
STICKLINE(INDEXC>=INDEXO,INDEXC,INDEXO,0,0),colorred;
STICKLINE(INDEXC<INDEXO,INDEXH,INDEXL,0,0),colorgreen;
STICKLINE(INDEXC<INDEXO,INDEXC,INDEXO,0,0),colorgreen;
//均线//
MA$1:MA(INDEXC,N1);
MA$2:MA(INDEXC,N2);
MA$3:MA(INDEXC,N3);
MA$4:MA(INDEXC,N4);
MA$5:MA(INDEXC,N5);
MA$6:MA(INDEXC,N6);
MA$7:MA(INDEXC,N7);
MA$8:MA(INDEXC,N8);
//背景色渐变美化//
DRAWGBKLAST(CLOSE>OPEN,STRIP(RGB(100,20,1000),RGB(80,0,0),1));
DRAWGBKLAST(CLOSE<OPEN,STRIP(RGB(80,0,0),RGB(100,20,1000),1));
DRAWGBKLAST(CLOSE=OPEN,"安妮.jpg");