鸿佳股道和英强金叉系列指标(主图 副图 选股 无加密)通达信指标组合模板
预测下周一A股会低开顺势下探,随后会维持分化行情,总体保持弱势震荡行情呢?主要是根据当前A股所处的位置、趋势、板块、以及股市环境,投资者情绪等多方面考虑,具体因素如下。
第一:这波A股杀跌的最大根源是抱团股把整个市场带崩了,还有就是金融股跌跌不休等两股力量砸盘所致。
今天这两股做空力量还在扩大,尤其是酿酒和旅游暴跌,医药股全线下跌对下周不利。同时证券和银行还在走跌,同样也会惯性影响下周一,这两大板块下周一顺势做空止跌概率大。
第二:当然A股市场环境太差了,赚钱效应太低,相反亏钱效应高,直接造成投资者们避险情绪重,场内抛压大,很多场外资金不敢进场,无法得到增量资金的支持。
说白了当下a股市场环境差,趋势也破位下跌。投资者悲观情绪重等,这些都是对下周一股市走势非常不利,受到这些因素的影响,下周一继续弱势震荡是正常的。
第三:目前各大权重板块已经分歧加大,盘中总会有砸盘和护盘的力量,类似今天周期股护盘,钢铁、电力和有色等护盘,但护盘力度削弱,这些板块下周一有回调需求。
相反持续走跌砸盘的抱团股和金融股下周一有超跌反弹需求,但这个反弹不会很大,维持窄幅震荡;毕竟A股调整还未到位,下周还会继续折腾,这两大板块还不会大幅拉升,只是稳定指数不持续大跌,但小幅走跌难免。
从以上三个方面进行考虑,下周一权重板块会行分化,继续出现护盘与砸盘的行情,以及股市环境太差,大盘调整还未结束等,会导致下周一A股继续弱势震荡,大概率会维持一个区间构成一个短期平台,大涨大跌不可取,条件还不允许,下周一维持窄幅震荡就是最好的走势。
鸿佳股道和英强金叉系列指标(主图 副图 选股 无加密)通达信指标组合模板
鸿佳MA2带状 主图
参数 M1 2 1000 5
M2 2 1000 10
M3 2 1000 20
M4 2 1000 30
M5 2 1000 60
M6 2 1000 120
M7 2 1000 250
上涨家数:INDEXADV,NODRAW;
下跌家数:INDEXDEC,NODRAW;
鸿佳5:=MA(CLOSE,M1);
鸿佳10:=MA(CLOSE,M2);
鸿佳20:=MA(CLOSE,M3);
鸿佳30:=MA(CLOSE,M4);
鸿佳60:=MA(CLOSE,M5);
鸿佳120:=MA(CLOSE,M6);
鸿佳250:=MA(CLOSE,M7),LINETHICK3;
DRAWBAND(鸿佳60,RGB(80,20,20),鸿佳120,RGB(0,100,50)),COLORYELLOW;
{价托}
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
KK:=MIN(MA5,MA20);
KK2:=MIN(MA10,MA20);
KK3:=MIN(MA5,MA10);
DRAWBAND(KK,RGB(0,80,230),KK2,0);
{MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
MA40:MA(C,40);
MA60:MA(C,60);
STICKLINE(MA5>=MA20 AND MA20>=MA10,MA10,MA20,4,0),COLORWHITE;
STICKLINE(MA5>=MA10 AND MA5<MA20,MA10,MA5,4,1),COLORWHITE;}
DRAWKLINE(H,O,L,C);
鸿佳五日:MA(CLOSE,M1),COLORWHITE;
鸿佳十日:MA(CLOSE,M2),COLORYELLOW;
鸿佳二十日:MA(CLOSE,M3),COLORMAGENTA;
鸿佳三十日:MA(CLOSE,M4),COLORRED;
鸿佳六十日:MA(CLOSE,M5),COLORGREEN;
鸿佳一百二日:MA(CLOSE,M6),COLORLIGRAY;
鸿佳二百五日线:MA(CLOSE,M7),COLORBLUE,LINETHICK2;
DRAWTEXT(CROSS(鸿佳六十日,鸿佳一百二日),鸿佳六十日,'牛'),COLORYELLOW,LINETHICK4;
DRAWTEXT(CROSS(鸿佳一百二日,鸿佳六十日),鸿佳六十日,'熊'),COLORWHITE,LINETHICK2;
{红色}
STICKLINE(CLOSE> REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORRED;
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,3.1,0 ),COLOR0000AA;
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,2.65,0 ),COLOR0011BB;
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR0022CC;
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0033DD;
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLOR0044EE;
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOR0055FF;
{阴线}
STICKLINE(CLOSE< REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLOR666600;
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,3.1,0 ),COLORFFAA00;
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,2.65,0 ),COLORFFBB11;
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLORFFCC22;
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORFFDD33;
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORFFEE44;
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORFFFF55;
{白色}
STICKLINE(CLOSE= REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORWHITE;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,3.1,0 ),COLOR555555;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.65,0 ),COLOR777777;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR999999;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORDDDDDD;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORFFFFFF;
{粉色}
STICKLINE(C>REF(C,1)*1.06,C,O,3.1,0),COLORAA00BB;
STICKLINE(C>REF(C,1)*1.06,C,O,2.67,0),COLORBB11BB;
STICKLINE(C>REF(C,1)*1.06,C,O,2.1,0),COLORCC22BB;
STICKLINE(C>REF(C,1)*1.06,C,O,1.5,0),COLORDD33BB;
STICKLINE(C>REF(C,1)*1.06,C,O,0.9,0),COLOREE44BB;
STICKLINE(C>REF(C,1)*1.06,C,O,0.3,0),COLORFF55BB;
{涨跌停}
ZDF:=(C-REF(C,1))/REF(C,1)*100;
ZT:=ZDF>9.8;
DT:=ZDF<-9.8;
STICKLINE(ZT,CLOSE,OPEN,3.1,0),COLOR00AAFF;{COLOR0088FF COLOR7093DB}
STICKLINE(ZT,CLOSE,OPEN,2.65,0),COLOR00BBFF;
STICKLINE(ZT,CLOSE,OPEN,2.1,0),COLOR00CCFF;
STICKLINE(ZT,CLOSE,OPEN,1.5,0),COLOR00DDFF;
STICKLINE(ZT,CLOSE,OPEN,0.9,0),COLOR00EEFF;
STICKLINE(ZT,CLOSE,OPEN,0.3,0),COLOR00FFFF;{COLOR00FFFF}
STICKLINE(DT,H,L,0,0),COLORGREEN;
STICKLINE(DT,CLOSE,OPEN,3.1,0),COLOR005500;
STICKLINE(DT,CLOSE,OPEN,2.65,0),COLOR007700;
STICKLINE(DT,CLOSE,OPEN,2.1,0),COLOR009900;
STICKLINE(DT,CLOSE,OPEN,1.5,0),COLOR00BB00;
STICKLINE(DT,CLOSE,OPEN,0.9,0),COLOR00DD00;
STICKLINE(DT,CLOSE,OPEN,0.3,0),COLOR00FF00;
KU1:=IF(HIGH=HHV(HIGH,3),1,0);
KD1:=IF(LOW=LLV(LOW,3),1,0);
UL:=IF(REF(KU1,2)=1 AND REF(KU1,1)=0 AND KU1=0,REF(HIGH,2),REF(HIGH,2+BARSLAST(REF(KU1,2)=1 AND REF(KU1,1)=0 AND KU1=0)));
DL:=IF(REF(KD1,2)=1 AND REF(KD1,1)=0 AND KD1=0,REF(LOW,2),REF(LOW,2+BARSLAST(REF(KD1,2)=1 AND REF(KD1,1)=0 AND KD1=0)));
HV:=H>UL AND H>REF(H,1) ;
LV:=L<DL AND L<REF(L,1) ;
GP:=BARSLAST(HV);
DP:=BARSLAST(LV);
IP:=IF(GP=0,DP,GP)>3;
HV1:=HV AND IP AND H>=HHV(H,BARSLAST(LV));
LV1:=LV AND IP AND L<=LLV(L,BARSLAST(HV));
DRAWLINE(LV1,LOW,HV1, HIGH,0),COLORMAGENTA,LINETHICK2;
DRAWLINE(HV1,HIGH,LV1, LOW,0),COLORGREEN,LINETHICK2;
N1:=5;
G:=HIGH>=HHV(HIGH,N1);
D:=LOW<=LLV(LOW,N1);
顶:=G AND GP=0 AND IP>3 ;
底:=D AND DP=0 AND IP>3 ;
DRAWLINE(顶,HIGH,底,LOW,0),COLORYELLOW,LINETHICK1;
DRAWLINE(底,LOW,顶,HIGH,0),COLORGREEN,LINETHICK1;
DRAWTEXT(CROSS(REF(ZIG(3,19),1),ZIG(3,19)),HIGH*1.01,'下跌'), ,COLORGREEN;
DRAWTEXT(CROSS(ZIG(3,19),REF(ZIG(3,19),1)),LOW*0.99,'上涨'), ,COLORMAGENTA;
VAR3:=HHVBARS(ZIG(3, 19)>REF(ZIG(3,19),1) AND REF(ZIG(3,19), 1)< REF(ZIG(3,19), 2),0);
P:=0;
KOH:=L>REF(H,1);
KOL:=H<REF(L,1);
HIF:=L>REF(H,BARSLAST(KOH)+1);
NHIF:=L<=REF(H,BARSLAST(KOH)+1);
LIF:=H<REF(L,BARSLAST(KOL)+1);
NLIF:=H>=REF(L,BARSLAST(KOL)+1);
上缺口:=P=0 AND HIF AND BARSLAST(KOH)<BARSLAST(NHIF) AND BARSLAST(HIF)<BARSLAST(NHIF);
下缺口:=P=0 AND LIF AND BARSLAST(KOL)<BARSLAST(NLIF) AND BARSLAST(LIF)<BARSLAST(NLIF);
HG:=IF(上缺口{ AND DATE<1091201}{},REF(H,BARSLAST(KOH)+1),DRAWNULL);
LG:=IF(下缺口{ AND DATE<1091201}{},REF(L,BARSLAST(KOL)+1),DRAWNULL);
STICKLINE(上缺口,HG,HG*1.001,10,0),COLOR888888;
STICKLINE(下缺口{ AND DATE<1091201}{},LG,LG*0.999,10,0),COLOR888888;
DRAWTEXT((REF(H,1)-MAX(REF(C,1),REF(O,1)))/(REF(H,1)-REF(L,1))>0.7 AND (MIN(O,C)-L)/(H-L)>0.7,L,'揉搓线'),COLORCYAN;
{以下涨停次数}
C2:=REF(C,1);
非ST涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
NUMBER:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1);
DRAWNUMBER(非ST涨停,HIGH*1.04,NUMBER),COLORWHITE;
所属地域:DRAWTEXT_FIX(ISLASTBAR ,0.01,0.12,0,DYBLOCK),COLORYELLOW;
所属行业:DRAWTEXT_FIX(ISLASTBAR ,0.07,0.12,0,HYBLOCK),COLORYELLOW;
{股指期货交割日}
MNM:=IF(PERIOD=5,1, {日}DRAWNULL);
交割日:SUM(WEEKDAY=5 AND MNM,BARSLAST(MONTH!=REF(MONTH,1))+1)=3 AND WEEKDAY=5,COLORYELLOW,NODRAW;
DRAWTEXT(交割日,H+0.50,'↙交割日'),COLORYELLOW;{股指期货交割日};
鸿佳KDJ加强副图
N:=9;M1:=3;M2:=3;
VAR13:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K13:=SMA(VAR13,3,1), COLORWHITE;
D13:=SMA(K13,3,1), COLORWHITE;
VAR21:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
K21:=SMA(VAR21,3,1), COLORGREEN;
D21:=SMA(K21,3,1), COLORGREEN;
VAR34:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
K34:=SMA(VAR34,3,1), COLORYELLOW;
D34:=SMA(K34,3,1), COLORYELLOW;
VAR55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K55:=SMA(VAR55,3,1),COLORRED;
D55:=SMA(K55,3,1),COLORRED;
DIBU:= K13<20 AND D13<20 AND K21<20 AND D21<20 AND K34<20 AND D34<20 AND K55<20 AND D55<20;
STICKLINE(DIBU=1,80,60,2,1),COLORRED;
TOBU:= K13>80 AND D13>80 AND K21>80 AND D21>80 AND K34>80 AND D34>80 AND K55>80 AND D55>80;
STICKLINE(TOBU=1,40,20,2,1),COLORGREEN;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1),COLORWHITE;
D:SMA(K,M2,1),COLORYELLOW,LINETHICK3;
鸿佳J:3*K-2*D,LINETHICK3,COLORMAGENTA;
DRAWBAND(鸿佳J,RGB(150,20,20),D,RGB(10,100,50)),COLORYELLOW;
K1:SMA(RSV,M1,1),COLORWHITE;
IF(K>90,K,DRAWNULL),COLORBLACK,LINETHICK2;
IF(K<20,K,DRAWNULL),COLORBLUE,LINETHICK2;
IF(鸿佳J>98,鸿佳J,DRAWNULL),COLORGREEN,LINETHICK3;
IF(鸿佳J<10,鸿佳J,DRAWNULL),COLORRED,LINETHICK3;
DRAWTEXT(ISLASTBAR,0,'高安全区'),COLORRED;
DRAWTEXT(ISLASTBAR,100,'高风险区'),COLORGREEN;
RA:=LLV(LOW,35);
RB:=HHV(HIGH,30);
RC:=EMA((CLOSE-RA)/(RB-RA)*4,4)*19;
近日均价:=MA(CLOSE,5),COLORYELLOW,LINETHICK2;
STICKLINE(RC<6 AND 100*(HHV(HIGH,19)-CLOSE)/(HHV(HIGH,19)-LLV(LOW,19))>97 ,0 ,80,1,1),COLORYELLOW;
WEN:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
趋势线:=WEN;
红柱:=COUNT(趋势线<REF(趋势线,1) AND 趋势线<10,2)=2;
DRAWICON(红柱,0.3,0);
RSI1:=((SMA(MAX(CLOSE - REF(CLOSE,1),0),6,1))/(SMA(ABS(CLOSE - REF(CLOSE,1)),6,1)))*(100);
STICKLINE((RSI1 > 80),100,110,1,0),COLOR3333DD;
RSVA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR18:=(HIGH+LOW+CLOSE)/3;
VAR19:=(VAR18-MA(VAR18,14))/(0.015*AVEDEV(VAR18,14));
VAR1A:=(VAR18-MA(VAR18,70))/(0.015*AVEDEV(VAR18,70));
VAR1B:=IF(VAR19>=150 AND VAR19<200 AND VAR1A>=150 AND VAR1A<200,-10,0);
VAR1C:=IF(VAR19<=-150 AND VAR19>-200 AND VAR1A<=-150 AND VAR1A>-200,10,0);
VAR1D:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VAR1E:=100-ABS(VAR1D);
出击2:IF(BARSCOUNT(CLOSE)<13,10,IF(VAR1E<92 AND VAR1D<0,10,0)),COLORYELLOW ;
出击1:IF(BARSCOUNT(CLOSE)<70,-10,IF(VAR1A<=-200 AND VAR19<=-150,15,VAR1C)-10),COLORLIMAGENTA;
STICKLINE(趋势线>88,100,趋势线,1,0),COLORBLUE;
STICKLINE(COUNT(趋势线<REF(趋势线,1) AND 趋势线<10,2)=2,0,50,1,0),COLORWHITE;
Y:=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);
R7:=LLV(L,30); R8:=HHV(H,30);
E:=EMA((C-R7)/(R8-R7)*4,4)*25;
STICKLINE(E>90,110,115,1,1),COLORCYAN;
AR:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;
RV:=HHV(AR,30)*8;
Q:=4*SMA((C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,5,1)-3*SMA(SMA((C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,5,1),3.2,1);
BIAS1W :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2W :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3W :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
MM:=(BIAS1W+2*BIAS2W+3*BIAS3W)/6;
MN:=MA(MM,3);
VAR1:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100;
VAR2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
VAR3:=(2*CLOSE+HIGH+LOW)/4;
VAR4:=LLV(LOW,26);
VAR5:=HHV(HIGH,34);
VAR6:=EMA((VAR3-VAR4)/(VAR5-VAR4)*100,16);
VAR7:=SMA((SMA(VAR2,3,1)+3),3,1),LINETHICK3;
VAR8:=EMA(VAR6,7);
VAR9:=SMA(VAR1,3,1);
VAR10:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR11:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR12:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
VARA13:=(VAR10+VAR11+VAR12)/3;
VAR14:=IF(VAR13<=-20,10,0);
VAR15:=HHV(VAR14,10);
VAR24:=LLV(LOW,36);
VAR25:=HHV(HIGH,30);
VAR26:=EMA((CLOSE-VAR24)/(VAR25-VAR24)*4,4)*25;
底背离: IF((VAR26<10),90,100),COLORYELLOW;
IF(鸿佳J<=0,鸿佳J,DRAWNULL),COLORCYAN,LINETHICK2;
鸿佳MACD金牌副图
DIF11:=EMA(CLOSE,12)-EMA(CLOSE,26),COLORLIRED;
DEA11:=EMA(DIF11,9),COLORGREEN;
鸿佳MACD1:=(DIF11-DEA11)*2,COLORSTICK;
DRAWBAND(DIF11,RGB(80,20,20),DEA11,RGB(0,100,50)),COLORYELLOW;
鸿佳DIF红线:EMA(CLOSE,12)-EMA(CLOSE,26),COLORLIRED;
鸿佳DEA绿线:EMA(鸿佳DIF红线,9),COLORGREEN;
{}
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
E:=CROSS(83,RSI);
DRAWTEXT(E,0.25,'逃顶'),COLORCYAN;
{}
DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,2,-1 ),COLORGREEN; {绿空}
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,2,0 ),COLOR0055FF;{橙}
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,2,0),COLORFF55BB; {紫}
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,2,0 ),COLORFFFF55; {青};
IF(DIFF<0,DIFF,0),COLORRED,LINETHICK1;
IF(DIFF<DEA,DIFF,DEA),COLOR00FF00,LINETHICK1;
IF(DIFF>DEA,DEA,DEA),COLORWHITE,LINETHICK1;
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
STICKLINE(低位金叉,-0.05,-0.1,1,0),COLORYELLOW;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
STICKLINE(二次金叉,-0.1,-0.15,0.75,0),COLORFF00FF;
DRAWTEXT(低位金叉,-0.1,' 低位金叉'),COLORYELLOW;
DRAWTEXT(二次金叉,-0.15,' 二次金叉'),COLORFF00FF;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
STICKLINE(底背离,-0.15,-0.2,0.5,0),COLOR00FF00;
DRAWTEXT(底背离,-0.2,' 底背离'),COLOR00FF00;
DRAWTEXT(E,0.25,'逃顶'),COLORCYAN;
NW:=STRCAT(CON2STR(YEAR,0),' 年 ');
DY:=STRCAT(CON2STR(MONTH,0),' 月 ');
R:=STRCAT(CON2STR(DAY,0),' 日 ');
SJ:=STRCAT(STRCAT(NW,DY), R);
DRAWTEXT_FIX(C>0,0,0,0,SJ),COLORLIBLUE;
鸿佳成交量组副图
M1:=5;
M2:=10;
VOLUME1:=VOL,VOLSTICK;
鸿佳MAVOL1:=MA(VOLUME1,M1),COLORMAGENTA;
鸿佳MAVOL2:=MA(VOLUME1,M2),COLORGREEN;
DRAWBAND(鸿佳MAVOL1,RGB(55,0,0),鸿佳MAVOL2,RGB(0,91,0)),COLORYELLOW;
成交量:VOL,VOLSTICK;
|:=COUNT(CLOSE>REF(CLOSE,1),2)=2 AND COUNT(VOL<REF(VOL,1),2)=2;
价涨量缩:|,COLORMAGENTA;
STICKLINE(|,0,V,1,0),COLORMAGENTA;
地量柱:V<REF(LLV(V,99),1)COLORBLUE;
STICKLINE(地量柱,0,V,1,0),COLORBLUE;
BLZ:=VOL>REF(V,1)*1.9;
BLZ1:=VOL<REF(LLV(VOL,13),1);
BLZ2:=VOL<REF(LLV(VOL,55),1);
STICKLINE(BLZ,0,V,1,0),COLORRED;
倍量柱:BLZ,COLORRED;
HJZ:=(3*C+H+L+O)/6;
HJZ2:=(8*HJZ+7*REF(HJZ,1)+6*REF(HJZ,2)+5*REF(HJZ,3)+4*REF(HJZ,4)+3*REF(HJZ,5)+2*REF(HJZ,6)+REF(HJZ,8))/36;
HJZ3:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>HJZ2 AND C>O;
黄金量:FILTER(HJZ3,5),NODRAW,COLORYELLOW,LINETHICK4;
STICKLINE(黄金量,0,V,1,0),COLORYELLOW;
QFLZ:=V>REF(V,1)*0.98 AND V<REF(V,1)*1.02;
STICKLINE(QFLZ,0,V,1,0),COLORWHITE;
平量柱:QFLZ,COLORWHITE;
倍缩柱:VOL<=REF(V,1)*0.5,NODRAW,COLOR824173;
低量柱:VOL<REF(LLV(VOL,13),1),NODRAW,COLORGREEN;
STICKLINE(倍缩柱,0,V,1,0),COLOR824173;
STICKLINE(低量柱,0,V,1,0),COLORGREEN;
TT:=COUNT(CLOSE>REF(CLOSE,1),2)=2 AND COUNT(VOL<REF(VOL,1),2)=2;
DRAWTEXT(TT,VOL+8000,'缩'),COLORMAGENTA;
DRAWTEXT(地量柱,VOL+8000,'地'),COLORBLUE;
DRAWTEXT(倍量柱,VOL+2000,'倍'),COLORRED;
DRAWTEXT(黄金量,VOL+1500,'黄'),COLORYELLOW;
DRAWTEXT(QFLZ,VOL+8000,'平'),COLORWHITE;
VARR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买盘:IF(CLOSE>OPEN,VARR1*(HIGH-LOW),IF(CLOSE<OPEN,VARR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORLIRED,NODRAW;
卖盘:-IF(CLOSE>OPEN,0-VARR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VARR1*(HIGH-LOW),0-VOL/2)),COLORCYAN,NODRAW;
成交量比%:买盘/VOL*100,COLORWHITE,NODRAW;
红箭头:DRAWICON(LLV(L,3)>REF(L,3) AND HHV(V,3)<REF(V,3) AND
REF(C,3)>REF(O,3) AND REF(V,3)>2*REF(V,4),0,1);
鸿佳5红线:MA(VOLUME1,M1),COLORMAGENTA;
鸿佳10绿线:MA(VOLUME1,M2),COLORGREEN;
VAR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
流入亿:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2))/100000000,COLORRED,NODRAW;
流出亿:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-AMOUNT/2))/100000000,COLOR00FF00,NODRAW;
差亿:流入亿+流出亿,COLORFFFF00,NODRAW;
淘宝店鸿佳股道:0,NODRAW,COLORGRAY;
NW:=STRCAT(CON2STR(YEAR,0),' 年 ');
DY:=STRCAT(CON2STR(MONTH,0),' 月 ');
R:=STRCAT(CON2STR(DAY,0),' 日 ');
SJ:=STRCAT(STRCAT(NW,DY), R);
DRAWTEXT_FIX(C>0,0,0,0,SJ),COLORLIBLUE;
英强金叉系列=副图
白柱表示首共振:0,NODRAW,COLORWHITE;
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);
MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);
A6:=MMS>MMM;
A62:=MMS<MMM;
MTM金叉:=IF(A6,6,0),COLORRED;
STICKLINE(A6,96,100,3.1,0 ),COLOR000055;
STICKLINE(A6,96,100,2.65,0 ),COLOR000077;
STICKLINE(A6,96,100,2.1,0 ),COLOR000099;
STICKLINE(A6,96,100,1.5,0 ),COLOR0000BB;
STICKLINE(A6,96,100,0.9,0 ),COLOR0000DD;
STICKLINE(A6,96,100,0.3,0 ),COLOR0000FF;
STICKLINE(A62,96,100,3.1,0),COLOR005500;
STICKLINE(A62,96,100,2.65,0),COLOR007700;
STICKLINE(A62,96,100,2.1,0),COLOR009900;
STICKLINE(A62,96,100,1.5,0),COLOR00BB00;
STICKLINE(A62,96,100,0.9,0),COLOR00DD00;
STICKLINE(A62,96,100,0.3,0),COLOR00FF00;
DRAWTEXT(ISLASTBAR=1,98,'MTM动量'),COLORWHITE;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
A5:=CLOSE>BBI;
A52:=CLOSE<BBI;
STICKLINE(A5,91,95,3.1,0 ),COLOR000055;
STICKLINE(A5,91,95,2.65,0 ),COLOR000077;
STICKLINE(A5,91,95,2.1,0 ),COLOR000099;
STICKLINE(A5,91,95,1.5,0 ),COLOR0000BB;
STICKLINE(A5,91,95,0.9,0 ),COLOR0000DD;
STICKLINE(A5,91,95,0.3,0 ),COLOR0000FF;
STICKLINE(A52,91,95,3.1,0),COLOR005500;
STICKLINE(A52,91,95,2.65,0),COLOR007700;
STICKLINE(A52,91,95,2.1,0),COLOR009900;
STICKLINE(A52,91,95,1.5,0),COLOR00BB00;
STICKLINE(A52,91,95,0.9,0),COLOR00DD00;
STICKLINE(A52,91,95,0.3,0),COLOR00FF00;
DRAWTEXT(ISLASTBAR=1,93,'BBI多空'),COLORWHITE;
RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
LWR1:=SMA(RSV,3,1);
LWR2:=SMA(LWR1,3,1);
A4:=LWR1>LWR2;
A42:=LWR1<LWR2;
STICKLINE(A4,86,90,3.1,0 ),COLOR000055;
STICKLINE(A4,86,90,2.65,0 ),COLOR000077;
STICKLINE(A4,86,90,2.1,0 ),COLOR000099;
STICKLINE(A4,86,90,1.5,0 ),COLOR0000BB;
STICKLINE(A4,86,90,0.9,0 ),COLOR0000DD;
STICKLINE(A4,86,90,0.3,0 ),COLOR0000FF;
STICKLINE(A42,86,90,3.1,0),COLOR005500;
STICKLINE(A42,86,90,2.65,0),COLOR007700;
STICKLINE(A42,86,90,2.1,0),COLOR009900;
STICKLINE(A42,86,90,1.5,0),COLOR00BB00;
STICKLINE(A42,86,90,0.9,0),COLOR00DD00;
STICKLINE(A42,86,90,0.3,0),COLOR00FF00;
DRAWTEXT(ISLASTBAR=1,88,'LWR威廉'),COLORWHITE;
LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;
A3:=RSI1>RSI2;
A32:=RSI1<RSI2;
STICKLINE(A3,81,85,3.1,0 ),COLOR000055;
STICKLINE(A3,81,85,2.65,0 ),COLOR000077;
STICKLINE(A3,81,85,2.1,0 ),COLOR000099;
STICKLINE(A3,81,85,1.5,0 ),COLOR0000BB;
STICKLINE(A3,81,85,0.9,0 ),COLOR0000DD;
STICKLINE(A3,81,85,0.3,0 ),COLOR0000FF;
STICKLINE(A32,81,85,3.1,0),COLOR005500;
STICKLINE(A32,81,85,2.65,0),COLOR007700;
STICKLINE(A32,81,85,2.1,0),COLOR009900;
STICKLINE(A32,81,85,1.5,0),COLOR00BB00;
STICKLINE(A32,81,85,0.9,0),COLOR00DD00;
STICKLINE(A32,81,85,0.3,0),COLOR00FF00;
DRAWTEXT(ISLASTBAR=1,83,'RSI相对强弱'),COLORWHITE;
RSV1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
K:=SMA(RSV1,3,1);
D:=SMA(K,3,1);
A2:=K>D;
A22:=K<D;
STICKLINE(A2,76,80,3.1,0 ),COLOR000055;
STICKLINE(A2,76,80,2.65,0 ),COLOR000077;
STICKLINE(A2,76,80,2.1,0 ),COLOR000099;
STICKLINE(A2,76,80,1.5,0 ),COLOR0000BB;
STICKLINE(A2,76,80,0.9,0 ),COLOR0000DD;
STICKLINE(A2,76,80,0.3,0 ),COLOR0000FF;
STICKLINE(A22,76,80,3.1,0),COLOR005500;
STICKLINE(A22,76,80,2.65,0),COLOR007700;
STICKLINE(A22,76,80,2.1,0),COLOR009900;
STICKLINE(A22,76,80,1.5,0),COLOR00BB00;
STICKLINE(A22,76,80,0.9,0),COLOR00DD00;
STICKLINE(A22,76,80,0.3,0),COLOR00FF00;
DRAWTEXT(ISLASTBAR=1,78,'KDJ'),COLORWHITE;
DIF:=EMA(CLOSE,8)-EMA(CLOSE,13);
DEA:=EMA(DIF,5);
A1:=DIF>DEA;
A11:=DIF<DEA;
STICKLINE(A1,71,75,3.1,0 ),COLOR000055;
STICKLINE(A1,71,75,2.65,0 ),COLOR000077;
STICKLINE(A1,71,75,2.1,0 ),COLOR000099;
STICKLINE(A1,71,75,1.5,0 ),COLOR0000BB;
STICKLINE(A1,71,75,0.9,0 ),COLOR0000DD;
STICKLINE(A1,71,75,0.3,0 ),COLOR0000FF;
STICKLINE(A11,71,75,3.1,0),COLOR005500;
STICKLINE(A11,71,75,2.65,0),COLOR007700;
STICKLINE(A11,71,75,2.1,0),COLOR009900;
STICKLINE(A11,71,75,1.5,0),COLOR00BB00;
STICKLINE(A11,71,75,0.9,0),COLOR00DD00;
STICKLINE(A11,71,75,0.3,0),COLOR00FF00;
DRAWTEXT(ISLASTBAR=1,73,'MACD'),COLORWHITE;
六指标金叉:=IF((A1 AND A2 AND A3 AND A4 AND A5 AND A6) AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0,7,0),COLORYELLOW,LINETHICK2;
STICKLINE(六指标金叉,71,100,0.3,0 ),COLORWHITE;
六指标:=A1 AND A2 AND A3 AND A4 AND A5 AND A6;
ZXT:=0.5;
XG:=CROSS(六指标,ZXT);
DRAWTEXT(XG,99,' 六指标共振金叉'),COLORWHITE;
DRAWTEXT_FIX(1,0.01,0.06,0,'MTM动量线')COLORWHITE;
DRAWTEXT_FIX(1,0.01,0.23,0,'BBI多空指标')COLORWHITE;
DRAWTEXT_FIX(1,0.01,0.4,0,'LWR威廉')COLORWHITE;
DRAWTEXT_FIX(1,0.01,0.57,0,'RSI相对强弱')COLORWHITE;
DRAWTEXT_FIX(1,0.01,0.75,0,'KDJ')COLORWHITE;
DRAWTEXT_FIX(1,0.01,0.9,0,'MACD')COLORWHITE;
英强金叉选股
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);
MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);
A6:=MMS>MMM;
A62:=MMS<MMM;
MTM金叉:=IF(A6,6,0),COLORRED;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
A5:=CLOSE>BBI;
A52:=CLOSE<BBI;
RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
LWR1:=SMA(RSV,3,1);
LWR2:=SMA(LWR1,3,1);
A4:=LWR1>LWR2;
A42:=LWR1<LWR2;
LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;
A3:=RSI1>RSI2;
A32:=RSI1<RSI2;
RSV1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
K:=SMA(RSV1,3,1);
D:=SMA(K,3,1);
A2:=K>D;
A22:=K<D;
DIF:=EMA(CLOSE,8)-EMA(CLOSE,13);
DEA:=EMA(DIF,5);
A1:=DIF>DEA;
A11:=DIF<DEA;
六指标:=A1 AND A2 AND A3 AND A4 AND A5 AND A6;
ZXT:=0.5;
XG:CROSS(六指标,ZXT);