源码
DRAWGBK(V>1,STRIP(RGB(60,100,255),RGB(180,180,255),1));
Var1:=(2*C+H+L)/4;
Var2:=LLV(LOW,14);
大趋势:=HHV(HIGH,14);
B:=EMA((Var1-Var2)/(大趋势-Var2)*100,8);
判顶底:=EMA(B,4);
FILLRGN(判顶底,REF(判顶底,1),判顶底>REF(判顶底,1),RGB(255,0,0),判顶底<REF(判顶底,1),RGB(0,255,0));
红黄持股:IF(判顶底>0,判顶底,0),colorred;
绿蓝持币:判顶底,colorgreen;
STICKLINE(红黄持股>红黄持股 OR 红黄持股>REF(红黄持股,1),100,0,10,0),ColorFF4AA5;
STICKLINE(绿蓝持币<绿蓝持币 OR 绿蓝持币<REF(绿蓝持币,1),50,0,10),Color418060;
STICKLINE(B>0 AND B-判顶底>=0,79,75,6,0),colorred;
STICKLINE(B>0 AND B-判顶底<0,79,75,6,0),COLORFF0000;
STICKLINE(B>0 AND B-判顶底>=0,49,45,6,0),color10FFFF;
STICKLINE(B>0 AND B-判顶底<0,49,45,6,0),COLORFF0000;
STICKLINE(B>0 AND B-判顶底>=0,19,15,6,0),colorred;
STICKLINE(B>0 AND B-判顶底<0,19,15,6,0),COLORFF0000;
STICKLINE(B-判顶底>0,B,判顶底, 8,0), color0099FF;
STICKLINE(B-判顶底>0,B,判顶底, 7,0), color00AAFF;
STICKLINE(B-判顶底>0,B,判顶底, 6,0), color00BBFF;
STICKLINE(B-判顶底>0,B,判顶底, 5,0), color00CCFF;
STICKLINE(B-判顶底>0,B,判顶底, 4,0), color00DDFF;
STICKLINE(B-判顶底>0,B,判顶底, 3,0), color00EEFF;
STICKLINE(B-判顶底>0,B,判顶底, 2,0), color00FFFF;
STICKLINE(B-判顶底<0,B,判顶底,8,0), colorFF255C;
STICKLINE(B-判顶底<0,B,判顶底,7,0), colorFF147C;
STICKLINE(B-判顶底<0,B,判顶底,6,0), colorFF5B84;
STICKLINE(B-判顶底<0,B,判顶底,5,0), colorFF747C;
STICKLINE(B-判顶底<0,B,判顶底,4,0), colorFF887C;
STICKLINE(B-判顶底<0,B,判顶底,3,0), colorFFAC10;
STICKLINE(B-判顶底<0,B,判顶底,2,0), colorFFD110;