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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[大智慧] 分享常用的四个大智慧公式


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-22 17:27:04
分享常用的四个大智慧公式介绍

分享常用的四个大智慧公式

1,买卖点(高抛低吸)有未来,用它来校正其他公式准确率。VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
VAR2:=HIGH-REF(HIGH,1);
VAR3:=REF(LOW,1)-LOW;
VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);
VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);
VAR6:=VAR4*100/VAR1;
VAR7:=VAR5*100/VAR1;
VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);
VAR9:=(VAR8+REF(VAR8,15))/2;
A:=(VAR7>VAR6 AND VAR7>25 AND VAR6<25);
B:ZIG(3,50/5)*100,COLORWHITE;
G:MA(B,2),COLORYELLOW;
D:=CROSS(B,G)*1000,COLORRED;
W:=CROSS(G,B)*1000,COLORBLUE;
E:=REF(INDEXC,1);
F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);
VAR10:=F AND F<8;
VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR12:=SMA(VAR11,3,1);
VAR13:=SMA(VAR12,3,1);
VAR14:=VAR13 AND VAR13<20;
MM:=A AND D AND VAR10 AND VAR14 ;
DRAWTEXT(W=1000,B*1.10,'高抛' ),COLOR00FF00;
DRAWTEXT(D=1000,B*1.10,'低吸'),COLORRED;



2,kdj20以下金叉,二十以下金叉KDJ:IF(cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)) and "kdj.k"(9,3,3)<20,15,0),COLOR00FF00;
DRAWTEXT(cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)) and "kdj.k"(9,3,3)<20,15,'KDJ'),COLORyellow;
DRAWTEXT(cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)) and "kdj.k"(9,3,3)<20,11,'20以下金叉'),COLORyellow;


3,三均线粘合,二十以下金叉KDJ:IF(cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)) and "kdj.k"(9,3,3)<20,15,0),COLOR00FF00;
DRAWTEXT(cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)) and "kdj.k"(9,3,3)<20,15,'KDJ'),COLORyellow;
DRAWTEXT(cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)) and "kdj.k"(9,3,3)<20,11,'20以下金叉'),COLORyellow;




4,判断个股走势强弱,六剑齐发:DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);
DEA:=EMA(DIFF,5);
DRAWICON(DIFF>DEA,1,1);
DRAWICON(DIFF<DEA,1,2);
{DRAWTEXTABS(0,70,'.MACD'),COLORFFFFFF;}
A1:=DIFF>DEA;
MACDX:=IF(A1,1,0);
RSV1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
K:=SMA(RSV1,3,1);
D:=SMA(K,3,1);
DRAWICON(K>D,2,1);
DRAWICON(K<D,2,2);
{DRAWTEXTABS(0,59,'.KDJ'),COLORFFFFFF;}
A2:=K>D;
KDJX:=IF(A2,2,0);
LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;
DRAWICON(RSI1>RSI2,3,1);
DRAWICON(RSI1<RSI2,3,2);
{DRAWTEXTABS(0,47,'.RSI'),COLORFFFFFF;}
A3:=RSI1>RSI2;
RSIX:=IF(A3,3,0);
RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
LWR1:=SMA(RSV,3,1);
LWR2:=SMA(LWR1,3,1);
DRAWICON(LWR1>LWR2,4,1);
DRAWICON(LWR1<LWR2,4,2);
{DRAWTEXTABS(0,35,'.LWR'),COLORFFFFFF;}
A4:=LWR1>LWR2;
LWRX:=IF(A4,4,0);
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
DRAWICON(CLOSE>BBI,5,1);
DRAWICON(CLOSE<BBI,5,2);
{DRAWTEXTABS(0,23,'.BBI'),COLORFFFFFF;}
A5:=CLOSE>BBI;
BBIX:=IF(A5,5,0);
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);
MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);
DRAWICON(MMS>MMM,6,1);
DRAWICON(MMS<MMM,6,2);
{DRAWTEXTABS(0,11,'.MTM'),COLORFFFFFF;}
A6:=MMS>MMM;
MTMX:=IF(A6,6,0);

六箭齐发:=A1+A2+A3+A4+A5+A6=6;
STICKLINE(六箭齐发=1 AND REF(六箭齐发,1)=0,1,2,0,0);
 



gd11750

回复

举报

QQ|

GMT+8, 2024-11-18 12:21

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