通达信成本均线主图指标公式,通达信成本重心指标公式
admin888
|通达信成本均线主图指标公式,通达信成本重心指标公式
通达信成本均线主图指标公式
N:=5;
M:=35;
VAR1:=SMA(maX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),M,1);
VAR2:=HIGH-REF(HIGH,1);
VAR3:=REF(LOW,1)-LOW;
VAR4:=SMA(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),M,1);
VAR5:=SMA(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),M,1);
VAR6:=VAR4*100/VAR1;
VAR7:=VAR5*100/VAR1;
VAR8:=SMA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,M,1);
VAR9:=(VAR8+REF(VAR8,N))/2;
VARA:=SUM(HIGH-OPEN,M)/SUM(OPEN-LOW,M)*100;
VARB:=SUM(MAX(0,HIGH-REF(CLOSE,1)),M)/SUM(MAX(0,REF(CLOSE,1)-LOW),M)*100;
VARC:=AMOUNT/vol/100;
VARD:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VARE:=SUM(AMOUNT,N)/VARC/100;
VAR10:=SUM(AMOUNT,M)/VARC/100;
VAR12:=REF(AMOUNT,1)+REF(AMOUNT,2)+REF(AMOUNT,3)+REF(AMOUNT,4);
VAR13:=VAR12/CAPITAL;
VAR14:=VOL/CAPITAL*VARD+VAR13*REF(VARC,1);
LHZ5: IF(DATE,dma(VARD,VOL/VARE),0);
LHZ35: IF(DATE,DMA(VARD,VOL/VAR10),0);
市场绝对成本: IF(DATE,DMA(VARD,VOL/CAPITAL),0),POINTDOT;
上轨: SMA(AMOUNT/VOL/100,M,1)*1.12,POINTDOT;
下轨: SMA(AMOUNT/VOL/100,M,1)*0.88,POINTDOT;
通达信成本重心指标公式
最低成本:=COst(0.1);
最高成本:=COST(99.9);
平均成本:=COST(50);
获利盘:(C-最低成本)/(最高成本-最低成本) *100 ;
成本重心:(平均成本-最低成本)/(最高成本-最低成本) *100;
套牢盘:(1-WINNER(C ))*100 ;
HLP:STICKLINE(获利盘>50,50,获利盘,1,0),COLORWHITE;
TLP:STICKLINE(套牢盘<50,50,套牢盘,1,0),COLORYELLOW;
买入:crOSS(获利盘,成本重心);
DRAWICON( CROSS(获利盘,成本重心),成本重心,1);
100;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。