随带一个主图黑马绝技(135)
黑马绝技(传说中的135主图)
EMA30:EMA(C,30),COLORWHITE,LINETHICK2;
EMA90:EMA(C,90),COLORYELLOW;
EMA250:EMA(C,250),COLORBLUE;
OR CROSS(EMA30,EMA120) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA30,EMA90) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 {AND CROSS(EMA30,EMA120)};
DD:=CROSS(EMA60,EMA90) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA90,EMA120) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
{DD:=CROSS(EMA30,EMA250);}
A:=BARSCOUNT(C);
AL:=LLV(L,200);
B1:=L-A0;
DRAWTEXT((A+0)/34=FLOOR((A+0)/34),B1-1*A0,'时间窗'),COLORWHITE;
主力动向(副图)
A1:=DAY!=REF(DAY,1);
A3:=MA(C,A2);
A5:=IF(CAPITAL>0,A4,A3);
分钟有效周期:=IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,DRAWNULL))));
分时判断:=IF(分时价=DRAWNULL,1,IF(分钟有效周期=DRAWNULL,DRAWNULL,1));
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
MACD:=2*(DIFF-DEA);
HHN:=CONST(HHV(DIFF,KX));
RC1:=CONST((HHN+HLN)/2);
MACD底部:=(-100*SS+RC1)+-(-100*SS+RC1),COLOR669999;
MACD中轴:=0+-(-100*SS+RC1);
DEA修正:=DEA+-(-100*SS+RC1),COLOR00FF00;
MACD超跌:=CONST(LLV(MACD修正,KX));
{----------------------利用MACD趋势进行精确顶底判断------------------------}
天际:=顶部*0.809;
海面:=顶部*0.191;
{------------------------传统KDJ指标结合MACD优化---------------------------}
K:SMA(RSVA,3,1),COLORFFFFFF,NODRAW;
原J值参数:=3*K-2*D;
J:IF(JD>顶部,顶部,JD),COLORFF00FF,NODRAW;{底部钝化处理后再进行顶部钝化处理}
MACD多头:DIFF修正+-MACD超跌线,COLOR339999;
量能柱:2*(MACD多头-空头)+中轴,COLOR0000BB,NODRAW;
超前MACD:=2*(MACD多头-超前DEA)+中轴;
VAR1大盘:=LLV(LOW,13);
VAR3大盘:=(SMA((CLOSE-VAR1大盘)/(VAR2大盘-VAR1大盘)*顶部,5,1))-顶部/2;
大盘散户:=IF(VAR4大盘<底部,底部,VAR4大盘),COLOR408000;
{---------------------------------密集成本突破-----------------------------}
VAR1C:=(COST(89)-COST(11))*最高获利参数;
单峰:=((1-VAR1C/VAR2C))*顶部;
高密:=((COST(40)-COST(1))/VAR2C)*顶部;
活跃度:顶部-顶部/(1+EXPMA(HSL,21)),COLOR774455;{←CYF公众追涨热情指标}
90%成本集中度:=IF(VAR2C>顶部,顶部,VAR2C),COLORFF0000;
个股散户:=IF(套牢筹码上升>顶部,顶部,套牢筹码上升),COLOR408000;
获利筹码上升:=IF((赢利-单峰)>底部,(赢利-单峰),底部);
主力:IF(个股主力=DRAWNULL,DRAWNULL,个股主力),COLOR330088;
换手:SUM(VOL,1)/CAPITAL*100,COLOR666666,NODRAW;
{----------------------密集成本突破指标筹码峰画线--------------------------}
金色背景修边2:STICKLINE(C>0 AND CURRBARSCOUNT>=2,顶部,中轴,3.05,0),COLOR003333;
金色背景:DRAWBAND(顶部,RGB(51,51,0),底部,RGB(128,128,128));
高密峰墨蓝色:=DRAWBAND(高密,RGB(0,0,51),底部,RGB(0,0,255));
90%成本峰:DRAWBAND(90%成本集中度,RGB(0,0,153),底部,RGB(0,0,153));
散户峰绿色:DRAWBAND(散户,RGB(0,64,0),底部,RGB(204,0,0));
MACD多空趋势:DRAWBAND(MACD多头,RGB(204,51,51),空头,RGB(0,179,0));
MACD空头重画:DRAWBAND(空头,RGB(0,204,0),空头,RGB(0,204,0));
VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARD:=CLOSEVARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
三平底翻金:=(REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1))
主力启动线:=MA(V,5),COLORFFFFFF;
资金异动线:=MA(V,135),COLORFF0000;
出击:=(CROSS(主力启动线,资金异动线) OR ((主力洗盘线 > 资金异动线) AND CROSS(主力启动线,主力洗盘线))),COLORYELLOW;
成立:=三平底翻金 AND (出击 OR 启动);
买入提示:=IF(成立=1,海面*0.5,0) AND 分时判断=1;