通达信布林线指标源码(布林线指标代码)
本文目录一览:
- 1、如何在通达信软件的主图上同时显示均线系统和布林线指标。
- 2、通达信 区间震荡线 dpo指标源码?
- 3、通达信神奇公式怎么选股通达信神奇布林线股票指标公式如下:mid2:=m
- 4、请大师帮我写一个通达信布林线收口完成即将变开口的选股指标代码?
- 5、求通达信K线过布林线部分变色主图指标
- 6、通达信布林与均线叠加指标
如何在通达信软件的主图上同时显示均线系统和布林线指标。
通达信里BOLL-M指标本身是主图叠加的通达信布林线指标源码,但有锁无法编辑通达信布林线指标源码,因此可以通过CTRL+F(公式编辑器),找到这个BOLL指标(在路径型指标公式中)进行编辑,考出指标公式,然后添加MA指标公式即可,注意别忘了“画线方法”一栏选择“主图叠加”
BOLL:MA(CLOSE,N);
UPPER:BOLL+2*STD(CLOSE,N);
LOWER:BOLL-2*STD(CLOSE,N);
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60);
设置N参数,最小2,最大1000,默认120
通达信 区间震荡线 dpo指标源码?
公式代码如下,
N:=20;
M:=6;
DPO:CLOSE-REF(MA(CLOSE,N),N/2+1);
MADPO:MA(DPO,M);
效果如图
通达信神奇公式怎么选股通达信神奇布林线股票指标公式如下:mid2:=m
{神奇布林线主图}
MID2 := MA(CLOSE,21),COLORWHITE;
UPPER2:=MID2 + 1.96*STD(CLOSE,21),COLORYELLOW;
LOWER2:=MID2 - 1.96*STD(CLOSE,21),COLORYELLOW;
UP2:=MID2 + 2.56*STD(CLOSE,21),COLORFF00FF;
LOOW2:=MID2 - 2.56*STD(CLOSE,21),COLORFF00FF;
{上升趋势}
STICKLINE(C=MID2,MID2,UP2,2,0),COLOR330066;
{下降趋势}
STICKLINE(CMID2,MID2,LOOW2,2,0),COLOR545454;
MID:MID2,COLORWHITE;
UPPER:UPPER2,COLORYELLOW;
UP:UP2,COLORFF00FF;
LOWER:LOWER2,COLORYELLOW;
LOOW:LOOW2,COLORFF00FF;
开口:=UP-LOOW;
相离:=C-MID;
DRAWTEXT(C=MID AND REF(开口,1)=HHV(开口,20),UPPER,'减仓'),COLOR00FF00;
DRAWTEXT(C=MID AND REF(相离,1)=LLV(相离,5),MID,'加仓');
股价多头:=CMA(C,5) AND MA(C,5)MA(C,10) AND MA(C,10)MA(C,20);
DRAWTEXT(FILTER(股价多头,20),LOOW*0.95,'开始建仓'),COLORRED;
DRAWICON(FILTER(股价多头,20),LOWER,1),COLORRED;
DRAWTEXT(CROSS(MID,C),UP,'空仓观望'),COLORYELLOW;
DRAWICON(CROSS(MID,C),UPPER,2),COLORYELLOW;
{K线}
{STICKLINE((CLOSE OPEN),CLOSE,OPEN,5.2,0),COLOR070084;}
STICKLINE((CLOSE OPEN),CLOSE,OPEN,4,1),COLOR0000A3;
STICKLINE((CLOSE OPEN),CLOSE,OPEN,3.5,0),COLOR000033;
STICKLINE((CLOSE OPEN),CLOSE,OPEN,3,0),COLOR000066;
STICKLINE((CLOSE OPEN),CLOSE,OPEN,2.0,0),COLOR000099;
STICKLINE((CLOSE OPEN),CLOSE,OPEN,1.5,0),COLOR0000CC;
STICKLINE((CLOSE OPEN),CLOSE,OPEN,1.0,0),COLOR0000FF;
STICKLINE((CLOSE OPEN),CLOSE,OPEN,0.5,0),COLORCC66FF;
STICKLINE((CLOSE OPEN),OPEN,LOW,0.3,0),COLORRED;
STICKLINE((CLOSE OPEN),CLOSE,HIGH,0.3,0),COLORRED;
{STICKLINE((CLOSE = OPEN AND CREF(C,1)),CLOSE,OPEN,5.2,0),COLOR070084;}
STICKLINE((CLOSE = OPEN AND CREF(C,1)),CLOSE,OPEN,4,1),COLOR0000A3;
STICKLINE((CLOSE = OPEN AND CREF(C,1)),CLOSE,OPEN,3.5,0),COLOR0000B7;
STICKLINE((CLOSE = OPEN AND CREF(C,1)),CLOSE,OPEN,3,0),COLOR0000CD;
STICKLINE((CLOSE = OPEN AND CREF(C,1)),CLOSE,OPEN,2.0,0),COLOR0000E9;
STICKLINE((CLOSE = OPEN AND CREF(C,1)),CLOSE,OPEN,1.5,0),COLOR0754E9;
STICKLINE((CLOSE = OPEN AND CREF(C,1)),CLOSE,OPEN,1.0,0),COLOR076EF3;
STICKLINE((CLOSE = OPEN AND CREF(C,1)),CLOSE,OPEN,0.5,0),COLOR077BF3;
STICKLINE((CLOSE = OPEN AND CREF(C,1)),OPEN,LOW,0.3,0),COLOR0000CD;
STICKLINE((CLOSE = OPEN AND CREF(C,1)),CLOSE,HIGH,0.3,0),COLOR0000CD;
{STICKLINE((OPEN CLOSE),CLOSE,OPEN,5.2,0),COLORFF5B00;}
STICKLINE((OPEN CLOSE),CLOSE,OPEN,4,1),COLORFF6C00;
STICKLINE((OPEN CLOSE),CLOSE,OPEN,3.5,0),COLORFF7B00;
STICKLINE((OPEN CLOSE),CLOSE,OPEN,2,0),COLORFF9C00;
STICKLINE((OPEN CLOSE),CLOSE,OPEN,1.5,0),COLORFFBE00;
STICKLINE((OPEN CLOSE),CLOSE,OPEN,1,0),COLORFFCC00;
STICKLINE((OPEN CLOSE),CLOSE,OPEN,0.5,0),COLORFFFF00;
STICKLINE((OPEN CLOSE),CLOSE,LOW,0.3,0),COLORFF9C00;
STICKLINE((OPEN CLOSE),OPEN,HIGH,0.3,0),COLORFF9C00;
{STICKLINE((OPEN = CLOSE AND CREF(C,1)),CLOSE,OPEN,5.2,0),COLORFF5B00;}
STICKLINE((OPEN = CLOSE AND CREF(C,1)),CLOSE,OPEN,4,1),COLORFF6C00;
STICKLINE((OPEN = CLOSE AND CREF(C,1)),CLOSE,OPEN,3.5,0),COLORFF7B00;
STICKLINE((OPEN = CLOSE AND CREF(C,1)),CLOSE,OPEN,2,0),COLORFF9C00;
STICKLINE((OPEN = CLOSE AND CREF(C,1)),CLOSE,OPEN,1.5,0),COLORFFBE00;
STICKLINE((OPEN = CLOSE AND CREF(C,1)),CLOSE,OPEN,1,0),COLORFFCC00;
STICKLINE((OPEN = CLOSE AND CREF(C,1)),CLOSE,OPEN,0.5,0),COLORFFFF00;
STICKLINE((OPEN = CLOSE AND CREF(C,1)),CLOSE,LOW,0.3,0),COLORFF9C00;
STICKLINE((OPEN = CLOSE AND CREF(C,1)),OPEN,HIGH,0.3,0),COLORFF9C00;
====================
{选股}
MID := MA(CLOSE,21);
相离:=C-MID;
加仓:=C=MID AND REF(相离,1)=LLV(相离,5);
股价多头:=CMA(C,5) AND MA(C,5)MA(C,10) AND MA(C,10)MA(C,20);
开始建仓:=FILTER(股价多头,20);
XG:加仓 OR 开始建仓;
请大师帮我写一个通达信布林线收口完成即将变开口的选股指标代码?
N:=7;
M:=6;
MID:=MA(CLOSE,20);
UPPER:=MID+2*STD(CLOSE,20);
LOWER:=MID-2*STD(CLOSE,20);
AA:=(UPPER-REF(UPPER,1))*1000/REF(UPPER,1);
XG:CROSS(H,UPPER)
AND
AAM
AND
DYNAINFO(17)0
AND
EVERY(REF(UPPER,1)REF(H,1),N);
股票公式专家团为你解答,希望能帮到你,祝投资顺利。
求通达信K线过布林线部分变色主图指标
BOLL:MA(CLOSE,20),COLORYELLOW,DOTLINE;
UB:BOLL+2*STD(CLOSE,20),COLORGREEN,LINETHICK2;
LB:BOLL-2*STD(CLOSE,20),COLORMAGENTA,LINETHICK2;
STICKLINE(CROSS(C,BOLL),BOLL,O,3,0)COLORYELLOW;
STICKLINE(CROSS(C,UB),C,UB,3,0)COLORGREEN;
STICKLINE(CROSS(C,LB),O,LB,3,0)COLORMAGENTA;
STICKLINE(HLB,O,LB,3,0)COLORMAGENTA;
通达信布林与均线叠加指标
简单点的话可以直接选择叠加其他指标就可以叠通达信布林线指标源码了通达信布林线指标源码,例如先选择布林线再叠加均线就可以了,如果想自己使用方便些那就编写公式,把两个指标编写到一起就可以了,但通达信有两个布林线指标,如果要编写公式要说明清楚具体使用哪个指标这两个布林线是不一样的。例如下图效果布林线叠加5,10,30,60,120,250均线,其中为例突出布林线布林线采用了加粗形式。