股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信红色出击指标公式


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2023-10-9 00:03:26

以下是通达信红色出击指标公式

工作线:=MA(CLOSE,1);

趋势线:MA(CLOSE,18)COLORGREEN,LINETHICK2;

强势线:MA(CLOSE,3)COLORRED,LINETHICK2;

TT2:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);

TT1:=REF(EMA(TT2,3),1);

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

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

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

J:=3*K-2*D;

LC:=REF(CLOSE,1);

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

FF:=EMA(CLOSE,3);

稻壳1:EMA(CLOSE,144),POINTDOT,COLORWHITE;

稻壳2:EMA(C,318);

AA1:=AMOUNT/VOL;

BB1:=L<AA1*0.9;

CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;

DD1:=L<MA(C,5)*0.921;

EE1:=VOL<MA(V,5)*1.5;

FF1:=BB1 AND CC1 AND DD1 AND EE1;

F:=100*(C-REF(C,1))/REF(C,1);

P1:=IF(C<REF(O,1) AND F<0,1,0);

P2:=IF(C<REF(O,2) AND F<0,1,0);

TT3:=P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1 ;

TT4:=P1=1 AND REF(P1,1)=0 AND P2=1 AND REF(P2,1)=0 ;

Z1:=MA(C,13);

ZX:=REF(Z1,13/2+1);

DRAWICON(CROSS(ZX,C),H*1.01,2);

DRAWTEXT(CROSS(工作线,趋势线)AND J<55,LOW,入)COLORWHITE;

DRAWTEXT(CROSS(CLOSE,TT1)AND J<55,LOW,买),COLORRED;

DRAWTEXT(CROSS(88,RSI),HIGH * 1.02,顶),COLOR00FFFF;

DRAWTEXT(FF1,L*0.99,超短),COLOR00FF00;

STICKLINE(TT3,OPEN,CLOSE,3,0),COLORFF00FF;

STICKLINE(TT4,OPEN,CLOSE,3,0),COLORGREEN;

TT5:=5;

V1:=MA(HIGH,30)*1.15;

V2:=MA(HIGH,3)*1.03;

V3:=MA(LOW,3)*0.97;

V4:=MA(LOW,30)*0.85;

GET:ZIG(3,TT5)COLORWHITE,LINETHICK2;



回复

举报

QQ|

GMT+8, 2024-11-17 11:33

快速回复 返回顶部 返回列表