同花顺青翼福王副图指标公式买卖提示源码


M1:=3;M2:=5;M3:=7;M4:=13;M5:=15;M6:=21;
Q3:=SMA(Q2, 12, 1);
长趋势:3*Q3-2*Q4,colorwhite,LINETHICK2;
DRAWTEXT(CROSS(趋势线, 长趋势) AND REF(长趋势,1)>88, REF(长趋势,12), '顶'),colorred,LINETHICK5;
买: DRAWTEXT(REF(CROSS(长趋势,趋势线),1) AND 长趋势>0.04*趋势线,趋势线,''),colorred,LINETHICK1;
VAR5:=IF(VAR3=1,2,0);
顶A:IF(顶>REF(顶,1),50,0),colorgreen;
金叉: CROSS(长趋势,趋势线);
VAR1:=LLV(HIGH,240);
VAR3:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
VAR5:=0;
SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
VARB:=VAR6<20 AND VAR7<23 AND VARA>35;
VARD:=EMA(CLOSE,21)-EMA(CLOSE,8);
VARF:=TROUGHBARS(3,6,1)<4 AND CROSS(VARD,VARE);
VAR9:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND
VAR10:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND
VAR11:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2)
VAR12:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2)
VAR13:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2)
VAR14:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2)
VAR15:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2)
VAR16:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2)
VAR17:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR1B:=2*(VAR17-VAR1A);
VAR1D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
VAR1F:=(HIGH+LOW+CLOSE)/3;
VAR19:=CROSS(VAR1E,LOW);
组合买:=(VAR9+VAR11+VAR13+VAR15);
黑马线:=IF(YEAR<2098 AND VAR1B>0.1,VAR1C,0);
AND VAR4=0 AND VAR18<(-110);
STICKLINE(组合买,CLOSE,OPEN,1,0),colorblue;
STICKLINE(组合卖,CLOSE,OPEN,1,0),colorgreen;
STICKLINE(选股买点,CLOSE,OPEN,1,0),colorblue;
DRAWTEXT(VAR14,HIGH,'空仓'), LINETHICK3, colorcyan;
LINETHICK3 ;
VAA2:=(ZIG(3,10) > REF(ZIG(3,10),1)) AND (REF(ZIG(3,10),1) < REF(ZIG(3,10),2));
DRAWTEXT(VAA2 AND (DATE < 1070804),LOW,'买入'),coloryellow;
STICKLINE(VAA1 AND (DATE < 1070804),HIGH,LOW,1.5,0),coloryellow;
STICKLINE(VAA2 AND (DATE < 1070804),HIGH,LOW,1.5,0),COLORFF00FF;
半月线:MA(CLOSE,M2),coloryellow;
季度线:MA(CLOSE,M4),colorgreen;
年线:MA(CLOSE,M6),colorblue


未来函数检测结果如下:
该公式包含未来函数:ZIG
该公式包含未来函数:TROUGH
该公式包含未来函数:TROUGHBARS
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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