当前位置:首页 > 公式 > 通达信公式 >
通达信智能分时买卖主图指标公式
来源:互联网浏览次数: 整理:股票入门学习大学网

TT2:=1000;

{PLOYLINE(C,C),LINETHICK2,COLORBLACK;

最新:CLOSE,COLORWHITE;}

JDFX:='SHBX.JX';

JXX:=IF(CLOSE>500,SUM(AMOUNT,0)/SUM(V,0),SUM(AMOUNT,0)/SUM(V,0)/100);

{DRAWTEXT_FIX(1,0.5,0,0,CON2STR(JX,2));}

木子0:=(BARSLAST(((HOUR = 9) AND (MINUTE = 31))) + 1); {到9:30多少分钟了}

木子1:={((AMOUNT / VOL) / 100)}JXX{1分均价};

木子2:=(SUM((CLOSE * VOL),0) / SUM(VOL,0));

木子3:=(((SETCODE = 0) OR (SETCODE = 1)) AND (CLOSE < 500));{任何A股};

HHH:=IF(((SETCODE < 2) AND (CONST(木子0) < 241)),CONST(IF((TIME < TT2),HHV(CLOSE,0),SUM((IF((TIME = TT2),1,0) * HHV(CLOSE,0)),0))),DRAWNULL){,DOTLINE,COLORFF0000};

{开盘时间内,如果时间<=10点,HHH=最高价}

LLL:=IF(((SETCODE < 2) AND (CONST(木子0) < 241)),CONST(IF((TIME < TT2),LLV(CLOSE,0),SUM((IF((TIME = TT2),1,0) * LLV(CLOSE,0)),0))),DRAWNULL){,DOTLINE,COLORFF0000};

{开盘时间内,如果时间<=10点,LLL=最低价。}

木子6:=IF(木子3,木子1,木子2);{取均价}

木子7BAK:='SHBX.MACS#DAY';{昨前日高低均价/4}

木子7:='SHBX.SHBZF#DAY';

木子8:=(木子7 * 1.3);

木子9:=((CLOSE>REF(CLOSE,1)) AND ((CLOSE/木子6)>(1+(木子7/100))));

{分时线向上且到均价距离超过}

木子10:=((CLOSE < REF(CLOSE,1)) AND ((CLOSE / 木子6) < (1 - (木子7 / 100))));

HH1:((REF(SUM(木子9,0),1) = 0) AND (SUM(木子9,0) = 1)),NODRAW;

DRAWTEXT_FIX(1,0.5,0,0,CON2STR(HH1,2));

{上一分钟木子9不成立这一分钟刚成立}

LL1:((REF(SUM(木子10,0),1) = 0) AND (SUM(木子10,0) = 1)),NODRAW;

木子13:=(SUM(HH1,0) * CROSS(COUNT((CLOSE < REF(CLOSE,1)),BARSLAST(HH1)),0.5));

{HH1成立并且从HH1成立后第一次分时线向下}

木子14:=(SUM(LL1,0) * CROSS(COUNT((CLOSE > REF(CLOSE,1)),BARSLAST(LL1)),0.5));

CS1:CONST(SUM(IF(木子13,REF(CLOSE,1),DRAWNULL),0)),LINETHICK2,COLORGREEN;

CB1:CONST(SUM(IF(木子14,REF(CLOSE,1),DRAWNULL),0)),LINETHICK2,COLORMAGENTA;

HH2:=CROSS(SUM((木子9 AND (CLOSE > (CS1 * (1 + (木子8 / 100))))),0),0.5),NODRAW;

{木子9成立并且股价>CS1(第一条线)的(1+木子7)*1.3倍}

LL2:=CROSS(SUM((木子10 AND (CLOSE < (CB1 * (1 - (木子8 / 100))))),0),0.5),NODRAW;

木子19:=(SUM(HH2,0) * CROSS(COUNT((CLOSE < REF(CLOSE,1)),BARSLAST(HH2)),0.5));

木子20:=(SUM(LL2,0) * CROSS(COUNT((CLOSE > REF(CLOSE,1)),BARSLAST(LL2)),0.5));

CS2:CONST(SUM(IF(木子19,REF(CLOSE,1),DRAWNULL),0)),COLORGREEN;

CB2:CONST(SUM(IF(木子20,REF(CLOSE,1),DRAWNULL),0)),COLORMAGENTA;{

DRAWICON((HH1 OR HH2),(CLOSE * 1.001),39);}

{DRAWTEXT((HH1 OR HH2),C*0.995,'准备卖'),COLORGREEN;}{

DRAWICON((LL1 OR LL2),(CLOSE * 0.999),38);}

{DRAWTEXT((LL1 OR LL2),C*1.005,'准备买'),COLORMAGENTA;}{

DRAWICON((木子14 OR 木子20),(REF(CLOSE,1) * 0.999),7);

DRAWICON((木子13 OR 木子19),(REF(CLOSE,1) * 1.001),8);}

DRAWTEXT((木子13 OR 木子19),(REF(CLOSE,1) * 1.001),'卖'),COLORYELLOW;

DRAWTEXT((木子14 OR 木子20),(REF(CLOSE,1)*0.999),'买'),COLORYELLOW;

价位:CLOSE,LINETHICK4,COLORWHITE;

个股基数:='SHBX.GGS1#DAY';

个股基数2:='SHBX.GGB1#DAY';

K1:='SHBX.K1';

D1:='SHBX.D1';

J1:='SHBX.J1';

JJX:=SUM(AMOUNT,0)/SUM(VOL,0)/100;

H1:=C>REF(C,1) AND C/JJX>1.06;

L1:=C<REF(C,1) AND C/JJX<0.94;

DRAWICON(CROSS(个股基数2,K1) AND COUNT(K1<D1,5)=5 AND D1<REF(D1,1) OR FILTER(L1,400),C*0.995,1);

DRAWICON(CROSS(K1,个股基数) AND COUNT(K1>D1,5)=5 AND D1>REF(D1,1) OR FILTER(H1,400),C*1.005,2);

通达信智能分时买卖主图指标公式

股票公式结合软件的应用属于进阶阶段的股票学了,我们整理网上提出的通达信智能分时买卖主图指标公式的问题一些解决方案仅供辅助你学习通达信公式参考,具体内容可能需要具体解决或者找网上其他高手帮忙,也感谢文字和图片来源于股旁网的一些资源分享,帮助新手快速学习提高炒股技能。

声明:通达信智能分时买卖主图指标公式的文字和图片来源于网络,版权归原作者所有,仅代表个人观点,于本站无关。

随便说说

评论精选

    还没有相关评论,快来抢沙发吧!