分仓资金主图操盘中管理仓位很重要

MA1:=EMA(CLOSE,5),COLOR00FF00;
MA2:=EMA(CLOSE,10),COLORFFCC66;
MA3:=EMA(CLOSE,15);
MA4:=EMA(CLOSE,30),COLORFF00FF;
VAR1:=MAX(MA1,MAX(MA2,MAX(MA3,MA4)));
VAR2:=MIN(MA1,MIN(MA2,MIN(MA3,MA4)));
VAR3:=(VAR1-VAR2)/VAR2*1000;
VAR5:=VAR3< 5;
VAR6:=COUNT(VAR5=1,5)>0;
VAR7:=CROSS(MA1,MA4);
VAR1A:=CROSS(MA(CLOSE,5),MA(CLOSE,30));
DRAWICON(VAR1A,LOW-LOW*0.01,1);
DRAWTEXT(VAR1A AND CLOSE>MA(CLOSE,250),LOW-LOW*0.03,'1/5买 '),COLORWHITE;
DRAWTEXT(VAR1A AND CLOSE>=MA(CLOSE,60) AND CLOSE<=MA(CLOSE,250),LOW-LOW*0.02,'1/3买'),COLORYELLOW;
DRAWTEXT(VAR1A AND CLOSE< MA(CLOSE,60),LOW-LOW*0.03,'1/2买 '),COLORFF00FF;
Z:=MA(C,120);
VAR4:=MA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,3);
D1:DRAWTEXT(CROSS(95,VAR4) AND VAR3>0.3,1.01*HIGH ,'★暴涨顶'),COLORYELLOW;
D2:DRAWTEXT( CROSS(93,VAR4) AND HHV(H,30)/LLV(L,30)>1.1 AND REF(Z,1)/Z>0.997 ,1.01*HIGH ,'★拉升顶'),COLORGREEN;
D3:DRAWTEXT(CLOSE< Z AND Z< REF(Z,1) AND REF(VAR4,1)>90 AND VAR4< REF(VAR4,1) AND REF(VAR4,1)>REF(VAR4,2) ,1.01*HIGH,'★反弹顶'),COLORWHITE;
 


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

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

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

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