天道财富网-中国最全面的股票知识学习交流平台!

大智慧指标公式

大智慧大趋势主图指标公式

tt:=BARSCOUNT(C);

CC:=(h+l+2*c)/4;

zz:=SUM(cc*v,0)/SUM(VOL,0);

多空线:ema(cc*v,50)/ema(v,50),coloryellow,linethick0;

PARTLINE(多空线,多空线>ref(多空线,1),RGB(255,255,0),多空线

生命线:zz,COLOR0099ff,LINETHICK2;

压力:zz + 2.1*AVEDEV(C,tt),colorgreen,LINETHICK2;

支撑:zz - 2.1*AVEDEV(C,tt),colorgreen,LINETHICK2;

上轨:zz + 1.3*AVEDEV(C,tt),colorff00ff,LINETHICK2;

下轨:zz - 1.3*AVEDEV(C,tt),colorff00ff,LINETHICK2;

drawtext(cross(多空线,压力),压力,'疯牛'),coloryellow;

drawtext(多空线>压力 and cross(多空线,c),h,'★'),color00ff00;

drawtext(cross(压力,多空线),压力,'主跌'),coloryellow;

drawtext(cross(多空线,zz),zz,'上升'),coloryellow;

drawtext(cross(zz,多空线),zz,'下跌'),coloryellow;

drawtext(cross(支撑,多空线),支撑,'疯熊'),coloryellow;