源码
{十二星座·神獒赢富机构版排序系统}
{㊣神獒K线}
DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));
a1:=((INDEXC - (REF(INDEXC,1))) / (REF(INDEXC,1))) * 100;
a2:=((CLOSE - (REF(CLOSE,1))) / (REF(CLOSE,1))) * 100;
a3:=(EMA((a2 - a1),20)) * 1000;
a4:=REF(a3,1);
a5:=(a3);
STICKLINE((a3 > 0),a4,a3,8,0),colorRed;
STICKLINE((a3 < 0),a4,a3,8,0),colorGreen;
a6:=(a3 > a4) AND (a3 < 0);
STICKLINE((a3 < 0),a4,a5,8,0),colorGreen;
STICKLINE((a3 < 0),a4,a5,7,0),Color28FF28;
STICKLINE((a3 < 0),a4,a5,6,0),Color3DFF3D;
STICKLINE((a3 < 0),a4,a5,5,0),Color51FF51;
STICKLINE((a3 < 0),a4,a5,4,0),Color65FF65;
STICKLINE((a3 < 0),a4,a5,3,0),Color7AFF7A;
STICKLINE((a3 < 0),a4,a5,2,0),Color8EFF8E;
STICKLINE((a3 < 0),a4,a5,1,0),ColorA2FFA2;
STICKLINE((a3 > 0),a4,a5,8,0),colorRed;
STICKLINE((a3 > 0),a4,a5,7,0),Color1414FF;
STICKLINE((a3 > 0),a4,a5,6,0),Color2828FF;
STICKLINE((a3 > 0),a4,a5,5,0),Color3D3DFF;
STICKLINE((a3 > 0),a4,a5,4,0),Color5151FF;
STICKLINE((a3 > 0),a4,a5,3,0),Color6565FF;
STICKLINE((a3 > 0),a4,a5,2,0),Color7A7AFF;
STICKLINE((a3 > 0),a4,a5,1,0),Color8E8EFF;
资金趋势:MA(a3,8);
0,ColorFF0000;
DRAWTEXTREL(10,800,'㊣十二星座*神獒赢富㊣'),linethick1,COLOR00EEff;
==================================================================================================
{股东K线}{副图}{大智慧L2新一代公式}
input:N1(5,1,10),N2(10,1,20);
DRAWTEXTABS(2,0,' 红色柱体越高 股东人数减少越多 筹码越集中'),linethick1,colorRed;
DRAWTEXTABS(2,0,'蓝色柱体越高 股东人数增加越多'),linethick1,ColorFF6600;
a1:=REVERSE((ORDER(2) - ORDER(1)));
股东变化:SUM(a1,0),linethick0;
筹码动力1:MA(股东变化,N1),linethick1,colorYellow;
筹码动力2:MA(股东变化,N2),linethick1,ColorFF0000;
a2:=(股东变化);
STICKLINE((a2 <= (REF(a2,1))),a2,(REF(a2,1)),2,0),colorRed;
STICKLINE((a2 > (REF(a2,1))),a2,(REF(a2,1)),2,0),ColorA4BC00;
STICKLINE((a2 > (REF(a2,1))),a2,(REF(a2,1)),4,0),linethick2,ColorFF6600;
STICKLINE((a2 > (REF(a2,1))),a2,(REF(a2,1)),3,0),linethick2,ColorFF9900;
STICKLINE((a2 > (REF(a2,1))),a2,(REF(a2,1)),1.5,0),linethick2,ColorFFCC00;
STICKLINE((a2 > (REF(a2,1))),a2,(REF(a2,1)),0.5,0),linethick2,ColorF0F000;
STICKLINE((a2 <= (REF(a2,1))),a2,(REF(a2,1)),4,0),linethick2,Color000099;
STICKLINE((a2 <= (REF(a2,1))),a2,(REF(a2,1)),3,0),linethick2,Color0000CC;
STICKLINE((a2 <= (REF(a2,1))),a2,(REF(a2,1)),1.5,0),linethick2,colorRed;
STICKLINE((a2 <= (REF(a2,1))),a2,(REF(a2,1)),0.5,0),linethick2,ColorCC66FF;
DRAWTEXTREL(10,800,'㊣十二星座*神獒赢富㊣'),linethick1,COLOR00EEff;
DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));
==================================================================================================
{主力K线}{副图}{大智慧L2新一代公式}
input:N1(5,1,20),N2(10,1,120);
a1:=(BIGORDER(1,2)) - (BIGORDER(2,2));
a2:=(BIGORDER(1,1)) - (BIGORDER(2,1));
a3:=(BIGORDER(1,3)) - (BIGORDER(2,3));
a4:=a1 * VOL;
a5:=a2 * VOL;
a6:=a3 * VOL;
a7:=(((a4 * 6) + a5) + (a6 * 3)) / 10;
主力动力:SUM(a7,0),linethick0;
动力线1:MA(主力动力,N1),linethick1,colorWhite;
动力线2:MA(主力动力,N2),linethick1,colorYellow;
a8:=(主力动力);
STICKLINE((a8 <= (REF(a8,1))),a8,(REF(a8,1)),0,0),colorGreen;
STICKLINE((a8 <= (REF(a8,1))),a8,(REF(a8,1)),8,0),Color008800;
STICKLINE((a8 <= (REF(a8,1))),a8,(REF(a8,1)),7,0),Color009900;
STICKLINE((a8 <= (REF(a8,1))),a8,(REF(a8,1)),6,0),Color00AA00;
STICKLINE((a8 <= (REF(a8,1))),a8,(REF(a8,1)),5,0),Color00BB00;
STICKLINE((a8 <= (REF(a8,1))),a8,(REF(a8,1)),4,0),Color00CC00;
STICKLINE((a8 <= (REF(a8,1))),a8,(REF(a8,1)),3,0),Color00DD00;
STICKLINE((a8 <= (REF(a8,1))),a8,(REF(a8,1)),2,0),Color00EE00;
STICKLINE((a8 <= (REF(a8,1))),a8,(REF(a8,1)),1,0),colorGreen;
STICKLINE((a8 > (REF(a8,1))),a8,(REF(a8,1)),8,0),colorRed;
STICKLINE((a8 > (REF(a8,1))),a8,(REF(a8,1)),7,0),Color3300FF;
STICKLINE((a8 > (REF(a8,1))),a8,(REF(a8,1)),6,0),Color3300FF;
STICKLINE((a8 > (REF(a8,1))),a8,(REF(a8,1)),5,0),Color6600FF;
STICKLINE((a8 > (REF(a8,1))),a8,(REF(a8,1)),4,0),Color6600FF;
STICKLINE((a8 > (REF(a8,1))),a8,(REF(a8,1)),3,0),Color9900FF;
STICKLINE((a8 > (REF(a8,1))),a8,(REF(a8,1)),2,0),ColorCC00FF;
STICKLINE((a8 > (REF(a8,1))),a8,(REF(a8,1)),1,0),colorMagenta;
STICKLINE((a8 > (REF(a8,1))),a8,(REF(a8,1)),0.2,0),colorMagenta;
DRAWTEXTREL(10,800,'㊣十二星座*神獒赢富㊣'),linethick1,COLOR00EEff;
DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));