首页 > 专栏 > 机构专栏 > 机构白银>正文

通达信指标中RGB(通达信5日均线与10日均线之间的空隙怎么用公式做出来?)

机构白银
来源:中亿财经网 作者:gengxing 时间:2023-08-23 04:00:23
1. 通达信5日均线与10日均线之间的空隙怎么用公式做出来?DRAWBAND(MA(C, 5), RGB(90, 0, 0), MA(C, 10), RGB(0, 90, 0));2. 通达信pdi是什么参数?MTR:=EXPMEMA(MAX(MAX(H

1. 通达信5日均线与10日均线之间的空隙怎么用公式做出来?

DRAWBAND(MA(C, 5), RGB(90, 0, 0), MA(C, 10), RGB(0, 90, 0));Y4n中亿财经网财经门户

2. 通达信pdi是什么参数?

MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);Y4n中亿财经网财经门户

HD :=HIGH-REF(HIGH,1);Y4n中亿财经网财经门户

LD :=REF(LOW,1)-LOW;Y4n中亿财经网财经门户

DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),14);Y4n中亿财经网财经门户

DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),14);Y4n中亿财经网财经门户

PDI: DMP*100/MTR,COLORRED;Y4n中亿财经网财经门户

MDI: DMM*100/MTR,COLORGREEN;Y4n中亿财经网财经门户

DRAWBAND(PDI,RGB(255,0,0),MDI,RGB(0,55,250));Y4n中亿财经网财经门户

ADX:= EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6);Y4n中亿财经网财经门户

ADXR:=EXPMEMA(ADX,6);Y4n中亿财经网财经门户

STICKLINE(PDI,PDI,0,0.00001,0),COLORRED;Y4n中亿财经网财经门户

20,DOTLINE;Y4n中亿财经网财经门户

40,DOTLINE;Y4n中亿财经网财经门户

{IF(PDI<REF(PDI,1),PDI,DRAWNULL),COLORCYAN;}Y4n中亿财经网财经门户

STICKLINE(CROSS(20,PDI),PDI,0,0.0001,0),COLORGREEN;Y4n中亿财经网财经门户

STICKLINE(CROSS(PDI,20),0,PDI,0.0001,0),COLORYELLOW;Y4n中亿财经网财经门户

上穿: CROSS(PDI,MDI),COLORRED,NODRAW;Y4n中亿财经网财经门户

下穿: CROSS(MDI,PDI),COLORCYAN,NODRAW;Y4n中亿财经网财经门户

DRAWICON(上穿,PDI,25);Y4n中亿财经网财经门户

DRAWICON(下穿,PDI,24);Y4n中亿财经网财经门户

顶: PDI>40,COLORWHITE,NODRAW;Y4n中亿财经网财经门户

底: MDI>40,COLORCYAN,NODRAW;Y4n中亿财经网财经门户

STICKLINE(PDI>40,40,PDI,1,0),COLORWHITE;Y4n中亿财经网财经门户

STICKLINE(MDI>40,0,PDI,1,0),COLORCYAN;Y4n中亿财经网财经门户

3. 通达信pdi是什么参数?

MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);Y4n中亿财经网财经门户

HD :=HIGH-REF(HIGH,1);Y4n中亿财经网财经门户

LD :=REF(LOW,1)-LOW;Y4n中亿财经网财经门户

DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),14);Y4n中亿财经网财经门户

DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),14);Y4n中亿财经网财经门户

PDI: DMP*100/MTR,COLORRED;Y4n中亿财经网财经门户

MDI: DMM*100/MTR,COLORGREEN;Y4n中亿财经网财经门户

DRAWBAND(PDI,RGB(255,0,0),MDI,RGB(0,55,250));Y4n中亿财经网财经门户

ADX:= EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6);Y4n中亿财经网财经门户

ADXR:=EXPMEMA(ADX,6);Y4n中亿财经网财经门户

STICKLINE(PDI,PDI,0,0.00001,0),COLORRED;Y4n中亿财经网财经门户

20,DOTLINE;Y4n中亿财经网财经门户

40,DOTLINE;Y4n中亿财经网财经门户

{IF(PDI<REF(PDI,1),PDI,DRAWNULL),COLORCYAN;}Y4n中亿财经网财经门户

STICKLINE(CROSS(20,PDI),PDI,0,0.0001,0),COLORGREEN;Y4n中亿财经网财经门户

STICKLINE(CROSS(PDI,20),0,PDI,0.0001,0),COLORYELLOW;Y4n中亿财经网财经门户

上穿: CROSS(PDI,MDI),COLORRED,NODRAW;Y4n中亿财经网财经门户

下穿: CROSS(MDI,PDI),COLORCYAN,NODRAW;Y4n中亿财经网财经门户

DRAWICON(上穿,PDI,25);Y4n中亿财经网财经门户

DRAWICON(下穿,PDI,24);Y4n中亿财经网财经门户

顶: PDI>40,COLORWHITE,NODRAW;Y4n中亿财经网财经门户

底: MDI>40,COLORCYAN,NODRAW;Y4n中亿财经网财经门户

STICKLINE(PDI>40,40,PDI,1,0),COLORWHITE;Y4n中亿财经网财经门户

STICKLINE(MDI>40,0,PDI,1,0),COLORCYAN;Y4n中亿财经网财经门户

4. 通达信pdi是什么参数?

MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);Y4n中亿财经网财经门户

HD :=HIGH-REF(HIGH,1);Y4n中亿财经网财经门户

LD :=REF(LOW,1)-LOW;Y4n中亿财经网财经门户

DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),14);Y4n中亿财经网财经门户

DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),14);Y4n中亿财经网财经门户

PDI: DMP*100/MTR,COLORRED;Y4n中亿财经网财经门户

MDI: DMM*100/MTR,COLORGREEN;Y4n中亿财经网财经门户

DRAWBAND(PDI,RGB(255,0,0),MDI,RGB(0,55,250));Y4n中亿财经网财经门户

ADX:= EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6);Y4n中亿财经网财经门户

ADXR:=EXPMEMA(ADX,6);Y4n中亿财经网财经门户

STICKLINE(PDI,PDI,0,0.00001,0),COLORRED;Y4n中亿财经网财经门户

20,DOTLINE;Y4n中亿财经网财经门户

40,DOTLINE;Y4n中亿财经网财经门户

{IF(PDI<REF(PDI,1),PDI,DRAWNULL),COLORCYAN;}Y4n中亿财经网财经门户

STICKLINE(CROSS(20,PDI),PDI,0,0.0001,0),COLORGREEN;Y4n中亿财经网财经门户

STICKLINE(CROSS(PDI,20),0,PDI,0.0001,0),COLORYELLOW;Y4n中亿财经网财经门户

上穿: CROSS(PDI,MDI),COLORRED,NODRAW;Y4n中亿财经网财经门户

下穿: CROSS(MDI,PDI),COLORCYAN,NODRAW;Y4n中亿财经网财经门户

DRAWICON(上穿,PDI,25);Y4n中亿财经网财经门户

DRAWICON(下穿,PDI,24);Y4n中亿财经网财经门户

顶: PDI>40,COLORWHITE,NODRAW;Y4n中亿财经网财经门户

底: MDI>40,COLORCYAN,NODRAW;Y4n中亿财经网财经门户

STICKLINE(PDI>40,40,PDI,1,0),COLORWHITE;Y4n中亿财经网财经门户

STICKLINE(MDI>40,0,PDI,1,0),COLORCYAN;Y4n中亿财经网财经门户

5. DMI指标参数如何设置最准确?

dmi指标的最佳参数设置公式Y4n中亿财经网财经门户

N:=21;M:=6;M1:=20;  Y4n中亿财经网财经门户

TR1:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N);  Y4n中亿财经网财经门户

HD :=HIGH-REF(HIGH,1);  Y4n中亿财经网财经门户

LD :=REF(LOW,1)-LOW;  Y4n中亿财经网财经门户

DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),N);  Y4n中亿财经网财经门户

DMM:=EMA(IF(LD>0 AND LD>HD,LD,0),N);  Y4n中亿财经网财经门户

PDI:= DMP*100/TR1;  Y4n中亿财经网财经门户

MDI:= DMM*100/TR1;Y4n中亿财经网财经门户

ADX: EMA((PDI-MDI)/(MDI+PDI)*100,M)*2;  Y4n中亿财经网财经门户

ADXR:EMA(ADX,M);Y4n中亿财经网财经门户

ADMA:EMA(ADX,M1);  Y4n中亿财经网财经门户

OMD:(ADX-2*ADMA+ADXR)/2, COLORSTICK;  Y4n中亿财经网财经门户

DRAWBAND(ADX,RGB(155,50,50),ADXR,RGB(0,100,50));  Y4n中亿财经网财经门户

STICKLINE(OMD>REF(OMD,1) AND OMD>0,0,OMD,1,0),COLORRED;  Y4n中亿财经网财经门户

STICKLINE(OMD>REF(OMD,1) AND OMD<0,0,OMD,1,0),COLORGREEN;  Y4n中亿财经网财经门户

STICKLINE(OMDY4n中亿财经网财经门户

STICKLINE(OMD>=0 OR OMD<=0,0,0,50,1),COLORWHITE;  Y4n中亿财经网财经门户

ADX1:ADX,COLORRED;  Y4n中亿财经网财经门户

ADXR1:ADXR,COLORGREEN;  Y4n中亿财经网财经门户

ADMA1:ADMA;  Y4n中亿财经网财经门户

强:IF(ADX1>=ADXR1,ADX1,DRAWNULL),COLORRED,LINETHICK3;  Y4n中亿财经网财经门户

买入:IF(OMD>0 AND OMD-REF(OMD,1)>0,30,0);  Y4n中亿财经网财经门户

{OMD;}  Y4n中亿财经网财经门户

110;  Y4n中亿财经网财经门户

0;  Y4n中亿财经网财经门户

DRAWICON(CROSS(ADX,ADXR),ADX+5,1。Y4n中亿财经网财经门户

6. 通达信5日均线与10日均线之间的空隙怎么用公式做出来?

DRAWBAND(MA(C, 5), RGB(90, 0, 0), MA(C, 10), RGB(0, 90, 0));Y4n中亿财经网财经门户

7. 通达信副图输出参数满足条件输出a画红色否则输出a画白色代码?

通达信副图输出参数可以通过使用公式来进行控制。如果需要满足条件输出红色、否则输出白色,可以使用以下公式:Y4n中亿财经网财经门户

IF(条件, 红色, 白色)Y4n中亿财经网财经门户

其中,IF是通达信公式语言中的条件判断函数,条件表示需要满足的条件,红色和白色分别表示在满足条件和不满足条件时需要输出的颜色。Y4n中亿财经网财经门户

具体的代码可以根据需要进行调整,例如:Y4n中亿财经网财经门户

如果副图参数a满足条件,则输出红色,否则输出白色:Y4n中亿财经网财经门户

```Y4n中亿财经网财经门户

IF(a > 0, RED, WHITE)Y4n中亿财经网财经门户

```Y4n中亿财经网财经门户

如果副图参数a小于等于5,则输出红色,否则输出白色:Y4n中亿财经网财经门户

```Y4n中亿财经网财经门户

IF(a <= 5, RED, WHITE)Y4n中亿财经网财经门户

```Y4n中亿财经网财经门户

需要注意的是,通达信公式语言中的颜色表示可以使用预定义的颜色名称,例如RED表示红色,WHITE表示白色。同时,也可以使用RGB颜色值来表示其他颜色。Y4n中亿财经网财经门户

8. 通达信副图输出参数满足条件输出a画红色否则输出a画白色代码?

通达信副图输出参数可以通过使用公式来进行控制。如果需要满足条件输出红色、否则输出白色,可以使用以下公式:Y4n中亿财经网财经门户

IF(条件, 红色, 白色)Y4n中亿财经网财经门户

其中,IF是通达信公式语言中的条件判断函数,条件表示需要满足的条件,红色和白色分别表示在满足条件和不满足条件时需要输出的颜色。Y4n中亿财经网财经门户

具体的代码可以根据需要进行调整,例如:Y4n中亿财经网财经门户

如果副图参数a满足条件,则输出红色,否则输出白色:Y4n中亿财经网财经门户

```Y4n中亿财经网财经门户

IF(a > 0, RED, WHITE)Y4n中亿财经网财经门户

```Y4n中亿财经网财经门户

如果副图参数a小于等于5,则输出红色,否则输出白色:Y4n中亿财经网财经门户

```Y4n中亿财经网财经门户

IF(a <= 5, RED, WHITE)Y4n中亿财经网财经门户

```Y4n中亿财经网财经门户

需要注意的是,通达信公式语言中的颜色表示可以使用预定义的颜色名称,例如RED表示红色,WHITE表示白色。同时,也可以使用RGB颜色值来表示其他颜色。Y4n中亿财经网财经门户

9. 通达信量能成交量公式改成选股公式?

VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);Y4n中亿财经网财经门户

OBV1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);Y4n中亿财经网财经门户

OBV2:=EMA(OBV1,3)-MA(OBV1,9);Y4n中亿财经网财经门户

OBV3:=EMA(IF(OBV2>0,OBV2,0),3);Y4n中亿财经网财经门户

CROSS(OBV3,REF(OBV3,1)); Y4n中亿财经网财经门户

10. 通达信如何在两条均线间设置颜色?

MA5:MA(C,5),;MA10:MA(C,10);W:=IF(MA5>REF(MA5,1),MA5,DRAWNULL);DRAWBAND(W,RGB(55,250,96),W,0),LINETHICK2;DRAWBAND(MA5,RGB(55,250,96),MA10,RGB(240,50,50));Y4n中亿财经网财经门户

11. 通达信量能成交量公式改成选股公式?

VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);Y4n中亿财经网财经门户

OBV1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);Y4n中亿财经网财经门户

OBV2:=EMA(OBV1,3)-MA(OBV1,9);Y4n中亿财经网财经门户

OBV3:=EMA(IF(OBV2>0,OBV2,0),3);Y4n中亿财经网财经门户

CROSS(OBV3,REF(OBV3,1)); Y4n中亿财经网财经门户

12. DMI指标参数如何设置最准确?

dmi指标的最佳参数设置公式Y4n中亿财经网财经门户

N:=21;M:=6;M1:=20;  Y4n中亿财经网财经门户

TR1:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N);  Y4n中亿财经网财经门户

HD :=HIGH-REF(HIGH,1);  Y4n中亿财经网财经门户

LD :=REF(LOW,1)-LOW;  Y4n中亿财经网财经门户

DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),N);  Y4n中亿财经网财经门户

DMM:=EMA(IF(LD>0 AND LD>HD,LD,0),N);  Y4n中亿财经网财经门户

PDI:= DMP*100/TR1;  Y4n中亿财经网财经门户

MDI:= DMM*100/TR1;Y4n中亿财经网财经门户

ADX: EMA((PDI-MDI)/(MDI+PDI)*100,M)*2;  Y4n中亿财经网财经门户

ADXR:EMA(ADX,M);Y4n中亿财经网财经门户

ADMA:EMA(ADX,M1);  Y4n中亿财经网财经门户

OMD:(ADX-2*ADMA+ADXR)/2, COLORSTICK;  Y4n中亿财经网财经门户

DRAWBAND(ADX,RGB(155,50,50),ADXR,RGB(0,100,50));  Y4n中亿财经网财经门户

STICKLINE(OMD>REF(OMD,1) AND OMD>0,0,OMD,1,0),COLORRED;  Y4n中亿财经网财经门户

STICKLINE(OMD>REF(OMD,1) AND OMD<0,0,OMD,1,0),COLORGREEN;  Y4n中亿财经网财经门户

STICKLINE(OMDY4n中亿财经网财经门户

STICKLINE(OMD>=0 OR OMD<=0,0,0,50,1),COLORWHITE;  Y4n中亿财经网财经门户

ADX1:ADX,COLORRED;  Y4n中亿财经网财经门户

ADXR1:ADXR,COLORGREEN;  Y4n中亿财经网财经门户

ADMA1:ADMA;  Y4n中亿财经网财经门户

强:IF(ADX1>=ADXR1,ADX1,DRAWNULL),COLORRED,LINETHICK3;  Y4n中亿财经网财经门户

买入:IF(OMD>0 AND OMD-REF(OMD,1)>0,30,0);  Y4n中亿财经网财经门户

{OMD;}  Y4n中亿财经网财经门户

110;  Y4n中亿财经网财经门户

0;  Y4n中亿财经网财经门户

DRAWICON(CROSS(ADX,ADXR),ADX+5,1。Y4n中亿财经网财经门户

13. 通达信现价指标怎么写?

WRAP: break-word; WHITE-SPACE: normal; LETTER-SPACING: normal; COLOR: rgb(51,51,51); WORD-SPACING: 0px; PADDING-TOP: 0px; -webkit-text-stroke-width: 0px">均价:=SUM(C*V,BARSCOUNT(C))/SUM(V,BARSCOUNT(C));Y4n中亿财经网财经门户

现比均大:SUM(C>=均价,0),NODRAW;Y4n中亿财经网财经门户

现比均小:SUM(C<均价,0),NODRAW;Y4n中亿财经网财经门户

占比:现比均大/(现比均小+现比均大)*100;Y4n中亿财经网财经门户

50;    Y4n中亿财经网财经门户

14. 通达信5日均线与10日均线之间的空隙怎么用公式做出来?

DRAWBAND(MA(C, 5), RGB(90, 0, 0), MA(C, 10), RGB(0, 90, 0));Y4n中亿财经网财经门户

15. 通达信如何在两条均线间设置颜色?

MA5:MA(C,5),;MA10:MA(C,10);W:=IF(MA5>REF(MA5,1),MA5,DRAWNULL);DRAWBAND(W,RGB(55,250,96),W,0),LINETHICK2;DRAWBAND(MA5,RGB(55,250,96),MA10,RGB(240,50,50));Y4n中亿财经网财经门户

16. 通达信副图输出参数满足条件输出a画红色否则输出a画白色代码?

通达信副图输出参数可以通过使用公式来进行控制。如果需要满足条件输出红色、否则输出白色,可以使用以下公式:Y4n中亿财经网财经门户

IF(条件, 红色, 白色)Y4n中亿财经网财经门户

其中,IF是通达信公式语言中的条件判断函数,条件表示需要满足的条件,红色和白色分别表示在满足条件和不满足条件时需要输出的颜色。Y4n中亿财经网财经门户

具体的代码可以根据需要进行调整,例如:Y4n中亿财经网财经门户

如果副图参数a满足条件,则输出红色,否则输出白色:Y4n中亿财经网财经门户

```Y4n中亿财经网财经门户

IF(a > 0, RED, WHITE)Y4n中亿财经网财经门户

```Y4n中亿财经网财经门户

如果副图参数a小于等于5,则输出红色,否则输出白色:Y4n中亿财经网财经门户

```Y4n中亿财经网财经门户

IF(a <= 5, RED, WHITE)Y4n中亿财经网财经门户

```Y4n中亿财经网财经门户

需要注意的是,通达信公式语言中的颜色表示可以使用预定义的颜色名称,例如RED表示红色,WHITE表示白色。同时,也可以使用RGB颜色值来表示其他颜色。Y4n中亿财经网财经门户

17. 通达信副图输出参数满足条件输出a画红色否则输出a画白色代码?

通达信副图输出参数可以通过使用公式来进行控制。如果需要满足条件输出红色、否则输出白色,可以使用以下公式:Y4n中亿财经网财经门户

IF(条件, 红色, 白色)Y4n中亿财经网财经门户

其中,IF是通达信公式语言中的条件判断函数,条件表示需要满足的条件,红色和白色分别表示在满足条件和不满足条件时需要输出的颜色。Y4n中亿财经网财经门户

具体的代码可以根据需要进行调整,例如:Y4n中亿财经网财经门户

如果副图参数a满足条件,则输出红色,否则输出白色:Y4n中亿财经网财经门户

```Y4n中亿财经网财经门户

IF(a > 0, RED, WHITE)Y4n中亿财经网财经门户

```Y4n中亿财经网财经门户

如果副图参数a小于等于5,则输出红色,否则输出白色:Y4n中亿财经网财经门户

```Y4n中亿财经网财经门户

IF(a <= 5, RED, WHITE)Y4n中亿财经网财经门户

```Y4n中亿财经网财经门户

需要注意的是,通达信公式语言中的颜色表示可以使用预定义的颜色名称,例如RED表示红色,WHITE表示白色。同时,也可以使用RGB颜色值来表示其他颜色。Y4n中亿财经网财经门户

18. 通达信现价指标怎么写?

WRAP: break-word; WHITE-SPACE: normal; LETTER-SPACING: normal; COLOR: rgb(51,51,51); WORD-SPACING: 0px; PADDING-TOP: 0px; -webkit-text-stroke-width: 0px">均价:=SUM(C*V,BARSCOUNT(C))/SUM(V,BARSCOUNT(C));Y4n中亿财经网财经门户

现比均大:SUM(C>=均价,0),NODRAW;Y4n中亿财经网财经门户

现比均小:SUM(C<均价,0),NODRAW;Y4n中亿财经网财经门户

占比:现比均大/(现比均小+现比均大)*100;Y4n中亿财经网财经门户

50;    Y4n中亿财经网财经门户

19. 通达信pdi是什么参数?

MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);Y4n中亿财经网财经门户

HD :=HIGH-REF(HIGH,1);Y4n中亿财经网财经门户

LD :=REF(LOW,1)-LOW;Y4n中亿财经网财经门户

DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),14);Y4n中亿财经网财经门户

DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),14);Y4n中亿财经网财经门户

PDI: DMP*100/MTR,COLORRED;Y4n中亿财经网财经门户

MDI: DMM*100/MTR,COLORGREEN;Y4n中亿财经网财经门户

DRAWBAND(PDI,RGB(255,0,0),MDI,RGB(0,55,250));Y4n中亿财经网财经门户

ADX:= EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6);Y4n中亿财经网财经门户

ADXR:=EXPMEMA(ADX,6);Y4n中亿财经网财经门户

STICKLINE(PDI,PDI,0,0.00001,0),COLORRED;Y4n中亿财经网财经门户

20,DOTLINE;Y4n中亿财经网财经门户

40,DOTLINE;Y4n中亿财经网财经门户

{IF(PDI<REF(PDI,1),PDI,DRAWNULL),COLORCYAN;}Y4n中亿财经网财经门户

STICKLINE(CROSS(20,PDI),PDI,0,0.0001,0),COLORGREEN;Y4n中亿财经网财经门户

STICKLINE(CROSS(PDI,20),0,PDI,0.0001,0),COLORYELLOW;Y4n中亿财经网财经门户

上穿: CROSS(PDI,MDI),COLORRED,NODRAW;Y4n中亿财经网财经门户

下穿: CROSS(MDI,PDI),COLORCYAN,NODRAW;Y4n中亿财经网财经门户

DRAWICON(上穿,PDI,25);Y4n中亿财经网财经门户

DRAWICON(下穿,PDI,24);Y4n中亿财经网财经门户

顶: PDI>40,COLORWHITE,NODRAW;Y4n中亿财经网财经门户

底: MDI>40,COLORCYAN,NODRAW;Y4n中亿财经网财经门户

STICKLINE(PDI>40,40,PDI,1,0),COLORWHITE;Y4n中亿财经网财经门户

STICKLINE(MDI>40,0,PDI,1,0),COLORCYAN;Y4n中亿财经网财经门户

20. 通达信量能成交量公式改成选股公式?

VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);Y4n中亿财经网财经门户

OBV1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);Y4n中亿财经网财经门户

OBV2:=EMA(OBV1,3)-MA(OBV1,9);Y4n中亿财经网财经门户

OBV3:=EMA(IF(OBV2>0,OBV2,0),3);Y4n中亿财经网财经门户

CROSS(OBV3,REF(OBV3,1)); Y4n中亿财经网财经门户

21. DMI指标参数如何设置最准确?

dmi指标的最佳参数设置公式Y4n中亿财经网财经门户

N:=21;M:=6;M1:=20;  Y4n中亿财经网财经门户

TR1:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N);  Y4n中亿财经网财经门户

HD :=HIGH-REF(HIGH,1);  Y4n中亿财经网财经门户

LD :=REF(LOW,1)-LOW;  Y4n中亿财经网财经门户

DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),N);  Y4n中亿财经网财经门户

DMM:=EMA(IF(LD>0 AND LD>HD,LD,0),N);  Y4n中亿财经网财经门户

PDI:= DMP*100/TR1;  Y4n中亿财经网财经门户

MDI:= DMM*100/TR1;Y4n中亿财经网财经门户

ADX: EMA((PDI-MDI)/(MDI+PDI)*100,M)*2;  Y4n中亿财经网财经门户

ADXR:EMA(ADX,M);Y4n中亿财经网财经门户

ADMA:EMA(ADX,M1);  Y4n中亿财经网财经门户

OMD:(ADX-2*ADMA+ADXR)/2, COLORSTICK;  Y4n中亿财经网财经门户

DRAWBAND(ADX,RGB(155,50,50),ADXR,RGB(0,100,50));  Y4n中亿财经网财经门户

STICKLINE(OMD>REF(OMD,1) AND OMD>0,0,OMD,1,0),COLORRED;  Y4n中亿财经网财经门户

STICKLINE(OMD>REF(OMD,1) AND OMD<0,0,OMD,1,0),COLORGREEN;  Y4n中亿财经网财经门户

STICKLINE(OMDY4n中亿财经网财经门户

STICKLINE(OMD>=0 OR OMD<=0,0,0,50,1),COLORWHITE;  Y4n中亿财经网财经门户

ADX1:ADX,COLORRED;  Y4n中亿财经网财经门户

ADXR1:ADXR,COLORGREEN;  Y4n中亿财经网财经门户

ADMA1:ADMA;  Y4n中亿财经网财经门户

强:IF(ADX1>=ADXR1,ADX1,DRAWNULL),COLORRED,LINETHICK3;  Y4n中亿财经网财经门户

买入:IF(OMD>0 AND OMD-REF(OMD,1)>0,30,0);  Y4n中亿财经网财经门户

{OMD;}  Y4n中亿财经网财经门户

110;  Y4n中亿财经网财经门户

0;  Y4n中亿财经网财经门户

DRAWICON(CROSS(ADX,ADXR),ADX+5,1。Y4n中亿财经网财经门户

22. 通达信如何在两条均线间设置颜色?

MA5:MA(C,5),;MA10:MA(C,10);W:=IF(MA5>REF(MA5,1),MA5,DRAWNULL);DRAWBAND(W,RGB(55,250,96),W,0),LINETHICK2;DRAWBAND(MA5,RGB(55,250,96),MA10,RGB(240,50,50));Y4n中亿财经网财经门户

23. 通达信如何在两条均线间设置颜色?

MA5:MA(C,5),;MA10:MA(C,10);W:=IF(MA5>REF(MA5,1),MA5,DRAWNULL);DRAWBAND(W,RGB(55,250,96),W,0),LINETHICK2;DRAWBAND(MA5,RGB(55,250,96),MA10,RGB(240,50,50));Y4n中亿财经网财经门户

24. 通达信量能成交量公式改成选股公式?

VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);Y4n中亿财经网财经门户

OBV1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);Y4n中亿财经网财经门户

OBV2:=EMA(OBV1,3)-MA(OBV1,9);Y4n中亿财经网财经门户

OBV3:=EMA(IF(OBV2>0,OBV2,0),3);Y4n中亿财经网财经门户

CROSS(OBV3,REF(OBV3,1)); Y4n中亿财经网财经门户

25. 通达信现价指标怎么写?

WRAP: break-word; WHITE-SPACE: normal; LETTER-SPACING: normal; COLOR: rgb(51,51,51); WORD-SPACING: 0px; PADDING-TOP: 0px; -webkit-text-stroke-width: 0px">均价:=SUM(C*V,BARSCOUNT(C))/SUM(V,BARSCOUNT(C));Y4n中亿财经网财经门户

现比均大:SUM(C>=均价,0),NODRAW;Y4n中亿财经网财经门户

现比均小:SUM(C<均价,0),NODRAW;Y4n中亿财经网财经门户

占比:现比均大/(现比均小+现比均大)*100;Y4n中亿财经网财经门户

50;    Y4n中亿财经网财经门户

26. 通达信5日均线与10日均线之间的空隙怎么用公式做出来?

DRAWBAND(MA(C, 5), RGB(90, 0, 0), MA(C, 10), RGB(0, 90, 0));Y4n中亿财经网财经门户

27. 通达信现价指标怎么写?

WRAP: break-word; WHITE-SPACE: normal; LETTER-SPACING: normal; COLOR: rgb(51,51,51); WORD-SPACING: 0px; PADDING-TOP: 0px; -webkit-text-stroke-width: 0px">均价:=SUM(C*V,BARSCOUNT(C))/SUM(V,BARSCOUNT(C));Y4n中亿财经网财经门户

现比均大:SUM(C>=均价,0),NODRAW;Y4n中亿财经网财经门户

现比均小:SUM(C<均价,0),NODRAW;Y4n中亿财经网财经门户

占比:现比均大/(现比均小+现比均大)*100;Y4n中亿财经网财经门户

50;    Y4n中亿财经网财经门户

28. DMI指标参数如何设置最准确?

dmi指标的最佳参数设置公式Y4n中亿财经网财经门户

N:=21;M:=6;M1:=20;  Y4n中亿财经网财经门户

TR1:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N);  Y4n中亿财经网财经门户

HD :=HIGH-REF(HIGH,1);  Y4n中亿财经网财经门户

LD :=REF(LOW,1)-LOW;  Y4n中亿财经网财经门户

DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),N);  Y4n中亿财经网财经门户

DMM:=EMA(IF(LD>0 AND LD>HD,LD,0),N);  Y4n中亿财经网财经门户

PDI:= DMP*100/TR1;  Y4n中亿财经网财经门户

MDI:= DMM*100/TR1;Y4n中亿财经网财经门户

ADX: EMA((PDI-MDI)/(MDI+PDI)*100,M)*2;  Y4n中亿财经网财经门户

ADXR:EMA(ADX,M);Y4n中亿财经网财经门户

ADMA:EMA(ADX,M1);  Y4n中亿财经网财经门户

OMD:(ADX-2*ADMA+ADXR)/2, COLORSTICK;  Y4n中亿财经网财经门户

DRAWBAND(ADX,RGB(155,50,50),ADXR,RGB(0,100,50));  Y4n中亿财经网财经门户

STICKLINE(OMD>REF(OMD,1) AND OMD>0,0,OMD,1,0),COLORRED;  Y4n中亿财经网财经门户

STICKLINE(OMD>REF(OMD,1) AND OMD<0,0,OMD,1,0),COLORGREEN;  Y4n中亿财经网财经门户

STICKLINE(OMDY4n中亿财经网财经门户

STICKLINE(OMD>=0 OR OMD<=0,0,0,50,1),COLORWHITE;  Y4n中亿财经网财经门户

ADX1:ADX,COLORRED;  Y4n中亿财经网财经门户

ADXR1:ADXR,COLORGREEN;  Y4n中亿财经网财经门户

ADMA1:ADMA;  Y4n中亿财经网财经门户

强:IF(ADX1>=ADXR1,ADX1,DRAWNULL),COLORRED,LINETHICK3;  Y4n中亿财经网财经门户

买入:IF(OMD>0 AND OMD-REF(OMD,1)>0,30,0);  Y4n中亿财经网财经门户

{OMD;}  Y4n中亿财经网财经门户

110;  Y4n中亿财经网财经门户

0;  Y4n中亿财经网财经门户

DRAWICON(CROSS(ADX,ADXR),ADX+5,1。Y4n中亿财经网财经门户

关键字:通达信   RGB   通达信   公式
1.中亿财经网(http://www.zhongyi9999.com/)遵循行业规范,任何转载的稿件都会明确标注作者和来源;
2.中亿财经网的原创文章,请转载时务必注明文章作者和"来源:中亿财经网",不尊重原创的行为或将追究责任;
3.作者投稿可能会经中亿财经网编辑修改或补充。
【免责声明】本文仅代表作者本人观点,与本网站无关。本网站对文中陈述、观点判断保持中立,不对所包含内容的准确性、可靠性或完整性提供任何明示或暗示的保证。请读者仅作参考,并请自行承担全部责任。