【模板下载网站源码】【网页源码 命令】【Java显示源码】通达信灯塔公式源码_灯塔指标公式

时间:2024-12-29 09:45:26 编辑:ecshop 拼团源码 来源:手撕白菜源码

1.股票指标公式怎么用呀

通达信灯塔公式源码_灯塔指标公式

股票指标公式怎么用呀

       打开通达讯,通达塔公塔按Ctrl+F到“公式管理器”---点“新建”---将上面的信灯模板下载网站源码公式复制到最大的空白栏里面---再填写"公式名称"---再点"测试公式",如果不能通过就是式源式网页源码 命令公式有误!

       你上面的码灯Java显示源码公式在通达讯里面测试不能通过!

       下面是通达塔公塔cs平台源码(五里灯塔)公式:

       N1:=5;N2:=;

       STICKLINE(C>0,0,,,0),COLOR;

       LC:=REF(CLOSE,1);

       RSI5:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*,COLORFFFF,LINETHICK1;

       RSI:SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*,COLORFFFF;

       VAR1:=C-REF(C,1);

       VAR2:=*EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6);

       MA5:=EMA(C,5);

       MA:=EMA(C,);

       UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA,MA5))+1),LLV(L,BARSLAST(CROSS

       (MA,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA))+1),HHV(H,BARSLAST(CROSS

       (MA5,MA))+1),0),COLORFF;

       DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA))+1),HHV(H,BARSLAST(CROSS

       (MA5,MA))+1),L=LLV(L,BARSLAST(CROSS(MA,MA5))+1),LLV(L,BARSLAST(CROSS

       (MA,MA5))+1),0),COLORFF;

       BT:(LLV(VAR2,2)=LLV(VAR2,7) AND COUNT(VAR2<0,2) AND CROSS(VAR2,MA(VAR2,2))) AND

       REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1);

       0,COLORFFFF;

       ,COLORFF;

       STICKLINE(UP,0,0.2,3,0),COLORFF;

       STICKLINE(DOWN,0,0.2,3,0),COLORFF;

       STICKLINE(BT,0,3,2,0),COLOR;

       STICKLINE(BT,0,3,1,0),COLORCC;

       STICKLINE(BT,0,3,0.,0),COLORFF;

       DRAWTEXT(BT,3,'短牛'),COLORFF;

       TJ1:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HHV(H,)*0.;

       STICKLINE(TJ1,0,2,3,0),COLOR;

       STICKLINE(TJ1,0,2,1.5,0),COLORAAAA;

       STICKLINE(TJ1,0,2,0.8,0),COLORCCCC;

       STICKLINE(TJ1,0,2,0.2,0),COLORFFFF;

       DRAWTEXT(TJ1,2,'中牛'),COLORFFFF;

       HR:=HHV(HIGH,);

       HRY:=LLV(LOW,);

       HRY:=HR*HRY;

       HRY:=SQRT(HRY);

       TJ2:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HRY;

       STICKLINE(TJ2,0,1,5,0),COLOR;

       STICKLINE(TJ2,0,1,2,0),COLORAAAA;

       STICKLINE(TJ2,0,1,1,0),COLORCCCC;

       STICKLINE(TJ2,0,1,0.2,0),COLORFFFF;

       DRAWTEXT(TJ2,1,'大牛'),COLORFFFF;

       ST:=REF(UP,1)>REF(UP,2) AND DOWN<REF(UP,1);

       STICKLINE(ST,,9,5,0),COLOR;

       STICKLINE(ST,,9,2,0),COLORAA;

       STICKLINE(ST,,9,1,0),COLORCC;

       STICKLINE(ST,,9,0.2,0),COLORFF;

       DRAWTEXT(ST,9,'卖'),COLORFF;

       DRAWTEXT(CURRBARSCOUNT=,9.5,'★本指标适合抄底及波段特征明显个股,暴跌

       途中慎用!!'),COLORFF;

       DRAWTEXT(CURRBARSCOUNT=,8.7,'★大牛:长线大牛股,目标翻倍;

       中短牛:天目标%-%!!'),COLORFF;

       DRAWTEXT(CURRBARSCOUNT=,8.0,'★以上信号结合RSI低位时用更加可靠,盘整市中信号偏多!!'),COLORFF;

       DRAWTEXT(CURRBARSCOUNT=,7.3,'★当大牛\中牛\短牛同一天出现时,

       果断买入!!'),COLORFFFF;

       下面是(操盘手B买S卖)公式:

       买线:=EMA(C,2);

       卖线:=EMA(SLOPE(C,)*+C,);

       BU:=CROSS(买线,卖线);

       SEL:=CROSS(卖线,买线);

       DRAWTEXT(BU,LOW*0.,'B'),COLORRED,LINETHICK3;

       DRAWTEXT(BU,LOW,''),COLORFFF,LINETHICK3;

       DRAWTEXT(SEL,HIGH,''),COLORFFFF,LINETHICK3;

       DRAWTEXT(SEL,HIGH*1.,'S'),COLORFFFF,LINETHICK3;

       STICKLINE(买线>=卖线,LOW,HIGH,1,0),COLORRED;

       STICKLINE(买线>=卖线,CLOSE,OPEN,4.5,0),COLORAA;

       STICKLINE(买线>=卖线,CLOSE,OPEN,4,0),COLORCC;

       STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),COLORCC;

       STICKLINE(买线>=卖线,CLOSE,OPEN,2,0),COLOREE;

       STICKLINE(买线<卖线,CLOSE,OPEN,4.5,0),COLORAAAA;

       STICKLINE(买线<卖线,CLOSE,OPEN,4,0),COLORBBBB;

       STICKLINE(买线<卖线,CLOSE,OPEN,3,0),COLORCCCC;

       STICKLINE(买线<卖线,CLOSE,OPEN,2,0),COLOREEEE;

       STICKLINE(买线<卖线,LOW,HIGH,1,0),COLORFFFF;

       STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,3,0),COLORFFFF;

       指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,)+EMA(CLOSE,))/4,2),LINETHICK1,COLORFFFFFF;

       界: MA(CLOSE,),LINETHICK1,COLORFFFF;

       DRAWTEXT(CROSS(指导线,界),界,''),COLORFFFFFF;

       DRAWTEXT(CROSS(界,指导线),界,''),COLORFFFF;

       RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*;

       K:=SMA(RSV,3,1);

       D:=SMA(K,3,1);

       J:=3*K-2*D;

       G:=;

       DRAWTEXT(CROSS(J,D),L*0.,''),COLORFFFF,LINETHICK4;

       DRAWTEXT(CROSS(J,D),L,''),COLORFFFF;

       DRAWTEXT(CROSS(J,G),H*1.,''),COLORFFFF,LINETHICK4;

       DRAWTEXT(CROSS(J,G),H,''),COLORFFFF;

       如果还需要更多的公式,请发邮件给我:zjg@.com

       希望你在股海里满载而归!信灯excel 源码 点阵!式源式!码灯

通达塔公塔