最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信博弈大师(L2多空分时资金博弈)公式源码分享

    正文概述    2024-05-04 03:56:29  


    相关简介:通达信博弈大师(L2多空博弈)公式源码分享

    公式解读:

       【辅助指标】

       1.粉多和蓝空

       2.红多和绿空

       3.顶和底背离

       4.红柱和绿柱

       5.稳多和稳空

       6.稳健多和稳健空

       背离+点提示同时出现,点操作把握高。

       里面的背离不是MACD和K线的背离,只能用于参考。

       指标没有未来函数,信号不漂移。

       博弈大师定量结构幅图公式比较流行的指标需要的拿去

    公式解读:

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

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

       Var3:=SMA(Var2,13,8);

       高抛:90,POINTDOT;

       低吸:0,POINTDOT;

       多方能量:SMA(Var3,13,8);

       空方能量:SMA(Var1,21,8);

       买进:IF(CROSS(多方能量,45),18,-4);

       卖出:IF(CROSS(45,多方能量),18,-4);

       强弱分界:45,CIRCLEDOT;

       均价:=(H+L+O+C)/4;

       分水岭:MA(3*均价-2*SMA(均价,2,1),12)LINETHICK;

       做多:IF(均价 分水岭,均价,分水岭),COLORYELLOW;支撑:REVERSE(做多趋势)+2*分水岭,COLORMAGENTA;

       下跌:IF(均价 分水岭,均价,分水岭),COLORGRAY;

       B:=(2*EMA(LLV(均价,7),10)-均价);

       做空趋势:(3*B-2*SMA(B,10,1)),COLORGREEN,LINETHICK2;

       阻力:=REVERSE(下跌)+2*分水岭;

       LC:=REF(CLOSE,1);

       RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

       VARB:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;

       VARC:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;

       VARD:=BARSCOUNT(CLOSE);

       底部初显:(VARB 20ANDVARC 25ANDVARD 50)*30,LINETHICK2,COLORFF9933;

       LK:EMA((CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2),LINETHICK3,COLORRED;

       LD:EMA((CLOSE-MA(CLOSE,10))/MA(CLOSE,10)*480,10),LINETHICK3,COLORGREEN;

       DRAWTEXT(CROSS(LK,LD)ANDLK -10,-20,'要反弹'),COLORYELLOW;

       DRAWICON(CROSS(LK,LD)ANDLK -10ANDLD REF(LD,1)ORCROSS(LK,LD)ANDLD -35,-15,1);

       MAV:=(2*C+H+L)/4;

       VAR1:=LLV(LOW,4);

       VAR2:=HHV(HIGH,7);

       SK:EMA((MAV-VAR1)/(VAR2-VAR1)*100,13);

       SD:EMA(0.667*REF(SK,1)+0.333*SK,2);

       DRAWTEXT(CROSS(SK,SD),SK,'多'),COLORRED;

       DRAWTEXT(CROSS(SD,SK),SD,'空'),COLORGREEN;

       DIR:=ABS(CLOSE-REF(CLOSE,10));

       VIR:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);

       ER:=DIR/VIR;

       CS:=ER*(2/3-2/31)+2/31;

       CQ:=CS*CS;

       AMA:DMA(CLOSE,CQ),COLORGREEN,LINETHICK0;

       持股:(CLOSE AMA),COLORGREEN;

       持币:(CLOSEAMA,0,2,8,0),COLORGREEN;

       {个股15分钟}

       A15:=MAX(MA(C,5),MA(C,10));

       B15:=MIN(MA(C,5),MA(C,10));

       STICKLINE(C A15,-2,-1,4,0),COLORGREEN;

       STICKLINE(C B15,-2,-1,4,0),COLORRED;

       STICKLINE(A15 =CANDC =B15,-2,-1,4,0),COLORYELLOW;

       {个股30分钟}

       A30:=MAX(MA(C,10),MA(C,20));

       B30:=MIN(MA(C,10),MA(C,20));

       STICKLINE(C A30,-4,-3,4,0),COLORGREEN;

       STICKLINE(C B30,-4,-3,4,0),COLORRED;

       STICKLINE(A30 =CANDC =B30,-4,-3,4,0),COLORYELLOW;

       {个股60分钟}

       A60:=MAX(MA(C,20),MA(C,28));

       B60:=MIN(MA(C,20),MA(C,28));

       STICKLINE(C A60,-6,-5,4,0),COLORGREEN;

       STICKLINE(C B60,-6,-5,4,0),COLORRED;

       STICKLINE(A60 =CANDC =B60,-6,-5,4,0),COLORYELLOW;

       A15:=MAX(MA(C,5),MA(C,10));

       B15:=MIN(MA(C,5),MA(C,10));

       STICKLINE(C A15,-2,-1,COLORGREEN,0);

       STICKLINE(C B15,-2,-1,COLORRED,0);

       STICKLINE(A15 =CANDC =B15,-2,-1,COLORYELLOW,0);

       A30:=MAX(MA(C,10),MA(C,20));

       B30:=MIN(MA(C,10),MA(C,20));

       STICKLINE(C A30,-4,-3,COLORGREEN,0);

       STICKLINE(C B30,-4,-3,COLORRED,0);

       STICKLINE(A30 =CANDC =B30,-4,-3,COLORYELLOW,0);

       A60:=MAX(MA(C,20),MA(C,28));

       B60:=MIN(MA(C,20),MA(C,28));

       STICKLINE(C A60,-6,-5,COLORGREEN,0);

       STICKLINE(C B60,-6,-5,COLORRED,0);

       STICKLINE(A60 =CANDC =B60,-6,-5,COLORYELLOW,0);

       LC:=REF(CLOSE,1);

       RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

       VARB:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;

       VARC:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;

       VARD:=BARSCOUNT(CLOSE);

       DBCX:(VARB 20ANDVARC 25ANDVARD 50)*30,COLORBLUE;

       LK:EMA((CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2),COLORRED;

       LD:EMA((CLOSE-MA(CLOSE,10))/MA(CLOSE,10)*480,10),COLORGREEN;

       DRAWTEXT(CROSS(LK,LD)ANDLK -10,-20,'YFT'),COLORYELLOW;

       DRAWICON(CROSS(LK,LD) LK -10 LD REF(LD,1)||CROSS(LK,LD) LD -35,-15,'ICO1');

       MAV:=(2*C+H+L)/4;

       VAR1:=LLV(LOW,4);

       VAR2:=HHV(HIGH,7);

       SKK:EMA((MAV-VAR1)/(VAR2-VAR1)*100,13);

       SD:EMA(0.667*REF(SK,1)+0.333*SKK,2);

       DRAWTEXT(CROSS(SK,SD),SK,'多');

       DRAWTEXT(CROSS(SD,SK),SD,'空');

       A1:=(VOL/CLOSE)/3;

       {A222:=IF(A1 0.29ANDCLOSE REF(CLOSE,1),A1,0);}

       {A22:=SUM(A222,0);}

       A2:=SUM((IF(((A1 0.29)AND(CLOSE (REF(CLOSE,1)))),A1,0)),0);

       A3:=SUM((IF(((A1 0.29)AND(CLOSE (REF(CLOSE,1)))),A1,0)),0);

       A4:=SUM((IF(((A1 0.29)AND(CLOSE (REF(CLOSE,1)))),A1,0)),0);

       A5:=SUM((IF(((A1 0.29)AND(CLOSE (REF(CLOSE,1)))),A1,0)),0);

       A6:=((A2+A3)+A4)+A5;

       A7:=IF((ISLASTBAR=1),((100*A2)/A6),0);

       A8:=((IF((ISLASTBAR=1),((100*A3)/A6),0)));

       A9:=((IF((ISLASTBAR=1),((100*A4)/A6),0)));

       A10:=((IF((ISLASTBAR=1),((100*A5)/A6),0)));

       买盘:(A2),LINETHICK3,COLORFF55FF;

       机构卖盘:(A3),LINETHICK3,COLORFFFF55;

       买盘:(A4),COLOR5555FF;

       散户卖盘:(A5),COLOR55FF55;

       DRAWTEXT(ISLASTBAR=1,机构买盘*0.9,'机构买盘'),LINETHICK2,COLORFF55FF;

       DRAWTEXT(ISLASTBAR=1,机构卖盘,'机构卖盘'),LINETHICK2,COLORFFFF55;

       DRAWTEXT(ISLASTBAR=1,散户买盘,'散户买盘'),LINETHICK2,COLOR5555FF;

       DRAWTEXT(ISLASTBAR=1,散户卖盘,'散户卖盘'),LINETHICK2,COLOR55FF55;


    公式解读:





    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信博弈大师(L2多空分时资金博弈)公式源码分享 加入收藏