公式解读:
DRAWGBKLAST(CLOSE0,STRIP(RGB(70,70,70),RGB(50,50,50),1));
日涨跌幅差:((C/REF(C,1)-1)-(INDEXC/REF(INDEXC,1)-1))*100,COLOR00ffff;
五日涨跌差:((C/REF(C,5)-1)-(INDEXC/REF(INDEXC,5)-1))*100,COLORffff00;
十日涨跌差:((C/REF(C,10)-1)-(INDEXC/REF(INDEXC,10)-1))*100,COLOR999999;
PARTLINE(十日涨跌差,十日涨跌差=REF(十日涨跌差,1),RGB(255,0,0),十日涨跌差REF(十日涨跌差,1),RGB(0,255,0)),linethick2;
STICKLINE(五日涨跌差0,0,五日涨跌差,8,1),COLOR0000ff;
STICKLINE(五日涨跌差0,0,五日涨跌差,8,1),COLOR00ffff;
STICKLINE(日涨跌幅差0,0,日涨跌幅差,5,0),COLORff00bb;
STICKLINE(日涨跌幅差0,0,日涨跌幅差,4,0),COLORff00cc;
STICKLINE(日涨跌幅差0,0,日涨跌幅差,3,0),COLORff00dd;
STICKLINE(日涨跌幅差0,0,日涨跌幅差,2,0),COLORff00ee;
STICKLINE(日涨跌幅差0,0,日涨跌幅差,1,0),COLORff00ff;
STICKLINE(日涨跌幅差0,0,日涨跌幅差,5,0),COLOR777700;
STICKLINE(日涨跌幅差0,0,日涨跌幅差,4,0),COLOR999900;
STICKLINE(日涨跌幅差0,0,日涨跌幅差,3,0),COLORbbbb00;
STICKLINE(日涨跌幅差0,0,日涨跌幅差,2,0),COLORdddd00;
STICKLINE(日涨跌幅差0,0,日涨跌幅差,1,0),COLORffff00;
十线:10,COLOR00ffff;
负十线:-10,COLOR00ff00;
零:0,COLORcccccc;
jv:=AMOUNT/10000;
成交金额:=jv/1000,colorffffff;
VAR1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));
成交:=VOL;
买盘:=IF((CLOSE OPEN),(VAR1 * (HIGH - LOW)),IF((CLOSE OPEN),(VAR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));
卖盘:=IF((CLOSE OPEN),(0 - (VAR1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL / 2))));
差:=(买盘 + 卖盘)/100000;
DDX:=(卖盘-买盘)/(买盘+卖盘)*100/CAPITAL;
D1:=EMA(ABS(DDX),60);
D2:=MAX(DDX/D1+7.5,7.5);
量能值:-MIN(DDX/D1,10)*5,POINTDOT,COLOR0000ff;
高位卖:(买盘-卖盘)/(买盘),COLOR00ff00,POINTDOT;
低位买:(买卖差/成交金额),COLORff00ff,POINTDOT;
STICKLINE(低位买0,0,低位买,6,1),COLORff00ff;
STICKLINE(低位买0,0,低位买,6,0),COLORffff00;
STICKLINE(高位卖0,0,高位卖,6,1),COLOR00ff00;
STICKLINE(高位卖0,0,高位卖,6,0),COLOR00ff00;
STICKLINE(量能值0,0,量能值,5,0),COLOR0000ff;
STICKLINE(量能值0,0,量能值,5,0),COLORff0000;
A:=EMA(CLOSE,13);
多空力道:=((H-A+L-A)*64);
STICKLINE(多空力道0,0,多空力道,8,0),colorred;
STICKLINE(多空力道0,多空力道,0,8,0),colorgreen;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
AR:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;
卖点雷达:CROSS(85,RSI1)*30;
DRAWTEXT(CROSS(85,RSI1),80, #39;顶 #39;);
Varb:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;
Varc:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
Vard:=BARSCOUNT(CLOSE);
买点雷达:(Varb 20 AND Varc 25 AND Vard 50 AND AR70 AND VOL DRAWTEXT(CROSS(RSI1,25),-100, #39;底 #39;);
:EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5,colorred;
:EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5,colorgreen;
DRAWTEXT(CROSS(主力,散户) AND 主力-10,-60, #39;升 #39;);
DRAWICON(CROSS(主力,散户) AND 主力-10 AND 散户REF(散户,1) OR CROSS(主力,散户) AND 散户-35 ,-15,2);
DRAWTEXT(CROSS(RSI1,20)AND 散户-20 AND 买点雷达 ,-60, #39;底 #39;);
总手:VOL;
zz:=IF(REF(C,1)REF(O,1) AND OREF(C,1)*1.014 AND CO*1.02,1,3);
v5:=MA(V,5);
v12:=MA(V,12);
V34:=MA(V,34);
C6:=MA(C,6);
STICKLINE(C,0,VOL,8,0),RGB(51,51,51);
STICKLINE(CROSS(C,C6) AND Vv5*1.2 AND Vv12*1.2 AND zz2 AND CH*0.975,0,VOL,8,0),RGB(255,0,0);
STICKLINE(CROSS(C6,C) AND Vv5*1.2 AND Vv12*1.2,0,VOL,8,0),RGB(0,255,0);
STICKLINE(VOLMA(VOL,5)*2 AND VV34*3 AND CREF(C,1)*1.05,0,VOL,8,0),RGB(255,187,0);
STICKLINE(VOLMA(VOL,5)/2 AND Vv12/2,0,VOL,8,0),RGB(0,102,255);
STICKLINE(VOLMA(VOL,5)*2 AND VV34*3 AND CREF(C,1)*1.05 AND CROSS(C,C6) AND Vv5*1.2 AND Vv12*1.2 AND zz2 AND CH*0.975,VOL*0.5,0,8,0),RGB(255,0,0);
STICKLINE(VOLMA(VOL,5)*2 AND VV34*3 AND CREF(C,1)*1.05 AND CROSS(C6,C) AND Vv5*1.2 AND Vv12*1.2,VOL*0.5,0,8,0),RGB(0,255,0);
DRAWTEXT (VOLMA(VOL,5)*2 AND VV34*3 AND CREF(C,1)*1.05,V, #39;天 #39;),colorwhite;
DRAWTEXT (VOLMA(VOL,5)/2 AND Vv12/2,(V5+V)/2, #39;地 #39;),colorwhite;
DRAWTEXT (CROSS(C,C6) AND Vv5*1.2 AND Vv12*1.2 AND zz2 AND CH*0.975,0, #39;吸 #39;),colorwhite;
DRAWTEXT (CROSS(C6,C) AND Vv5*1.2 AND Vv12*1.2,0, #39;出 #39;),colorwhite;
IF(10)
{说明:红色量柱为吸货量,绿色为出货量,黄色为天量,蓝色为地量。;
RETURN;}