同花顺和庄共舞黄金顶底副图,适用于波段操作

Var1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
Var2:=SMA(Var1,3,1);
Var3:=SMA(Var2,3,1);
Var4:=SMA(Var3,3,1);
交时1:=FROMOPEN<240;
交时2:=交时1<=0;
交时3:=1;
定时1:=IF(DATE>20201230,交时2,交时3);
庄家:IF( 定时1 AND Var3,Var3,NULL),LINETHICK1,colorwhite;
散户:IF( 定时1 AND VAR4,VAR4,NULL),,LINETHICK1,colorgreen;
DRAWICON(庄家>REF(庄家,1) AND REF(庄家,1)<REF(庄家,2)  AND 庄家<22 ,庄家,1);
DRAWICON(庄家<REF(庄家,1) AND REF(庄家,1)>REF(庄家,2)  AND 庄家>88 ,庄家,2);
FILLRGN(庄家,散户,( 庄家<散户 AND 定时1 ),colorgray);//公式平台,公式源码http://
FILLRGN(庄家,散户,( 庄家>散户 AND 定时1 ),colorred);
Var6:=CROSS(Var3,Var4) AND Var3<35;
VAR7:=CROSS(Var3,Var4) AND Var3<35;
zt:=REF(FILTER(Var6,10)=1,1);
BH:=BARSLAST(zt)+1;
BHV1:=Var3>REF(Var3,BH);
VAR20:=COUNT(Var4>50,10)<1;
VAR108:=COUNT((CLOSE>REF(CLOSE,1)*1.097),89)>0;
STICKLINE(FILTER(Var6,10)=1 AND 定时1 AND BHV1 AND VAR20 ,13,30,8,0),coloryellow;
DRAWTEXT( FILTER(Var6,10)=1 AND 定时1 AND BHV1 AND VAR20 ,40,'抄底'),LINETHICK3,coloryellow;
STICKLINE(FILTER(VAR7,10)=1 AND 定时1 ,13,30,8,0),coloryellow;
DRAWTEXT( FILTER(VAR7,10)=1 AND 定时1 ,40,'抄底'),LINETHICK3 ,coloryellow;
STICKLINE(FILTER(VAR7,10)=1 AND 定时1 AND VAR108  ,13,30,8,0),colorred;
DRAWTEXT( FILTER(VAR7,10)=1 AND 定时1 AND VAR108 ,40,'抄底'),LINETHICK3 ,colorred;
VAR8:=CROSS(Var4,Var3) AND Var3>80;
VAR9:=CROSS(Var4,Var3) AND Var3>80;
STICKLINE(FILTER(VAR8,5)=1  AND 定时1 ,86,100,8,0),colorgreen;
DRAWTEXT( FILTER(VAR8,5)=1 AND 定时1 ,85,'逃顶'),LINETHICK3, colorgreen;
STICKLINE(FILTER(VAR9,5)=1 AND 定时1 ,86,100,8,0), colorgreen;
DRAWTEXT( FILTER(VAR9,5)=1 AND 定时1 ,85,'逃顶'),LINETHICK3,colorgreen;
/*主力监控2-上扬-冲顶-小心被套-清仓*/
zVAR2:=IF(MONTH<12,1,1);
zVAR3:=(2*CLOSE+HIGH+LOW)/4;
zVAR4:=LLV(LOW,34);
zVAR5:=HHV(HIGH,34);
主力:=EMA((zVAR3-zVAR4)/(zVAR5-zVAR4)*100,13)*zVAR2,LINETHICK3,colorred;
散户:=EMA(0.667*REF(主力,1)+0.333*主力,2),LINETHICK2,COLORFF9933;
DRAWTEXT( 定时1 AND CROSS(主力,30) AND 散户<主力,28,'▲上扬 '),LINETHICK2,colorred;
DRAWTEXT( 定时1 AND CROSS(主力,65) AND 散户<主力,60,'▼冲顶 '),LINETHICK2,coloryellow;
DRAWTEXT( 定时1 AND CROSS(主力,75) AND 散户<主力,70,'▼小心被套'),LINETHICK2,coloryellow;
DRAWTEXT( 定时1 AND CROSS(散户,主力) AND 散户>75,76,'●清仓'),colorcyan;
/*主力反向指标*/
主力反:=EMA((zVAR3-zVAR5)/(zVAR4-zVAR5)*100,13)*zVAR2,NODRAW,LINETHICK3,colorred;
散户反:=EMA(0.667*REF(主力反,1)+0.333*主力反,2),LINETHICK2,COLORFF9933;
DRAWTEXT( 定时1 AND CROSS(主力反,30) AND 散户反<主力反,18,'◆中途 '),LINETHICK2,colorwhite;
DRAWTEXT( 定时1 AND CROSS(主力反,65) AND 散户反<主力反,18,'△见底 '),LINETHICK2,coloryellow;
DRAWTEXT( 定时1 AND CROSS(主力反,75) AND 散户反<主力反,18,'▲要涨'),LINETHICK2,colorred;
/*主力进出A-●头部-大盘撤*/
aaV1:=(C*2+H+L)/4*10;
aaV2:=EMA(aaV1,13)-EMA(aaV1,34);
aaV3:=EMA(aaV2,5);
aaV4:=2*(aaV2-aaV3)*5.5;
主力进:=IF( 定时1 AND aaV4>=0,aaV4,NULL),LINETHICK3,colorff00ff;
aaV5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
aaV6:=EMA(3*aaV5-2*SMA(aaV5,18,1),5);
aaV7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
aaV8:=(INDEXC*2+INDEXH+INDEXL)/4;
aaV9:=EMA(aaV8,13)-EMA(aaV8,34);
aaVA:=EMA(aaV9,3);
aaVB:=(aaV9-aaVA)/2;
大盘资金撤走:=IF( 定时1 AND aaVB<=0,aaVB,NULL),colorgreen,LINETHICK1;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:=EMA(V11,3);
见顶清仓:=FILTER(趋势线>90 AND 趋势线<REF(趋势线,1) AND 主力进<REF(主力进,1),8),colorcyan;
DRAWTEXT(  定时1 AND 见顶清仓 ,50,'●头部'),colorgreen;
STICKLINE(大盘资金撤走  AND 定时1 AND 趋势线>90,20,25,9,0),colorgreen;
DRAWTEXT (大盘资金撤走  AND 定时1 AND 趋势线>90 AND FILTER(大盘资金撤走  AND 趋势线>90 ,3)  ,33,'大盘撤'),colorgreen;







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

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

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

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