主力潜入公式源码 副图 通达信 贴图

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; J1:=REVERSE(J); AA:=REF(MA(C,1),10)>REF(MA(C,60),10); 买点:CROSS(J,J1) AND AA; STICKLINE(买点,0,30,6,0),COLORBLUE; STICKLINE(买点,30,60,4,0),COLORWHITE; STICKLINE(买点,60,80,2,0),COLORYELLOW; DRAWTEXT(买点,70,'主力潜入'),COLORRED; {主力进出场} VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1); VAR3:=EMA(VAR2,10); VAR4:=LLV(LOW,33); VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3); 主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),COLORRED; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),COLOR000055; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.6,0 ),COLOR000077; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.1,0 ),COLOR000099; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1.5,0 ),COLOR0000BB; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.9,0 ),COLOR0000DD; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.3,0 ),COLOR0000FF; 洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),COLORGREEN,NODRAW; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),COLORGREEN; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),COLOR005500; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.6,0),COLOR007700; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.1,0),COLOR009900; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,1.5,0),COLOR00BB00; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,0.9,0),COLOR00DD00; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,0.3,0),COLOR00FF00; VAR12:=SMA(ABS(VAR1-H),13,1)/SMA(MAX(VAR1-H,0),10,1); VAR13:=EMA(VAR12,10); VAR14:=HHV(H,33); VAR15:=EMA(IF(H>=VAR14,VAR13,0),3); 冲顶:IF(VAR15>REF(VAR15,1),VAR15,0),COLORFF00FF,NODRAW; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,3,0),COLORFF00FF; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,3,0 ),COLOR550055; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,2.6,0 ),COLOR770077; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,2.1,0 ),COLOR990099; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,1.5,0 ),COLORBB00BB; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,0.9,0 ),COLORDD00DD; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,0.3,0 ),COLORFF00FF; 主力出场:IF(VAR15<REF(VAR15,1),VAR15,0),COLORYELLOW,NODRAW; STICKLINE(VAR15<REF(VAR15,1),0,VAR15,3,0 ),COLORYELLOW; STICKLINE(VAR15<REF(VAR15,1),0,VAR15,3,0),COLOR005555; STICKLINE(VAR15<REF(VAR15,1),0,VAR15,2.6,0),COLOR007777; STICKLINE(VAR15<REF(VAR5,1),0,VAR15,2.1,0),COLOR009999; STICKLINE(VAR15<REF(VAR15,1),0,VAR15,1.5,0),COLOR00BBBB; STICKLINE(VAR15<REF(VAR15,1),0,VAR15,0.9,0),COLOR00DDDD; STICKLINE(VAR15<REF(VAR15,1),0,VAR15,0.3,0),COLOR00FFFF; A1:=REF(CLOSE,2); A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100; 波段介入点:IF(A2<19,19,0)COLORWHITE;



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


解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

RSV赋值:(收盘价-9日内最低价最低值)/(9日内最高价最高值-9日内最低价最低值)*100
RSV的3日[1日权重]移动平均
K的3日[1日权重]移动平均
J赋值:3*K-2*D
J1:=J的相反数
AA赋值:REF(C的1日简单移动平均,10)>REF(C的60日简单移动平均,10)
输出买点:J上穿J1 AND AA
当满足条件买点时,在0和30之间画柱状线
当满足条件买点时,在30和60之间画柱状线
当满足条件买点时,在60和80之间画柱状线
当满足条件买点时,在70和'主力潜入'位置书写文字
{主力进出场} VAR1赋值:REF((最低价+开盘价+收盘价+最高价)/4,1)
VAR2赋值:SMA(最低价-VAR1的绝对值,13,1)/SMA(最低价-VAR1和0较大值,10,1)
VAR3赋值:VAR2的10日指数移动平均
VAR4赋值:33日内最低价最低值
如果最低价<=VAR4返回VAR3否则返回0
输出主力进场:IF(VAR5>1日前的VAR5,VAR5,0),COLORRED,NODRAW
STICKLINE(VAR5>1日前的VAR5,0,VAR5,3,0 ),COLORRED
STICKLINE(VAR5>1日前的VAR5,0,VAR5,3,0 ),COLOR000055
STICKLINE(VAR5>1日前的VAR5,0,VAR5,2.6,0 ),COLOR000077
STICKLINE(VAR5>1日前的VAR5,0,VAR5,2.1,0 ),COLOR000099
STICKLINE(VAR5>1日前的VAR5,0,VAR5,1.5,0 ),COLOR0000BB
STICKLINE(VAR5>1日前的VAR5,0,VAR5,0.9,0 ),COLOR0000DD
STICKLINE(VAR5>1日前的VAR5,0,VAR5,0.3,0 ),COLOR0000FF
输出洗盘:IF(VAR5<1日前的VAR5,VAR5,0),画绿色,NODRAW
STICKLINE(VAR5<1日前的VAR5,0,VAR5,3,0),画绿色
STICKLINE(VAR5<1日前的VAR5,0,VAR5,3,0),COLOR005500
STICKLINE(VAR5<1日前的VAR5,0,VAR5,2.6,0),COLOR007700
STICKLINE(VAR5<1日前的VAR5,0,VAR5,2.1,0),COLOR009900
STICKLINE(VAR5<1日前的VAR5,0,VAR5,1.5,0),COLOR00BB00
STICKLINE(VAR5<1日前的VAR5,0,VAR5,0.9,0),COLOR00DD00
STICKLINE(VAR5<1日前的VAR5,0,VAR5,0.3,0),COLOR00FF00
VAR12赋值:SMA(VAR1-H的绝对值,13,1)/SMA(VAR1-H和0较大值,10,1)
VAR13赋值:VAR12的10日指数移动平均
VAR14赋值:33日内H最高值
如果H>=VAR14返回VAR13否则返回0
输出冲顶:IF(VAR15>1日前的VAR15,VAR15,0),COLORFF00FF,NODRAW
STICKLINE(VAR15>1日前的VAR15,0,VAR15,3,0),COLORFF00FF
STICKLINE(VAR15>1日前的VAR15,0,VAR15,3,0 ),COLOR550055
STICKLINE(VAR15>1日前的VAR15,0,VAR15,2.6,0 ),COLOR770077
STICKLINE(VAR15>1日前的VAR15,0,VAR15,2.1,0 ),COLOR990099
STICKLINE(VAR15>1日前的VAR15,0,VAR15,1.5,0 ),COLORBB00BB
STICKLINE(VAR15>1日前的VAR15,0,VAR15,0.9,0 ),COLORDD00DD
STICKLINE(VAR15>1日前的VAR15,0,VAR15,0.3,0 ),COLORFF00FF
输出主力出场:IF(VAR15<1日前的VAR15,VAR15,0),画黄色,NODRAW
STICKLINE(VAR15<1日前的VAR15,0,VAR15,3,0 ),画黄色
STICKLINE(VAR15<1日前的VAR15,0,VAR15,3,0),COLOR005555
STICKLINE(VAR15<1日前的VAR15,0,VAR15,2.6,0),COLOR007777
STICKLINE(VAR15<1日前的VAR5,0,VAR15,2.1,0),COLOR009999
STICKLINE(VAR15<1日前的VAR15,0,VAR15,1.5,0),COLOR00BBBB
STICKLINE(VAR15<1日前的VAR15,0,VAR15,0.9,0),COLOR00DDDD
STICKLINE(VAR15<1日前的VAR15,0,VAR15,0.3,0),COLOR00FFFF
A1赋值:2日前的收盘价
A2赋值:SMA(收盘价-A1和0较大值,7,1)/SMA(收盘价-A1的绝对值,7,1)*100
如果A2<19返回19否则返回0

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

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