凤凰线源码 副图 通达信 贴图

N:=1; XOPEN:=(REF(O,N)+REF(C,N))/2; XCLOSE:=CLOSE; XHIGH:=MAX(HIGH,XOPEN); XLOW:=MIN(LOW,XOPEN); VOLALITY:=MA(XHIGH-XLOW,8); 凰线:MA(XCLOSE,5)+VOLALITY/2; 凤线:MA(XCLOSE,5)-VOLALITY/2; BU:=CROSS(XCLOSE,凰线); SEL:=CROSS(凤线,XCLOSE); VAR1:=BARSLAST(BU); VAR2:=BARSLAST(SEL); DRAWICON(REF(VAR1,1)>VAR2 AND VAR1=0,XLOW,1); DRAWICON(REF(VAR2,1)>VAR1 AND VAR2=0,XHIGH,2); STICKLINE(XCLOSE>XOPEN AND VAR1<VAR2,XCLOSE,XOPEN ,2,0 ),COLORRED; STICKLINE(XCLOSE>XOPEN AND VAR1<VAR2,XHIGH,XCLOSE ,0,0 ),COLORRED; STICKLINE(XCLOSE>XOPEN AND VAR1<VAR2,XOPEN,XLOW ,0,0 ),COLORRED; STICKLINE(XCLOSE<=XOPEN AND VAR1<VAR2,XCLOSE,XOPEN ,2,0 ),COLORYELLOW; STICKLINE(XCLOSE<=XOPEN AND VAR1<VAR2,XHIGH,XOPEN ,0,0 ),COLORYELLOW; STICKLINE(XCLOSE<=XOPEN AND VAR1<VAR2,XCLOSE,XLOW ,0,0 ),COLORYELLOW; STICKLINE(XCLOSE<=XOPEN AND VAR1>VAR2,XCLOSE ,XOPEN ,2,0 ),COLORGREEN; STICKLINE(XCLOSE<=XOPEN AND VAR1>VAR2,XOPEN ,XHIGH ,0,0 ),COLORGREEN; STICKLINE(XCLOSE<=XOPEN AND VAR1>VAR2,XCLOSE,XLOW ,0,0 ),COLORGREEN; STICKLINE(XCLOSE>XOPEN AND VAR1>VAR2,XCLOSE ,XOPEN ,2,0 ),COLORBLUE; STICKLINE(XCLOSE>XOPEN AND VAR1>VAR2,XCLOSE,XHIGH ,0,0 ),COLORBLUE; STICKLINE(XCLOSE>XOPEN AND VAR1>VAR2,XOPEN,XLOW ,0,0 ),COLORBLUE;



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


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

N赋值:1
XOPEN赋值:(N日前的O+N日前的C)/2
XCLOSE赋值:收盘价
XHIGH赋值:最高价和XOPEN较大值
XLOW赋值:最低价和XOPEN的较小值
VOLALITY赋值:XHIGH-XLOW的8日简单移动平均
输出凰线:XCLOSE的5日简单移动平均+VOLALITY/2
输出凤线:XCLOSE的5日简单移动平均-VOLALITY/2
BU赋值:XCLOSE上穿凰线
SEL赋值:凤线上穿XCLOSE
VAR1赋值:上次BU距今天数
VAR2赋值:上次SEL距今天数
DRAWICON(1日前的VAR1>VAR2 AND VAR1=0,XLOW,1)
DRAWICON(1日前的VAR2>VAR1 AND VAR2=0,XHIGH,2)
当满足条件XCLOSE>XOPEN AND VAR1当满足条件XCLOSE>XOPEN AND VAR1当满足条件XCLOSE>XOPEN AND VAR1当满足条件XCLOSE<=XOPEN AND VAR1当满足条件XCLOSE<=XOPEN AND VAR1当满足条件XCLOSE<=XOPEN AND VAR1当满足条件XCLOSE<=XOPEN AND VAR1>VAR2时,在XCLOSE 和XOPEN 之间画柱状线
当满足条件XCLOSE<=XOPEN AND VAR1>VAR2时,在XOPEN 和XHIGH 之间画柱状线
当满足条件XCLOSE<=XOPEN AND VAR1>VAR2时,在XCLOSE和XLOW 之间画柱状线
当满足条件XCLOSE>XOPEN AND VAR1>VAR2时,在XCLOSE 和XOPEN 之间画柱状线
当满足条件XCLOSE>XOPEN AND VAR1>VAR2时,在XCLOSE和XHIGH 之间画柱状线
当满足条件XCLOSE>XOPEN AND VAR1>VAR2时,在XOPEN和XLOW 之间画柱状线

联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

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