您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:关于临界起涨点主图的改进 和选股公式(源码 有图 说明 思路)

关于临界起涨点主图的改进 和选股公式(源码 有图 说明 思路)


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2011-03-12 09:58:00
公式简介:



前段时间 在理想论坛看到给力100%的临界起涨主图的源码 :M:=88;N1:=6;VAR0A:=EMA(EMA(EMA(CLOSE,2),2),2);MA13:(MA(VAR0A,13)*0.99),COLORYELLOW;
TLAMSENR:=MAX(MAX((HIGH-LOW),ABS((REF(CLOSE,1)-HIGH))),ABS((REF(CLOSE,1)-LOW)));
ATR:=MA(TLAMSENR,13);VAR1A:=(REF(CLOSE,1)-REF(ATR,1));
黄金线:(HHV(VAR1A,12)),LINETHICK2,COLOR0080FF;VAR1:=EMA(AMOUNT/VOL/100,3);
控盘成本:EMA(VAR1,M),LINETHICK1,COLORRED;低吸伏击:EMA(VAR1,M)*0.85,COLORCYAN ,LINETHICK1;

走势铁底:低吸伏击*0.87,LINETHICK1,COLORLIMAGENTA;VAR2:=LOW<=走势铁底 AND CLOSE>REF(CLOSE,1)*1.02;
IF(控盘成本<REF(控盘成本,1),控盘成本,DRAWNULL),LINETHICK1,COLORGREEN;DRAWICON(FILTER(VAR2,N1),L-0.55,5);


思路:觉得有必要把MA13和黄金线交叉的起涨点,用源码体现出来再加上量柱指标源码 这样可以方便分析股票的趋势
 


 






下面是改进的源码

{DRAWBAND(MA(CLOSE,5),RGB(140,42,43),MA(CLOSE,24),RGB(31,72,46));
DRAWKLINE(H,O,L,C);}
TJ:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;
{DRAWTEXT(TJ,LOW*0.986,'↖高量柱'),COLORYELLOW;}
STICKLINE(TJ,OPEN,CLOSE,1.5,0),COLORYELLOW;
K1:=SUMBARS(TJ,1);
STICKLINE(K1,REF(C,K1-1),REF(C,K1-1),10,0),COLORYELLOW;
M:=88;N1:=6;VAR0A:=EMA(EMA(EMA(CLOSE,2),2),2);MA13:(MA(VAR0A,13)*0.99),COLORYELLOW;
TLAMSENR:=MAX(MAX((HIGH-LOW),ABS((REF(CLOSE,1)-HIGH))),ABS((REF(CLOSE,1)-LOW)));
ATR:=MA(TLAMSENR,13);VAR1A:=(REF(CLOSE,1)-REF(ATR,1));
黄金线:(HHV(VAR1A,12)),LINETHICK2,COLOR0080FF;VAR1:=EMA(AMOUNT/VOL/100,3);
控盘成本:EMA(VAR1,M),LINETHICK1,COLORRED;低吸伏击:EMA(VAR1,M)*0.85,COLORCYAN ,LINETHICK1;

走势铁底:低吸伏击*0.87,LINETHICK1,COLORLIMAGENTA;VAR2:=LOW<=走势铁底 AND CLOSE>REF(CLOSE,1)*1.02;
IF(控盘成本<REF(控盘成本,1),控盘成本,DRAWNULL),LINETHICK1,COLORGREEN;DRAWICON(FILTER(VAR2,N1),L-0.55,5);

DRAWICON(CROSS(MA13,黄金线)AND MA13>REF(MA13,1),L,1);
DRAWICON(CROSS(黄金线,MA13)AND MA13>REF(MA13,1),L,1);
{涨跌停显示}
涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),1,0);
STICKLINE(涨停,O,C,3,0),COLORRED;
ZDF:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(ZDF<-9.9,O,C,3,0),COLORGREEN;

选股公式为:VAR0A:=EMA(EMA(EMA(CLOSE,2),2),2);
MA13:=(MA(VAR0A,13)*0.99),COLORYELLOW;
TLAMSENR:=MAX(MAX((HIGH-LOW),ABS((REF(CLOSE,1)-HIGH))),ABS((REF(CLOSE,1)-LOW)));
ATR:=MA(TLAMSENR,13);VAR1A:=(REF(CLOSE,1)-REF(ATR,1));
黄金线:=(HHV(VAR1A,12)),LINETHICK2,COLOR0080FF;VAR1:=EMA(AMOUNT/VOL/100,3);

XG:DRAWICON(CROSS(MA13,黄金线)AND MA13>REF(MA13,1),L,1)OR DRAWICON(CROSS(黄金线,MA13)AND MA13>REF(MA13,1),L,1);
 


[url=http://www.goodgupiao.com/gupiaogongshi/12742.html][B]关于临界起涨点主图的改进 和选股公式(源码 有图 说明 思路)[/B][/url]