雷公线用于判断股价高低;
雷公柱用于判断个股量能。
{彩色雷公柱}
a:=(CLOSE-ma(CLOSE,13))/ma(CLOSE,13)*100,LINETHICK0,COLORYELLOW;
雷公线 :(CLOSE-ma(CLOSE,52))/ma(CLOSE,52)*100,LINESTICK,COLORGRAY;
b:=(CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*100,LINETHICK0,colorwhite;
雷公柱:sma(a,3,1),LINETHICK0,COLORRED;
MACD1:=sma(b,3,1),LINETHICK0,colorstick;
STICKLINE(雷公柱<ref(雷公柱,1)and 雷公柱>0,0,雷公柱,8,0),COLOR0000AA;
STICKLINE(雷公柱<ref(雷公柱,1)and 雷公柱>0,0,雷公柱,5,0),COLOR0000CC;
STICKLINE(雷公柱<ref(雷公柱,1)and 雷公柱>0,0,雷公柱,3,0),COLOR0000DD;
STICKLINE(雷公柱<ref(雷公柱,1)and 雷公柱>0,0,雷公柱,2,0),COLOR0000FF;
STICKLINE(雷公柱>ref(雷公柱,1)and 雷公柱>0,0,雷公柱,8,0),COLOR0000AA;
STICKLINE(雷公柱>ref(雷公柱,1)and 雷公柱>0,0,雷公柱,5,0),COLOR0000CC;
STICKLINE(雷公柱>ref(雷公柱,1)and 雷公柱>0,0,雷公柱,3,0),COLOR0000DD;
STICKLINE(雷公柱>ref(雷公柱,1)and 雷公柱>0,0,雷公柱,2,0),COLOR0000FF;
STICKLINE(MACD1<ref(MACD1,1) and MACD1>0,0,MACD1,9,0),COLOR0000FF;
STICKLINE(MACD1<ref(MACD1,1) and MACD1>0,0,MACD1,7,0),COLOR0033FF;
STICKLINE(MACD1<ref(MACD1,1) and MACD1>0,0,MACD1,6,0),COLOR0055FF;
STICKLINE(MACD1<ref(MACD1,1) and MACD1>0,0,MACD1,5,0),COLOR0077FF;
STICKLINE(MACD1<ref(MACD1,1) and MACD1>0,0,MACD1,4,0),COLOR0099FF;
STICKLINE(MACD1<ref(MACD1,1) and MACD1>0,0,MACD1,3,0),COLOR00BBFF;
STICKLINE(MACD1<ref(MACD1,1) and MACD1>0,0,MACD1,2,0),COLOR00DDFF;
STICKLINE(MACD1<ref(MACD1,1) and MACD1>0,0,MACD1,1,0),COLOR00FFFF;
STICKLINE(雷公柱>ref(雷公柱,1)and 雷公柱<0,0,雷公柱,8,0),COLORBLUE;
STICKLINE(雷公柱>ref(雷公柱,1)and 雷公柱<0,0,雷公柱,6,0),COLORFF5500;
STICKLINE(雷公柱>ref(雷公柱,1)and 雷公柱<0,0,雷公柱,5,0),COLORFF7700;
STICKLINE(雷公柱>ref(雷公柱,1)and 雷公柱<0,0,雷公柱,3,0),COLORFFBB00;
STICKLINE(雷公柱>ref(雷公柱,1)and 雷公柱<0,0,雷公柱,1,0),COLORFFFF00;
STICKLINE(雷公柱<ref(雷公柱,1)and 雷公柱<0,0,雷公柱,8,0),COLORBLUE;
STICKLINE(雷公柱<ref(雷公柱,1)and 雷公柱<0,0,雷公柱,6,0),COLORFF5500;
STICKLINE(雷公柱<ref(雷公柱,1)and 雷公柱<0,0,雷公柱,5,0),COLORFF7700;
STICKLINE(雷公柱<ref(雷公柱,1)and 雷公柱<0,0,雷公柱,3,0),COLORFFBB00;
STICKLINE(雷公柱<ref(雷公柱,1)and 雷公柱<0,0,雷公柱,1,0),COLORFFFF00;
STICKLINE(MACD1>ref(MACD1,1)and MACD1<0,0,MACD1,9,0),COLOR998855;
STICKLINE(MACD1>ref(MACD1,1)and MACD1<0,0,MACD1,6,0),COLORBBAA77;
STICKLINE(MACD1>ref(MACD1,1)and MACD1<0,0,MACD1,3,0),COLORDDCC99;
STICKLINE(MACD1>ref(MACD1,1)and MACD1<0,0,MACD1,1,0),COLORFFEEBB;
|