小猛超强指标+选股公式

 

公式源码
{精确定位起涨第一日}
T1:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLOR0080FF;
T2:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLOR008000;
T3:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORFF8000;
T4:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLOR00FFFF;
{白金}
{白金星星点灯} {20T 10% 100%}
AA1:=BARSLAST(CROSS(30,T1))<2 AND BARSLAST(CROSS(T1,50))<2;
BB1:=BARSLAST(CROSS(T4,T1))<2 AND T1>T4;
EE1:=T1>60 AND T4>70;
白金:AA1 AND BB1 AND EE1,NODRAW,COLORWHITE;
{黄金} {黄金星星点灯} {20T 10% 94.05%}
AA2:=BARSLAST(CROSS(50,T1))<3 AND BARSLAST(CROSS(T1,50))<3;
BB2:=BARSLAST(CROSS(T4,T1))<2 AND T1>T4;
黄金:AA2 AND BB2,NODRAW,COLORYELLOW;
{天瀑} {启动金三角 (捉中线牛股起涨点)}
XG1:=BARSLAST(CROSS(T4,T1))<5 AND T1>T4;
天瀑:COUNT(XG1,3)=1 AND XG1,NODRAW,COLORRED;
{日月} {短线追涨 (高位横盘突破)}
A:=BARSLAST(CROSS(97,T1))<=1 AND BARSLAST(CROSS(T1,85))<=1;
B:=BARSLAST(CROSS(97,T2))<=1 AND BARSLAST(CROSS(T2,85))<=1;
A1:=A AND B;
AA:=BARSLAST(CROSS(97,T1))<=2 AND BARSLAST(CROSS(T1,85))<=1;
BA:=BARSLAST(CROSS(97,T2))<=2 AND BARSLAST(CROSS(T2,85))<=1;
A2:=AA AND BA ;
AAA:=BARSLAST(CROSS(97,T1))<=3 AND BARSLAST(CROSS(T1,85))<=1;
BAA:=BARSLAST(CROSS(97,T2))<=3 AND BARSLAST(CROSS(T2,85))<=1;
A3:=AAA AND BAA ;
B1:=REF(A1,1);
B2:=REF(A2,1);
B3:=REF(A3,1);
D1:=T1=100 AND T2=100 AND A1 ;
D2:=T1=100 AND T2=100 AND A2 ;
D3:=T1=100 AND T2=100 AND A3 ;
日月:D1 OR D2 OR D3,NODRAW,COLORCYAN;
{青干}{蓝三角启动
(精确定位起涨第一日)}
AA3:=BARSLAST(CROSS(95,T1))<=2;
BB3:=BARSLAST(CROSS(95,T2))<=2;
EE3:= T4<T1 AND T1<T2 AND T1<T3;
FF3:=T2>50 AND T3>50;
GG3:=T1=100 AND T2=100;
TX:=COUNT(GG3,2)=1;
青干:AA3 AND BB3 AND EE3 AND FF3 AND TX,NODRAW,COLORGREEN;
{莫问} {银边启动
(波段启动前兆)}
AA4:=T3=100;
BB4:=T4<90;
莫问:COUNT(A,2) = 2 AND B ,NODRAW,COLORBLUE;
{竞星}{启动金三角 (捉中线牛股起涨点)}
AA5:=T1=T2 AND T2=T3 AND T1=100 AND T4>96;
BB5:=COUNT(AA5,2)=1;
DD5:=T1<T2 AND T1<T3 AND T1<T4 AND T2<T3 AND T4<95;
YH:=INDEXC/REF(INDEXC,1)*REF(C,1);
YH1:=REF(C,1)+C-INDEXC/REF(INDEXC,1)*REF(C,1);
X1:=EMA(YH1,7);
X2:=EMA(YH1,14);
X3:=EMA(X1,14);
EE5:=X1>X2 AND X2>X3;
竞星:BB5 AND DD5 AND EE5,NODRAW,COLORMAGENTA;
{舍神}
{阶段震仓启动点(黄金坑)}
AA6:=BARSLAST(CROSS(T4,T1))>3 AND BARSLAST(CROSS(T1,T4))<3;
BB6:=BARSLAST(CROSS(T4,T2));
DD6:=T3<T4 AND T2<T4;
EE6:=BARSLAST(CROSS(T4,T3))>3 AND BARSLAST(CROSS(T1,T4))<3;
FF6:=T2<T3 AND T2<T4 AND T2<T1 AND T1=100;
舍神:AA6 AND BB6 AND DD6 AND EE6 AND FF6,NODRAW,COLOR0080FF;

{画剑}
STICKLINE(白金=1,90,100,1,0),COLORWHITE;
STICKLINE(黄金=1,80,90,1,0),COLORYELLOW;
STICKLINE(天瀑=1,70,80,1,0),COLORRED;
STICKLINE(日月=1,60,70,1,0),COLORCYAN;
STICKLINE(青干=1,50,60,1,0),COLORGREEN;
STICKLINE(莫问=1,40,50,1,0),COLORBLUE;
STICKLINE(竞星=1,30,40,1,0),COLORMAGENTA;
STICKLINE(舍神=1,20,30,1,0),COLOR0080FF;
买入:T1<20 AND T4<20,COLOR0000FF;
STICKLINE(买入=1,0,20,1,0),COLOR0000FF;
{写字位置,高度,间距};
X:=120;Y:=50;Z:=10;

 

====================

 

选股公式:

 

T1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
T4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
XG1:=BARSLAST(CROSS(T4,T1))<5 AND T1>T4;
天瀑:COUNT(XG1,3)=1 AND XG1;






来函数检测结果如下
该公式没有未来函数


解密、定制、编写公式指标请联系QQ或微信同号:88652583
置顶指标

相关指标公式

输出公式源码T1:100*(收盘价-5日内最低价的最低值)/(5日内收盘价的最高值-5日内最低价的最低值),COLOR0080FF
输出 T2:100*(收盘价-10日内最低价的最低值)/(10日内收盘价的最高值-10日内最低价的最低值),COLOR008000
输出 T3:100*(收盘价-20日内最低价的最低值)/(20日内收盘价的最高值-20日内最低价的最低值),COLORFF8000
输出 T4:100*(收盘价-30日内最低价的最低值)/(30日内收盘价的最高值-30日内最低价的最低值),COLOR00FFFF
AA1赋值:上次30上穿T1距今天数<2 AND 上次T1上穿50距今天数<2
BB1赋值:上次T4上穿T1距今天数<2 AND T1>T4
EE1赋值:T1>60 AND T4>70
输出 白金:AA1 AND BB1 AND EE1,NODRAW,画白色
AA2赋值:上次50上穿T1距今天数<3 AND 上次T1上穿50距今天数<3
BB2赋值:上次T4上穿T1距今天数<2 AND T1>T4
输出黄金:AA2 AND BB2,NODRAW,画黄色
XG1赋值:上次T4上穿T1距今天数<5 AND T1>T4
输出天瀑:统计3日中满足XG1的天数=1 AND XG1,NODRAW,画红色
A赋值:上次97上穿T1距今天数<=1 AND 上次T1上穿85距今天数<=1
B赋值:上次97上穿T2距今天数<=1 AND 上次T2上穿85距今天数<=1
A1赋值:A AND B
AA赋值:上次97上穿T1距今天数<=2 AND 上次T1上穿85距今天数<=1
BA赋值:上次97上穿T2距今天数<=2 AND 上次T2上穿85距今天数<=1
A2赋值:AA AND BA
AAA赋值:上次97上穿T1距今天数<=3 AND 上次T1上穿85距今天数<=1
BAA赋值:上次97上穿T2距今天数<=3 AND 上次T2上穿85距今天数<=1
A3赋值:AAA AND BAA
B1赋值:1日前的A1
B2赋值:1日前的A2
B3赋值:1日前的A3
D1赋值:T1=100 AND T2=100 AND A1
D2赋值:T1=100 AND T2=100 AND A2
D3赋值:T1=100 AND T2=100 AND A3
输出日月:D1 OR D2 OR D3,NODRAW,画青色
AA3赋值:上次95上穿T1距今天数<=2
BB3赋值:上次95上穿T2距今天数<=2
EE3赋值: T4FF3赋值:T2>50 AND T3>50
GG3赋值:T1=100 AND T2=100
TX赋值:统计2日中满足GG3的天数=1
输出青干:AA3 AND BB3 AND EE3 AND FF3 AND TX,NODRAW,画绿色
AA4赋值:T3=100
BB4赋值:T4<90
输出莫问:统计2日中满足A的天数 = 2 AND B ,NODRAW,画蓝色
AA5赋值:T1=T2 AND T2=T3 AND T1=100 AND T4>96
BB5赋值:统计2日中满足AA5的天数=1
DD5赋值:T1YH赋值:大盘的收盘价/1日前的大盘的收盘价*1日前的收盘价
YH1赋值:1日前的收盘价+收盘价-大盘的收盘价/1日前的大盘的收盘价*1日前的收盘价
X1赋值:YH1的7日指数移动平均
X2赋值:YH1的14日指数移动平均
X3赋值:X1的14日指数移动平均
EE5赋值:X1>X2 AND X2>X3
输出竞星:BB5 AND DD5 AND EE5,NODRAW,画洋红色
AA6赋值:上次T4上穿T1距今天数>3 AND 上次T1上穿T4距今天数<3
BB6赋值:上次T4上穿T2距今天数
DD6赋值:T3EE6赋值:上次T4上穿T3距今天数>3 AND 上次T1上穿T4距今天数<3
FF6赋值:T2输出舍神:AA6 AND BB6 AND DD6 AND EE6 AND FF6,NODRAW,COLOR0080FF
当满足条件白金=1时,在90和100位置之间画柱状线,宽度为1,0不为0则画空心柱.,画白色
当满足条件黄金=1时,在80和90位置之间画柱状线,宽度为1,0不为0则画空心柱.,画黄色
当满足条件天瀑=1时,在70和80位置之间画柱状线,宽度为1,0不为0则画空心柱.,画红色
当满足条件日月=1时,在60和70位置之间画柱状线,宽度为1,0不为0则画空心柱.,画青色
当满足条件青干=1时,在50和60位置之间画柱状线,宽度为1,0不为0则画空心柱.,画绿色
当满足条件莫问=1时,在40和50位置之间画柱状线,宽度为1,0不为0则画空心柱.,画蓝色
当满足条件竞星=1时,在30和40位置之间画柱状线,宽度为1,0不为0则画空心柱.,画洋红色
当满足条件舍神=1时,在20和30位置之间画柱状线,宽度为1,0不为0则画空心柱.,COLOR0080FF
输出 买入:T1<20 AND T4<20,COLOR0000FF
当满足条件买入=1时,在0和20位置之间画柱状线,宽度为1,0不为0则画空心柱.,COLOR0000FF

X赋值:120
Y赋值:50
Z赋值:10
T1赋值:100*(收盘价-5日内最低价的最低值)/(5日内收盘价的最高值-5日内最低价的最低值)
T4赋值:100*(收盘价-30日内最低价的最低值)/(30日内收盘价的最高值-30日内最低价的最低值)
XG1赋值:上次T4上穿T1距今天数<5 AND T1>T4
输出天瀑:统计3日中满足XG1的天数=1 AND XG1

指标安装下载帮助  |   联系我们  |  乐淘公式网  |  公式网   |  指标公式  |   加入收藏   |  设为主页

@2005-2025 浙ICP备2024071487号-1 乐淘公式网公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:乐淘公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图