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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[大智慧] 自用成交-显示成本分析+基本F10+抄底信号


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-21 17:07:35
自用成交-显示成本分析+基本F10+抄底信号介绍

自用成交-显示成本分析+基本F10+抄底信号

自用成交
从网上收集的源码,自己组合的,多年一直使用,感觉不错的,
参数N=5

DRAWGBKLAST(DATE>900101,STRIP(RGB(75,75,75),RGB(0,0,0),0));
DRAWTEXTABS(10,10,STKLABEL+' '+STKNAME+' '+BKNAME),COLOR00FFFF;
总股本(亿):FINANCE2(35)/10000,COLORYELLOW,LINETHICK0;
流通(亿):FINANCE2(37)/10000,COLORFFFFFF,LINETHICK0;
均价:=(3*C+H+L+O)/6;
VAR1x:=(8*均价+7*REF(均价,1)+6*REF(均价,2)+5*REF(均价,3)+4*REF(均价,4)+3*REF(均价,5)+2*REF(均价,6)+REF(均价,8))/36;
VAR2x:=(LLV(VAR1x,2)+LLV(VAR1x,4)+LLV(VAR1x,6))/3;
SZ1:=REF(VAR1x,1)=REF(VAR2x,1) AND VAR1x>VAR2x AND CLOSE>VAR1x;
SZ2:=VAR1x>VAR2x AND VAR1x>REF(VAR1x,1) AND VAR2x>REF(VAR2x,1) AND H/VAR1x<1.1 AND L>VAR2x AND CLOSE>VAR1x;
SZ3:=VAR1x>VAR2x AND VAR1x>REF(VAR1x,1) AND VAR2x>=REF(VAR2x,1) AND H/VAR1x>1.1;
SZ4:=VAR1x>VAR2x AND VAR1x>REF(VAR1x,1) AND VAR2x>REF(VAR2x,1) AND CLOSE>VAR2x AND CLOSE<VAR1x;
SZ5:=(VAR1x>VAR2x AND VAR2x>REF(VAR2x,1) AND VAR1x<>REF(VAR1x,1) AND CLOSE<VAR2x) OR (VAR1x>VAR2x AND VAR1x<REF(VAR1x,1) AND VAR2x<REF(VAR2x,1) AND CLOSE<VAR2x);
SZ6:=REF(VAR1x,1)>REF(VAR2x,1) AND VAR1x=VAR2x AND CLOSE<VAR2x;
XD1:=VAR1x=VAR2x AND CLOSE<VAR2x OR (VAR1x<REF(VAR1x,1) AND VAR2x<REF(VAR2x,1) AND REF(VAR1x,1)=REF(VAR2x,1) AND CLOSE<VAR2x);
XD2:=VAR1x=VAR2x AND CLOSE>VAR1x;
SAT:=(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N));
量能饱和度:=IF(SAT>1,1,SAT)*100;
IF BARSTATUS=2 AND SZ1 THEN BEGIN
DRAWTEXTABS(320,25,'调整结束短线介入'),COLORRED;
END
ELSE
IF BARSTATUS=2 AND SZ2 THEN BEGIN
DRAWTEXTABS(320,25,'上升通道走势良好'),COLORRED;
END
ELSE
IF BARSTATUS=2 AND SZ3 THEN BEGIN
DRAWTEXTABS(320,25,'股价偏离注意调整'),COLORRED;
END
ELSE
IF BARSTATUS=2 AND SZ4 THEN BEGIN
DRAWTEXTABS(320,25,'上升通道调整洗盘'),COLORGREEN;
END
ELSE
IF BARSTATUS=2 AND SZ5 THEN BEGIN
DRAWTEXTABS(320,25,'转向特征注意离场'),COLORGREEN;
END
ELSE
IF BARSTATUS=2 AND SZ6 THEN BEGIN
DRAWTEXTABS(320,25,'通道改变坚决离场'),COLORGREEN;
END
ELSE
IF BARSTATUS=2 AND XD1 THEN BEGIN
DRAWTEXTABS(320,25,'下跌通道只宜观望'),COLORGREEN;
END
ELSE
IF BARSTATUS=2 AND XD2 THEN BEGIN
DRAWTEXTABS(320,25,'短期底部准备进入'),COLORYELLOW;
END;
AB1:=COST(0.33);
AB2:=COST(5);
AB3:=COST(15);
AB4:=COST(55);
AB5:=COST(97);
AA1:=COST(90);
AA2:=COST(70);
AA3:=COST(30);
AA4:=COST(10);
获利:=WINNER(CLOSE)*100;
套牢:=100-WINNER(CLOSE)*100;
DRAWTEXTABS(15,25,'量能饱和度:'+NUMTOSTRN(量能饱和度,2)+'%'),COLOR00FFFF;
DRAWTEXTABS(15,40,'90成本:'+NUMTOSTRN(AA1,2)),COLOR00FFFF;
DRAWTEXTABS(15,55,'70成本:'+NUMTOSTRN(AA2,2)),COLOR00FFFF;
DRAWTEXTABS(15,70,'30成本:'+NUMTOSTRN(AA3,2)),COLOR00FFFF;
DRAWTEXTABS(15,85,'10成本:'+NUMTOSTRN(AA4,2)),COLOR00FFFF;
VOL,VOLSTICK;
T1:1/VOL*1000>0.01 AND "KDJ.J"<0;
选股:REF(T1,1)=1 AND T1=0;
选股*MIN(vol*3,MA(V,5)*2),COLORYELLOW,LINETHICK3;





 



gd17547

回复

举报

QQ|

GMT+8, 2024-11-17 18:27

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