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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[同花顺] 同花顺兔子寻宝副图指标 源码


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-26 09:59:38
同花顺兔子寻宝副图指标 源码介绍

同花顺兔子寻宝副图指标 源码

兔子寻宝,可用来参考,仅作参考,有待时间验证。

兔子:(46.18*EMA(CLOSE,10)-31.82*EMA(CLOSE,4))/14.36,LINETHICK1;
J:=SUM(VOL*CLOSE,5)/SUM(VOL,5);
寻宝:EMA(J,2),colorwhite,LINETHICK1;
DRAWICON((CROSS(寻宝,兔子)),兔子,10);
DRAWTEXT((CROSS(寻宝,兔子)),兔子,' 兔兔↑介入'),COLOR00FF00;
买线:=EMA(CLOSE,2);
卖线:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
专用:MA(CLOSE,10), COLORFF00FF;
IF(专用>=REF(专用,1),专用,0), POINTDOT,LINETHICK7,COLOR000099;
IF(专用>=REF(专用,1),专用,0), POINTDOT,LINETHICK5,COLOR0000FF;
IF(专用>=REF(专用,1),专用,0), POINTDOT,LINETHICK2,COLOR999999;
IF(专用<REF(专用,1),专用,0),POINTDOT,LINETHICK7 ,COLOR009900;
IF(专用<REF(专用,1),专用,0),POINTDOT,LINETHICK5 ,COLOR00FF00;
IF(专用<REF(专用,1),专用,0),POINTDOT,LINETHICK2 ,COLOR999999;
STICKLINE(买线>=卖线,CLOSE,OPEN,5,0),COLORFF66FF;
STICKLINE(买线>=卖线,CLOSE,OPEN,4,0),COLORFF88FF;
STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),COLORFF99FF;
STICKLINE(买线>=卖线,CLOSE,OPEN,2,0),COLORFFAAFF;
STICKLINE(买线>=卖线,CLOSE,OPEN,1,0),COLORFFBBFF;
STICKLINE(买线>=卖线,LOW,HIGH,0.3,0),COLORFFBBFF;
STICKLINE(买线<卖线,CLOSE,OPEN,5,0),COLOR00BB00;
STICKLINE(买线<卖线,CLOSE,OPEN,4,0),COLOR00CC00;
STICKLINE(买线<卖线,CLOSE,OPEN,3,0),COLOR00DD00;
STICKLINE(买线<卖线,CLOSE,OPEN,2,0),COLOR00EE00;
STICKLINE(买线<卖线,CLOSE,OPEN,1,0),COLOR00FF00;
STICKLINE(买线<卖线,LOW,HIGH,0.3,0),COLOR00FF00;
STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,4.5,0),COLOR00FFFF;
限制:=EMA((((HIGH+CLOSE)/2+LOW+(CLOSE+LOW)/2)/3-EMA(LLV(((HIGH+CLOSE)/2+LOW+(CLOSE+LOW)/2)/3,89),2))/(EMA(HHV (((HIGH+CLOSE)/2+LOW+(CLOSE+LOW)/2)/3,21),2)-EMA(LLV(((HIGH+CLOSE)/2+LOW+(CLOSE+LOW)/2)/3,89),2)),8)*100;
平衡:=SMA(EMA(SMA((CLOSE+LOW)/2,3,1),3),5,1);
DRAWICON(FILTER(平衡>REF(平衡,1)AND HHV(MA((HIGH+CLOSE)/2,13),10)<REF(HHV(MA((HIGH+CLOSE)/2,13),10),1)AND((CLOSE+LOW)/2)>REF((CLOSE+LOW)/2,1),5)AND 限制<88,LOW*0.97,13);
DRAWTEXT(FILTER(平衡>REF(平衡,1)AND HHV(MA((HIGH+CLOSE)/2,13),10)<REF(HHV(MA((HIGH+CLOSE)/2,13),10),1)AND((CLOSE+LOW)/2)>REF((CLOSE+LOW)/2,1),5)AND 限制<88,LOW*0.97,'兔子↑追涨'),COLORFFFF33;
一剑封喉:=((CROSS(CLOSE,MA(CLOSE,13)) AND CROSS(CLOSE,MA(CLOSE,34))) AND CROSS(CLOSE,MA(CLOSE,55)));
A1:=(((CLOSE - LLV(LOW,22)) / (HHV(HIGH,22) - LLV(LOW,22))) * 100);
A2:=(((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100);
A:=((3 * SMA(A1,5,1)) - (2 * SMA(SMA(A2,5,1),3,1)));
YNGS:=(一剑封喉 AND (A < 30));
DRAWICON((一剑封喉 AND (A < 30)),(LOW * 0.99),1);
DRAWTEXT((一剑封喉 AND (A < 30)),(LOW * 0.99),'兔子↑封喉'),coloryellow;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT(EMA(EMA(CLOSE,13),50)>EMA(EMA(CLOSE,13),50*3) AND CROSS(84,RSI), HIGH*1.02,'风↓险'),COLOR00FF33;
DRAWTEXT(EMA(EMA(CLOSE,13),50)<EMA(EMA(CLOSE,13),50*3) AND CROSS(80,RSI), HIGH*1.02,'风↓险'),COLOR00FF33;
AAA:=(MA(CLOSE,13)+MA(CLOSE,17))/2;
CCC:=(STD(CLOSE,13)+STD(CLOSE,17))/2;
BBB:=AAA+2.1*CCC;
DDD:=AAA+0.72*CCC;
ZZZ:=IF(CCC>1.88,MA(DDD,3),DDD);
DRAWTEXT(CLOSE>=1.09*REF(CLOSE,1),CLOSE,'涨停◆啦'),coloryellow;
SFF:=HIGH/REF(HIGH,1)<1 AND REF(HIGH,1)/REF(HIGH,2)<1 AND LOW/REF(LOW,1)>1 AND REF(LOW,1)/REF(LOW,2)>1 ;
DRAWTEXT(SFF,LOW*0.95,'提醒你!关注'),colorred;






gd48200

回复

举报

QQ|

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

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