通达信公式给大家分享两个利用分时图当天抓涨停板的公式很准.docx
《通达信公式给大家分享两个利用分时图当天抓涨停板的公式很准.docx》由会员分享,可在线阅读,更多相关《通达信公式给大家分享两个利用分时图当天抓涨停板的公式很准.docx(9页珍藏版)》请在冰豆网上搜索。
通达信公式给大家分享两个利用分时图当天抓涨停板的公式很准
通达信公式给大家分享两个利用分时图当天抓涨停板的公式【很准】
通达信公式给大家分享两个利用分时图当天抓涨停板的公式【很准】
LTA:
=FINANCE(7)+0;
GB:
=2*IF(FINANCE(7)
C1:
=CLOSE;
V1:
=TIME;
A1:
=COUNT(BARSCOUNT(C)=1ANDTIME
T:
=IF(V1
(FLOOR(V1/10000)-11)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000))),NODRAW;
成交额:
AMOUNT,NODRAW;
大额线:
=50*3+300*GB,COLOR00FFFF;
VV2:
=SUM(AMOUNT,T),NODRAW;
初正1:
=IF(T=1ANDDYNAINFO(4)>=DYNAINFO(3),VV2,0);
初负1:
=IF(T=1ANDDYNAINFO(4)
初正2:
=CONST(SUM(IF(T=1,初正1,0),T)),NODRAW;
初负2:
=CONST(SUM(IF(T=1,初负1,0),T)),NODRAW;
初正:
=CONST(SUM(IF(初正1>大额线ANDT=1,初正1,0),T)),NODRAW;
初负:
=CONST(SUM(IF(初负1>大额线ANDT=1,初负1,0),T)),NODRAW;
T00:
=IF(C1>REF(C1,1),,;
T01:
=IF(C1
T02:
=T00+T01;
TT1:
=BARSLAST(CROSS(T02,0));
TT2:
=BARSLAST(CROSS(0,T02));
TT:
=IF(T02=,1,IF(T02=,-1,0));
正V1:
=IF(TT=1OR(TT=0ANDTT1>TT2),成交额,0);
负V1:
=IF(TT=-1OR(TT=0ANDTT1
正总1:
=初正1+SUM(正V1,T),NODRAW,COLOR0000FF;
负总1:
=初负1+SUM(负V1,T),NODRAW,COLOR00FF00;
总:
=(正总1+负总1)+初正2+初负2,NODRAW;
正V:
=IF(正V1>大额线,正V1,0);
负V:
=IF(负V1>大额线,负V1,0);
正总:
初正+SUM(正V,T),NODRAW,COLOR0000FF;
负总:
初负+SUM(负V,T),NODRAW,COLOR00FF00;
差%:
(正总-负总)/总*100,COLOR00FF00,NODRAW;
TTA:
=INTPART(2*T/5);
KP30:
=T
KPGD:
=H=HHV(H,0)ANDKP30;
GDSJ:
=BARSLAST(KPGD);
{强弱界}
MMA30:
=EMA(CLOSE,30);
强弱界定:
=EMA(CLOSE,900);
DRAWBAND(MMA30,RGB(100,0,0),强弱界定,RGB(0,255,0));
DRAWICON(CROSS(MMA30,强弱界定),H,1);
CC:
=CLOSE,COLORWHITE,LINETHICK2;
VAR7:
=SMA(CC,,1);
VAR8:
=SMA(VAR7,,1);
RCC:
=DYNAINFO(3);
S2:
=SMA(C,3,1);
S6:
=SMA(C,5,1);
DK:
=4*(S2-S6);
KK:
=1;
{暗轨}
{AA1:
=PLOYLINE(CLOSE5,COST(20));
BB1:
=PLOYLINE(CLOSE5,COST(80));
DRAWBAND(BB1,RGB(50,50,50),AA1,DRAWNULL);
{CYC}
VAR1:
=AMOUNT/VOL/100;
VAR2:
=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VAR3:
=SUM(AMOUNT,5)/VAR1/100;
VAR4:
=SUM(AMOUNT,13)/VAR1/100;
VAR5:
=SUM(AMOUNT,34)/VAR1/100;
CYC5:
=DMA(VAR2,VOL/VAR3);
CYC13:
=DMA(VAR2,VOL/VAR4);
CYC34:
=DMA(VAR2,VOL/VAR5);
DRAWBAND(CYC5,RGB(00,50,50),CYC13,DRAWNULL);
DRAWBAND(CYC13,RGB(00,150,150),CYC34,DRAWNULL);
{分时MACD}
昨收:
=DYNAINFO(3);
HH:
=DYNAINFO(5);
LL:
=DYNAINFO(6);
FK:
=MAX(HH-昨收,昨收-LL)*;
ZS:
=昨收-FK*;
Q1:
=昨收-FK*;
Q2:
=昨收-2*FK*;
Q3:
=昨收-3*FK*;
MA5:
=MA(CLOSE,5);
MA10:
=MA(CLOSE,10);
MA20:
=MA(CLOSE,20);
MA30:
=MA(CLOSE,30);
DIF:
=(EMA(CLOSE,13)-EMA(CLOSE,24));
DEA:
=(EMA(DIF,6));
MACD:
=5*(DIF-DEA);
STICKLINE(MACD>=0ANDMACD>=REF(MACD,1),RCC*KK,MACD*4+RCC*KK,3,0),COLORFF00FF,LINETHICK3;
STICKLINE(MACD>=0ANDMACD
STICKLINE(MACD=REF(MACD,1),RCC*KK,MACD*4+RCC*KK,3,0),COLOR4ABEFF,LINETHICK3;
STICKLINE(MACD
STICKLINE(DK>0,RCC*KK,RCC*KK+DK,0,1),COLORRED;
STICKLINE(DK
{多头MACD}
DIFF:
=EMA(CLOSE,240)-EMA(CLOSE,240)*100;
DEAA:
=EMA(DIFF,18);
多头MACD:
=(-3*(DIFF-DEAA))*20,NODRAW;
ZD:
=HHV(多头MACD,0);
ZX:
=LLV(多头MACD,0);
CZ:
=(Q2-Q3)/6;
FDM:
=MAX(ABS(ZD),ABS(ZX))*;
RB:
=(Q2+Q3)/2+2*(Q2-Q3)/3/FDM*多头MACD;
STICKLINE(多头MACD>0,RB,(Q2+Q3)/2,2,1),LINETHICK1,COLOR0000FF;
STICKLINE(多头MACD
{火焰山及底部信号}
FAA:
=WINNER(CLOSE+CLOSE*15/100)*100;
FBB:
=WINNER(CLOSE+CLOSE*0/100)*100;
FCC:
=FAA-FBB;
FDD:
=(WINNER(CLOSE-CLOSE*100)-WINNER(CLOSE-CLOSE*15/100))*100;
FEE:
=FCC
FA1:
=DYNAINFO(6);
FA2:
=IF(LOW>FA1,0,IF(HIGH
FA3:
=VOL/WINNER(LOW);
FA4:
=REF(HHV(CLOSE,120),1);
FA5:
=REF(LLV(CLOSE,120),1);
FA6:
=100*(CLOSE-FA5)/(FA4-FA5);
FA7:
=FA2>0ORFA2=1;
FA8:
=FA7ANDFA3/REF(FA3,3)>=3ANDFA6
FA9:
=REF(FA8,1)ORREF(FA8,2)ORREF(FA8,3)ORREF(FA8,4);
FA10:
=FA8ANDFA9;
FA11:
=IF(FILTER(FA8,3),5,0);
FA12:
=IF(FILTER(FA10,3)ORFEE,10,0);
EEEE:
=(RCC-ZS)/5;
FVAR1:
=REF(LOW,1);
FVAR2:
=SMA(ABS(LOW-FVAR1),13,1)/SMA(MAX(LOW-FVAR1,0),13,1);
FVAR3:
=EMA(FVAR2,13);
FVAR4:
=LLV(LOW,34);
FVAR51:
=EMA(IF(LOW
FVAR5:
=IF(FVAR51>20,20,FVAR51);
DRAWTEXT(FA11,(Q2+Q3)/2*,'↑进'),COLOR00FFFF;
DRAWTEXT(FA12,(Q2+Q3)/2*,',↑加');
主力进场:
STICKLINE(FVAR5>REF(FVAR5,1),(Q2+Q3)/2,(Q2+Q3)/2+FVAR5*EEEE,10,0),COLORRED;
洗盘:
IF(FVAR5
STICKLINE(FVAR5
FVAR6:
=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-
LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
FVAR7:
=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV
(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
FVAR8:
=FVAR6REF(VOL,1)ANDCLOSE>REF(CLOSE,1);
DRAWTEXT(FVAR8ANDCOUNT(FVAR8,30)=1,(Q2+Q3)/2+3*EEEE,'★迹');
JCCOUNT:
=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));
二次金叉:
=CROSS(DIF,DEA)ANDDEA
STICKLINE(二次金叉,(Q2+Q3)/2,(Q2+Q3)/2*,4,0),COLORFF00FF;
DRAWTEXT(二次金叉,(Q2+Q3)/2*,'二金'),COLORYELLOW;
HHH:
=MA(CLOSE,10);
GGG:
=MA(CLOSE,12);
上:
=EMA((MA(HIGH,3)*,30);
下:
=EMA((MA(LOW,3)*,30);
决战:
STICKLINE((((CROSS(DIF,DEA)AND((下-REF(下,1))>0))AND(MACD>=REF(MACD,1)))AND
(DIF
DRAWTEXT((((CROSS(DIF,DEA)AND((下-REF(下,1))>0))AND(MACD>=REF(MACD,1)))AND(DIF
{两个主要买进信号}
RSV:
=((CLOSE-LLV(LOW,240))/(HHV(HIGH,240)-LLV(LOW,240))*200-100);
K:
=SMA(SMA(RSV,18,1),3,1);
D:
=MA(EMA(K,18),3);
短买:
=CROSS(K,D)ANDK>0ANDCLOSE
DRAWTEXT(短买,(Q2+Q3)/2+(Q2-Q3)/1,'短买'),COLORFF00FF;
YY:
=SMA(VOL,30,1);
量1:
=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30));
量:
=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30))>;
短横:
=((HHV(CLOSE,TTA)-LLV(CLOSE,TTA))/CLOSE)
横后上涨:
=(CLOSE/DYNAINFO(3))>==0AND短横AND量ANDCROSS(C,(MA(C*V,TTA)/MA(V,TTA)+AVEDEV(C,TTA)*2));
上涨:
=FILTER((CROSS(横后上涨,0)AND量ANDT>60
OR(T>60ANDCLOSE
ANDCROSS(C,MA(HHV(C,TTA),1)))),30);
DRAWTEXT(上涨,(Q2+Q3)/2+(Q2-Q3)/1,'★涨'),COLORRED,LINETHICK3;
HHHH:
REF(H,GDSJ),COLORFFFFFF,POINTDOT,LINETHICK1;
过顶:
IF(CROSS(C,HHHH),1,0),COLOR00FF00,POINTDOT,NODRAW;
冲高:
IF(FILTER(CROSS(C,HHHH*,15),1,0),COLOR00FFFF,POINTDOT,NODRAW;
DRAWBAND(VAR7,RGB(255,255,0),VAR8,RGB(0,255,255));
DRAWTEXT(过顶,HHHH*,'↑'),COLOR00FF00;
DRAWTEXT(冲高,HHHH*,'☆'),COLOR00FFFF;
C,LINETHICK2,COLORFFFFFF;抓住当天最佳买点!
个人自用极品跟庄分时指标(分时源码附图)注意二点:
1.当股价金叉均线时要等一等,因为这时卖盘还大于买盘(下面指标中绿线在上,红线在下)。
2.当红线金叉绿线时即是买点。
指标说明:
红色线为机构资金,紫色线为中小户资金,绿色线为散户资金。
当盘中红色线出现时,说明有机构资金介入,可关注;一旦出现红色圆点,机构资金上穿散户资金,则表示机构在强力拉升。
同理,当红色线下穿散户线时,说明机构在洗盘或出货。
源码:
A1:
=(DVOL/C)/2,NODRAW;
A2:
=SUM(IF(A1>100ANDCLOSE>REF(CLOSE,1),A1,0),0);
A3:
=SUM(IF(A1>100ANDCLOSE
A4:
=SUM(IF(A1REF(CLOSE,1),A1,0),0);
A5:
=SUM(IF(A1
A6:
=A2+A3+A4+A5;
机买:
(A2/A6)*100,LINETHICK2,COLORRED;
机卖:
(A3/A6)*100,LINETHICK2,COLORGREEN;
散买:
(A4/A6)*100,LINETHICK0;
散卖:
(A5/A6)*100,LINETHICK0;
主力差:
机买-机卖,LINETHICK2,NODRAW;
散户差:
散买-散卖,LINETHICK0,NODRAW;
DRAWTEXT(主力差>0ANDREF(主力差,1)机构'),COLORRED;
DRAWTEXT(主力差=0,-C*,'○机构'),COLORWHITE;
DRAWTEXT(散户差>0ANDREF(散户差,1)
DRAWTEXT(散户差=0,-C*,'△散户'),COLORWHITE;