大智慧简单2号副图源码
{线:判高低}
{柱:判量能}
DRAWGBKLAST(DATE>900101,STRIP(RGB(5,115,5),RGB(0,0,0),0));
短線線:=(CLOSE-ma(CLOSE,13))/ma(CLOSE,13)*100;
長線線:(CLOSE-ma(CLOSE,52))/ma(CLOSE,52)*100,LINETHICK2,COLORMAGENTA;
中線線:(CLOSE-ma(CLOSE,26))/ma(CLOSE,26)*100,LINESTICK,LINETHICK1,COLORGRAY;
極短線 :=(CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*100;
超線線:=(CLOSE-ma(CLOSE,104))/ma(CLOSE,104)*100;
柱:sma(短線線,3,1),LINETHICK0,COLORYELLOW;
反柱:=sma(極短線,3,1);
{紅柱持股}
STICKLINE(柱<ref(柱,1)and 柱>0,0,柱,8,0),COLOR0000AA;
STICKLINE(柱<ref(柱,1)and 柱>0,0,柱,8,0),COLOR0000AA;
STICKLINE(柱<ref(柱,1)and 柱>0,0,柱,7,0),COLOR0000BB;
STICKLINE(柱<ref(柱,1)and 柱>0,0,柱,6,0),COLOR0000CC;
STICKLINE(柱<ref(柱,1)and 柱>0,0,柱,5,0),COLOR0000DD;
STICKLINE(柱<ref(柱,1)and 柱>0,0,柱,4,0),COLOR0000EE;
STICKLINE(柱<ref(柱,1)and 柱>0,0,柱,3,0),COLOR0000FF;
STICKLINE(柱<ref(柱,1)and 柱>0,0,柱,2,0),COLORRED;
STICKLINE(柱>ref(柱,1)and 柱>0,0,柱,8,0),COLOR0000AA;
STICKLINE(柱>ref(柱,1)and 柱>0,0,柱,7,0),COLOR0000BB;
STICKLINE(柱>ref(柱,1)and 柱>0,0,柱,6,0),COLOR0000CC;
STICKLINE(柱>ref(柱,1)and 柱>0,0,柱,5,0),COLOR0000DD;
STICKLINE(柱>ref(柱,1)and 柱>0,0,柱,3,0),COLOR0000FF;
STICKLINE(柱>ref(柱,1)and 柱>0,0,柱,2,0),COLORRED;
{反柱金色}
STICKLINE(反柱<ref(反柱,1) and 反柱>0,0,反柱,7,0),COLOR0033FF;
STICKLINE(反柱<ref(反柱,1) and 反柱>0,0,反柱,6,0),COLOR0055FF;
STICKLINE(反柱<ref(反柱,1) and 反柱>0,0,反柱,5,0),COLOR0077FF;
STICKLINE(反柱<ref(反柱,1) and 反柱>0,0,反柱,3,0),COLOR00BBFF;
STICKLINE(反柱<ref(反柱,1) and 反柱>0,0,反柱,2,0),COLOR00DDFF;
{藍柱}
STICKLINE(柱>ref(柱,1)and 柱<0,0,柱,8,0),COLORFF0000;
STICKLINE(柱>ref(柱,1)and 柱<0,0,柱,7,0),COLORFF3300;
STICKLINE(柱>ref(柱,1)and 柱<0,0,柱,6,0),COLORFF5500;
STICKLINE(柱>ref(柱,1)and 柱<0,0,柱,5,0),COLORFF7700;
STICKLINE(柱>ref(柱,1)and 柱<0,0,柱,4,0),COLORFF9900;
STICKLINE(柱>ref(柱,1)and 柱<0,0,柱,3,0),COLORFFBB00;
STICKLINE(柱>ref(柱,1)and 柱<0,0,柱,2,0),COLORFFDD00;
STICKLINE(柱>ref(柱,1)and 柱<0,0,柱,1,0),COLORFFFF00;
STICKLINE(柱<ref(柱,1)and 柱<0,0,柱,8,0),COLORFF0000;
STICKLINE(柱<ref(柱,1)and 柱<0,0,柱,7,0),COLORFF3300;
STICKLINE(柱<ref(柱,1)and 柱<0,0,柱,6,0),COLORFF5500;
STICKLINE(柱<ref(柱,1)and 柱<0,0,柱,5,0),COLORFF7700;
STICKLINE(柱<ref(柱,1)and 柱<0,0,柱,4,0),COLORFF9900;
STICKLINE(柱<ref(柱,1)and 柱<0,0,柱,3,0),COLORFFBB00;
STICKLINE(柱<ref(柱,1)and 柱<0,0,柱,2,0),COLORFFDD00;
STICKLINE(柱<ref(柱,1)and 柱<0,0,柱,1,0),COLORFFFF00;
STICKLINE(反柱>ref(反柱,1)and 反柱<0,0,反柱,9,0),COLOR998855;
STICKLINE(反柱>ref(反柱,1)and 反柱<0,0,反柱,6,0),COLORBBAA77;
STICKLINE(反柱>ref(反柱,1)and 反柱<0,0,反柱,3,0),COLORDDCC99;
STICKLINE(反柱>ref(反柱,1)and 反柱<0,0,反柱,1,0),COLORFFEEBB;