以下是大智慧多空趋势公式

大智慧多空趋势公式

AVPRICE:=(2*OPEN+2*CLOSE+2*HIGH+2*LOW)/8;
INDEXAVP:=(2*INDEXH+2*INDEXL+2*INDEXO+2*INDEXC)/8;
F:=(AVPRICE – REF(AVPRICE,1))/REF(AVPRICE,1);
F1:=(INDEXAVP – REF(INDEXAVP,1))/REF(INDEXAVP,1);
类比参数3:=(SUM(F,10) + SUM(F1,10))/10*1000;
类比大盘参数:=IF(类比参数3 > 0,类比参数3,0);
类比参数2:=IF(类比参数3 < 0,-类比参数3,0);
STICKLINE(类比参数2 AND (150 – 类比参数2)>0,150,150 – 类比参数2,8,0),CulorFFFF00;
STICKLINE(类比大盘参数 AND (150 – 类比大盘参数)>0,150,150 – 类比大盘参数,8,0),CulorFF00FF;
{量能}
AA:=AVPRICE;
BB:=(VOL*(AA*2 – HIGH – LOW)/(HIGH – LOW));
CC:=IF((HIGH = LOW) and (AA < REF(AA,1)),(-1)*VOL,VOL);
A:=IF((HIGH = LOW),CC,BB);
B:=SUM(A,11);
BBD:=((B/(CAPITAL*11))*10000);
BB1:=IF((BBD < 150) and (BBD > (-150)),BBD,150);
买方能量指标:=IF((BB1 > 0),BB1,0);
STICKLINE((BB1 > 0),0,买方能量指标,6,0),color00FFFF;
STICKLINE((BB1 < 0),0,(-BB1),6,0),Culor00CC00;
主动买量:IF((BB1 > 0),BB1,0),PRECIS1,color00FFFF,LINETHICK0;
主动卖量:IF((BB1<0),BB1,0),PRECIS1,Culor00CC00,LINETHICK0;
{界面}
A16:=(SUM((AVPRICE)*(VOL),16))/(SUM(VOL,16));
A11:=(SUM((AVPRICE)*(VOL),11))/(SUM(VOL,11));
A6:=(SUM((AVPRICE)*(VOL),6))/(SUM(VOL,6));
A7:=(SUM((AVPRICE)*(VOL),7) – (AVPRICE)*(VOL))/(SUM(VOL,7) – VOL);
A0:=((A11 – A16)/(AVPRICE))*(1000);
A00:=IF((A0 > 50),50,IF((A0 < (-50)),(-50),A0));
A1:=((A6 – A11)/(AVPRICE))*(1000);
AA11:=IF((A1 > 50),50,IF((A1 < (-50)),(-50),A1));
A2:=((((A6 – A7)/(A7))*(5))/(4))*(1000);
A22:=IF((A2 > 50),50,IF((A2 < (-50)),(-50),A2));
刻度线3:=(A00 + AA11 + A22);
趋势线:=IF((刻度线3 > 0),刻度线3,0);
兰刻度线:=IF((刻度线3 < 0),刻度线3,0);
做多趋势:趋势线,LAYER1,PRECIS1,Culor0000ff;
做空趋势:(-兰刻度线),LAYER1,PRECIS1,culoRFF0000;
STICKLINE(趋势线,0,趋势线,3,0),culoR0000FF;
STICKLINE(兰刻度线,0,(-兰刻度线),3,0),CulorFF0000;
强弱界:50,DOTLINE,PRECIS1,Culorffffff;
触顶线:145,PRECIS1,LAYER1,COLOR0000FF,LINETHICK2;
大盘顶线:90,PRECIS1,COLOR00FFFF,LINETHICK2;
启动线:20,DOTLINE,PRECIS1,COLORCCFF00;
STICKLINE(趋势线>触顶线,130,150,8,0),culoRFF0000;
DRAWICON(趋势线>触顶线,150,2),LAYER0;
STICKLINE(-兰刻度线>触顶线,130,150,8,0),Culor0000FF;
DRAWICON(-兰刻度线>触顶线,150,1),LAYER0;
STICKLINE(趋势线>大盘顶线 AND HHV(趋势线,3)<102,0,-8,14,0),COLORFFFF00;
STICKLINE(-兰刻度线>大盘顶线 AND HHV(-兰刻度线,3)<102,0,-8,14,0),COLORFF00FF;
 

 

===========

操盘趋势
操盘趋势:MA(CLOSE,3),LINETHICK2,colorFF00FF;
买点:=IF(REF(操盘趋势,2) >REF(操盘趋势,1) AND 操盘趋势>REF(操盘趋势,1),1,0);

持仓线:MA(HIGH,21);
空仓线:MA(LOW,21);
 

 

============

主力极限
VAR1:=MA(CLOSE,20);
VAR2:=(CLOSE-VAR1)/STD(CLOSE,20)*100;
A:EMA(VAR2,3),LINETHICK2,colorFF00FF;
B:VAR2,COLORGREEN,LINETHICK2;
买点A:= A>REF(A,1);
买点B:= B>REF(B,1);
买点:(买点A=1 AND 买点B=1);
 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。