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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[大智慧] 财富精灵(附图源码)


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-22 17:21:13
财富精灵(附图源码)介绍

财富精灵(附图源码)

财富精灵A: EMA(CLOSE,3) - EMA(CLOSE,8),COLORYELLOW;
财富精灵B: EMA(财富精灵A,5),COLORFFFF55;
财富精灵: 财富精灵A,COLORSTICK;
强弱线:0,COLORWHITE;

STICKLINE(财富精灵<REF(财富精灵,1)AND 财富精灵>0,0,财富精灵,1.5,0 ),COLOR00008C;
STICKLINE(财富精灵<REF(财富精灵,1)AND 财富精灵>0,0,财富精灵,1.255,0 ),COLOR00009F;
STICKLINE(财富精灵<REF(财富精灵,1)AND 财富精灵>0,0,财富精灵,1,0 ),COLOR0000BC;
STICKLINE(财富精灵<REF(财富精灵,1)AND 财富精灵>0,0,财富精灵,0.75,0 ),COLOR0000D5;
STICKLINE(财富精灵<REF(财富精灵,1)AND 财富精灵>0,0,财富精灵,0.5,0 ),COLOR0000EE;
STICKLINE(财富精灵<REF(财富精灵,1)AND 财富精灵>0,0,财富精灵,0.25,0 ),COLOR0000FF;

STICKLINE(财富精灵>=REF(财富精灵,1)AND 财富精灵>0,0,财富精灵,1.5 ,0 ),COLOR00008C;
STICKLINE(财富精灵>=REF(财富精灵,1)AND 财富精灵>0,0,财富精灵,1.25 ,0 ),COLOR00009F;
STICKLINE(财富精灵>=REF(财富精灵,1)AND 财富精灵>0,0,财富精灵,1,0 ),COLOR0000BC;
STICKLINE(财富精灵>=REF(财富精灵,1)AND 财富精灵>0,0,财富精灵,0.75 ,0 ),COLOR0000D5;
STICKLINE(财富精灵>=REF(财富精灵,1)AND 财富精灵>0,0,财富精灵,0.5 ,0 ),COLOR0000EE;
STICKLINE(财富精灵>=REF(财富精灵,1)AND 财富精灵>0,0,财富精灵,0.25 ,0 ),COLOR0000FF;

STICKLINE(财富精灵>REF(财富精灵,1)AND 财富精灵<0,0,财富精灵,1.5,0 ),COLOR065400;
STICKLINE(财富精灵>REF(财富精灵,1)AND 财富精灵<0,0,财富精灵,1.25 ,0 ),COLOR108300;
STICKLINE(财富精灵>REF(财富精灵,1)AND 财富精灵<0,0,财富精灵,1,0 ),COLOR139400;
STICKLINE(财富精灵>REF(财富精灵,1)AND 财富精灵<0,0,财富精灵,0.75,0 ),COLOR1EC200;
STICKLINE(财富精灵>REF(财富精灵,1)AND 财富精灵<0,0,财富精灵,0.5 ,0 ),COLOR24E400;
STICKLINE(财富精灵>REF(财富精灵,1)AND 财富精灵<0,0,财富精灵,0.25 ,0 ),COLOR2AFF00;

STICKLINE(财富精灵<=REF(财富精灵,1)AND 财富精灵<0,0,财富精灵,1.5,0 ),COLOR065400;
STICKLINE(财富精灵<=REF(财富精灵,1)AND 财富精灵<0,0,财富精灵,1.25 ,0 ),COLOR108300;
STICKLINE(财富精灵<=REF(财富精灵,1)AND 财富精灵<0,0,财富精灵,1,0 ),COLOR139400;
STICKLINE(财富精灵<=REF(财富精灵,1)AND 财富精灵<0,0,财富精灵,0.75 ,0 ),COLOR1EC200;
STICKLINE(财富精灵<=REF(财富精灵,1)AND 财富精灵<0,0,财富精灵,0.5 ,0 ),COLOR24E400;
STICKLINE(财富精灵<=REF(财富精灵,1)AND 财富精灵<0,0,财富精灵,0.25 ,0 ),COLOR2AFF00;

低位金叉:=CROSS(财富精灵A,财富精灵B) AND 财富精灵A<-0.1;
DRAWICON(低位金叉,财富精灵B*1.08,1);

JCCOUNT:=COUNT(CROSS(财富精灵A,财富精灵B),BARSLAST(财富精灵B>=0));
二次金叉:=CROSS(财富精灵A,财富精灵B) AND 财富精灵B<0 AND COUNT(JCCOUNT=2,21)=1;
DRAWICON(二次金叉,财富精灵B*1.18,1);

零轴:=财富精灵=0;
芙蓉出水:=CROSS(财富精灵A,零轴)>0.1;

死叉:=CROSS(财富精灵B,财富精灵A) AND 财富精灵A>0.1;
{DRAWICON(死叉,财富精灵B*1.38,2);}

A1:=BARSLAST(REF(CROSS(财富精灵A,财富精灵B),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND 财富精灵A>REF(财富精灵A,A1+1) AND CROSS(财富精灵A,财富精灵B);
DRAWICON(底背离,底背离*0.1,9);

A2:=BARSLAST(REF(CROSS(财富精灵B,财富精灵A),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(财富精灵A,A2+1)>财富精灵A AND CROSS(财富精灵B,财富精灵A);
DRAWICON(顶背离,强弱线,15);
 



gd13650

回复

举报

QQ|

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

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