与庄共舞顶底黄金顶底,适用于波段操作

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);
庄家1:IF( 定时1 AND VAR3,VAR3,DRAWNULL),LINETHICK1,COLORWHITE;
散户1:IF( 定时1 AND VAR4,VAR4,DRAWNULL),LINETHICK1,COLORGREEN;
DRAWICON(庄家1>REF(庄家1,1) AND REF(庄家1,1)<REF(庄家1,2)  AND 庄家1<22 ,庄家1,1);
DRAWICON(庄家1<REF(庄家1,1) AND REF(庄家1,1)>REF(庄家1,2)  AND 庄家1>88 ,庄家1,2);
DRAWBAND(庄家1,RGB(200,0,0),散户1,RGB(0,200,0));
{FILLRGN(庄家1,散户1,( 庄家1>散户1 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;


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;


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