双布林主图指标公式源码_布林彩带主图指标公式

hacker|
113

文章目录:

谁有通达信布林线主图叠加公式

自己复制一下附图布林带的公式源码,照着设置参数,唯一区别是,要将公式类型改为主图叠加即可,这样,你的布林带就可以主图叠加的。

如何在通达信软件的主图上同时显示均线系统和布林线指标。

通达信里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

求股票主图指标 布林线和箱体叠加的指标公式

平衡:EMA(C,20),CIRCLEDOT,COLORWHITE;

上轨:平衡 + 2*STD(C,20),LINETHICK2,COLORFF00FF;

下轨:平衡 - 2*STD(C,20),LINETHICK2,COLOR00FF00;

Y1:=REF(EMA(DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9),3),1);

DRAWTEXT(CROSS(CLOSE,Y1),LOW,'[买进]'),COLORYELLOW;

DRAWTEXT(CROSS(Y1,CLOSE),HIGH*1.05,'[卖出]'),COLORWHITE;

VAR1W:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));

VAR2W:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));

VAR3W:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));

DRAWTEXT(CROSS(VAR2W,MA(VAR3W,6)),LOW -0.6,'(买)'),COLORFF99FF;

DRAWTEXT(CROSS(MA(VAR3W,6),VAR1W),HIGH +0.9,'(卖)'),COLORCCFF13;

VAR3P:=IF(CLOSE/REF(CLOSE,1)1.050 AND HIGH/CLOSE1.010 AND IF(CLOSEREF(CLOSE,1),88,0)0, 91, 0);

DRAWTEXT(VAR3P90,LOW*0.92,'追涨'),COLORFF00FF;

SS:=MA((LOW+HIGH+CLOSE)/3,5)REF(MA((LOW+HIGH+CLOSE)/3,5),1) AND REF(MA((LOW+HIGH+CLOSE)/3,5),1)REF(MA((LOW+HIGH+CLOSE)/3,5),2);

SC:=LHHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND HHHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND CREF(C,1) AND CO;

MR:=SC AND COUNT(SS,2);

买:=MR AND NOT(REF(MR,1)),COLORYELLOW;

DRAWTEXT(买,L*0.95, '必涨'),COLORRED;

多方:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)

-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)

-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)

,3,1),2,1);

DRAWTEXT(CROSS(78.89,多方),H+1.5,'(逃顶)'),COLOR00FF00;

A1:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*1,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*1,5,1),COLOR330066;

A2:=(EMA(A1,5)-REF(EMA(A1,5),1))/REF(EMA(A1,5),1)*1;

A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*1;

DRAWTEXT(CROSS(A1,EMA(A1,5))AND EMA(A1,5)A5,L*0.98,'(黑马)'),COLORYELLOW;

VAR1:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*1;

VAR2:=SMA(VAR1,3,1)*100;

趋势线:=SMA((SMA(VAR2,3,1)*VAR1),3,1)*1;

VAR9:=CROSS(趋势线,(SMA(VAR2,3,1)*VAR1)) AND (SMA(VAR2,3,1)*VAR1)8;

DRAWTEXT(VAR9 AND COUNT(VAR9,1)=1,H+0.6,'逃'), LINETHICK2,COLORYELLOW;

通达信神奇公式怎么选股通达信神奇布林线股票指标公式如下: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 开始建仓;

3条大神的评论

  • avatar
    访客 2022-07-17 上午 04:39:02

    LOR070084;}STICKLINE((CLOSE OPEN),CLOSE,OPEN,4,1),COLOR0000A3;STICKLINE((CLOSE OPEN),CLOSE,OPEN,3.

  • avatar
    访客 2022-07-17 上午 05:40:12

    LV(LOW,27))*30,4,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(H

  • avatar
    访客 2022-07-16 下午 06:56:24

    E((OPEN CLOSE),CLOSE,OPEN,5.2,0),COLORFF5B00;}STICKLINE((OPEN CLOSE),CLOSE,OPEN,4,1),COLORFF6C00;STICKLINE((OP

发表评论