在主图上划线的主图公式(大智慧),自用VOL指标(大智慧)
admin888
|在主图上划线的主图公式(大智慧),自用VOL指标(大智慧)
在主图上划线的主图公式(大智慧)
VARA:=(((CLOSE -ema(CLOSE,13)) / Ema(CLOSE,13)) * (0 - 100));
趋势线:EMA(((VARA/10)+EMA(CLOSE,10)),3);
VARB:=(OPEN+HIGH+LOW)/3;
VARC:=EMA(VARB,4);
行情线:=VARC;
BUY11:=IF(crOSS(行情线,趋势线) OR (REF(行情线,1)=REF(趋势线,1) AND 行情线>趋势线),1,0);
DRAWTEXT(CROSS(行情线,趋势线) OR (REF(行情线,1)=REF(趋势线,1) AND 行情线>趋势线),LOW*0.98,'▲'),COLOR0000FF;
DRAWTEXT(CROSS(行情线,趋势线) OR (REF(行情线,1)=REF(趋势线,1) AND 行情线>趋势线),LOW*0.975,'?'),COLOR0000FF;
DRAWTEXT(CROSS(行情线,趋势线) OR (REF(行情线,1)=REF(趋势线,1) AND 行情线>趋势线),LOW*0.975,'‖'),COLOR0000FF;
DRAWTEXT(CROSS(行情线,趋势线) OR (REF(行情线,1)=REF(趋势线,1) AND 行情线>趋势线),LOW*0.97,'?'),COLOR0000FF;
DRAWTEXT(CROSS(行情线,趋势线) OR (REF(行情线,1)=REF(趋势线,1) AND 行情线>趋势线),LOW*0.97,'‖'),COLOR0000FF;
DRAWTEXT(CROSS(行情线,趋势线) OR (REF(行情线,1)=REF(趋势线,1) AND 行情线>趋势线),LOW*0.965,'?'),COLOR0000FF;
DRAWTEXT(CROSS(行情线,趋势线) OR (REF(行情线,1)=REF(趋势线,1) AND 行情线>趋势线),LOW*0.965,'‖'),COLOR0000FF;
DRAWTEXT(CROSS(趋势线,行情线) OR (REF(行情线,1)=REF(趋势线,1) AND 行情线<趋势线),HIGH*1.02,'?'),COLOR00FF00;
DRAWTEXT(CROSS(趋势线,行情线) OR (REF(行情线,1)=REF(趋势线,1) AND 行情线<趋势线),HIGH*1.025,'?'),COLOR00FF00;
DRAWTEXT(CROSS(趋势线,行情线) OR (REF(行情线,1)=REF(趋势线,1) AND 行情线<趋势线),HIGH*1.025,'‖'),COLOR00FF00;
DRAWTEXT(CROSS(趋势线,行情线) OR (REF(行情线,1)=REF(趋势线,1) AND 行情线<趋势线),HIGH*1.03,'?'),COLOR00FF00;
DRAWTEXT(CROSS(趋势线,行情线) OR (REF(行情线,1)=REF(趋势线,1) AND 行情线<趋势线),HIGH*1.03,'‖'),COLOR00FF00;
DRAWTEXT(CROSS(趋势线,行情线) OR (REF(行情线,1)=REF(趋势线,1) AND 行情线<趋势线),HIGH*1.035,'?'),COLOR00FF00;
DRAWTEXT(CROSS(趋势线,行情线) OR (REF(行情线,1)=REF(趋势线,1) AND 行情线<趋势线),HIGH*1.035,'‖'),COLOR00FF00;
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
FA:=IF(CROSS(FF,MA15),1,0);
TR:=MAX(MAX((HIGH - LOW),Abs(REF(CLOSE,1) - HIGH)),ABS(REF(CLOSE,1) - LOW));
ATR:=MA(TR,14);
AA:=(HHV(HIGH,20) - (2 * ATR));
BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1));
SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE);
BBB:=BArslAst(BB);
SSSB:=BARSLAST(SSS);
B1:=((BBB = 0) AND (REF(SSSB,1) < REF(BBB,1)));
B1B:=BARSLAST(B1);
B2:=((((BB = 1) AND (B1B < SSSB)) AND (B1B > 0)) AND (COUNT(BB,SSSB) < 3));
B2B:=BARSLAST(B2);
B3:=((((BB = 1) AND (B2B < B1B)) AND (COUNT(BB,SSSB) < 4)) AND (COUNT(BB,SSSB) > 2));
DRAWTEXT((B1=1 AND 行情线>=趋势线 AND BUY11=0) OR (B2=1 AND 行情线>=趋势线 AND BUY11=0),LOW*0.98,'▲'),COLORFF00FF;
A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/210;
Y:=EMA(X,13);
加仓A:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;
DRAWTEXT(FILTER((CROSS(加仓A,0) OR CROSS(CLOSE,Y)) AND 行情线>=趋势线 AND BUY11=0 AND FA=0,3),LOW*0.98,'▲'),COLORFF00FF;
加仓:=(B1=1 AND 行情线>=趋势线 AND BUY11=0) OR (B2=1 AND 行情线>=趋势线 AND BUY11=0) OR FILTER((CROSS(加仓A,0) OR CROSS(CLOSE,Y)) AND 行情线>=趋势线 AND BUY11=0 AND FA=0,3);
{STICKLINE(加仓,C,O,6,1),COLORFF00FF;}
STICKLINE(加仓,OPEN,CLOSE,4.5,0),COLORff0099;
STICKLINE(加仓,OPEN,CLOSE,3,0),COLORff00CC;
STICKLINE(加仓,OPEN,CLOSE,2,0),COLORFF00FF;
VARJ1:=REF(CLOSE,1);
VARJ2:=((SMA(MAX(CLOSE-VARJ1,0),6,1))/(SMA(ABS(CLOSE-VARJ1),6,1)))*(100);
减仓A:=CROSS(85,VARJ2);
DRAWTEXT(减仓A AND 行情线>=趋势线,HIGH*1.03,'?'),coloryellow;
mtm:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
DY:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX);
LC:=REF(CLOSE,1);
rsi:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
减仓B:=FILTER(CROSS(84,RSI) OR DY,5);
DRAWTEXT(减仓B AND 行情线>=趋势线,H*1.03,'?'),coloryellow;
减仓:=减仓A OR 减仓B;
bbi:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
上:=BBI+3*STD(BBI,10);
中:=BBI;
下:=BBI-3*STD(BBI,10);
优选:=BETWEEN(上,OPEN,CLOSE) AND BETWEEN(中,OPEN,CLOSE) AND BETWEEN(下,OPEN,CLOSE) AND CLOSE>OPEN AND 上>=REF(上,1) AND 中>=REF(中,1) AND 下>REF(下,1);
DRAWTEXT(FILTER(优选,2),LOW*0.95,'¤'),COLOR00FF00;
DRAWTEXT(FILTER(优选,2),LOW*0.95,'●'),COLOR00FF00;
DRAWTEXT(FA AND BUY11=0,(LOW * 0.98),'□'),COLOR0099FF;
底背离:=FA AND BUY11=0;TY:=C;
HD:=FILTER(BacKSET(FILTER(REF(TY,10)=HHV(TY,2*10+1),10),10+1),10);
LD:=FILTER(BACKSET(FILTER(REF(TY,10)=LLV(TY,2*10+1),10),10+1),10);
A2:=REF(C,BARSLAST(HD));
B2A:=REF(C,BARSLAST(LD));
T1:=BARSLAST(HD)
T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
顶:IF(T1,A2,A2),COLOR00FF00,POINTDOT,LINETHICK2;
STICKLINE(T1,A2,A2,9,0),COLOR00FF00;
底:IF(T2,B2A,B2A),COLORFF00FF,POINTDOT,LINETHICK2;
STICKLINE(T2,B2A,B2A,9,0),COLORFF00FF;
Var2:=(C+L+O+H)/4;
多头线:=(20*Var2+19*REF(Var2,1)+18*REF(Var2,2)+17*REF(Var2,3)+16*REF(Var2,4)+15*REF(Var2,5)+14*REF(Var2,6)+13*REF(Var2,7)+12*REF(Var2,8)+11*REF(Var2,9)+10*REF(Var2,10)+9*REF(Var2,11)+8*REF(Var2,12)+7*REF(Var2,13)+6*REF(Var2,14)+5*REF(Var2,15)+4*REF(Var2,16)+3*REF(Var2,17)+2*REF(Var2,18)+REF(Var2,20))/210;
空头线:=EMA(多头线,4);
STICKLINE(多头线>空头线,多头线,空头线,4,10),coloryellow;
自用VOL指标(大智慧)
换手:IF(CAPITAL>0,V/CAPITAL*100,V),LINETHICK0;
HS:=换手;
HLP:=SMA(WINNER(C)*100,3,1);
NN:=250;
HH:=HHV(V,NN);
LL:=LLV(V,NN);
最高:=HH;
最低:=LL;
RCC:=最高*0.9-(最高-最低)*0.5;
RHL:=RCC;
HLmaX:=MAX(最高,最低);
HLMIN:=MIN(最高,最低);
HLMN1:=(HLMAX+HLMIN)/2;
HLMN2:=HLMAX-HLMIN;
HLMN3:=(100-0)/2*1.3;
HLMN4:=(100-0)/1*1.3;
显示k线面积:=1;((100-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLOR333333;
((80-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLOR333333;
((50-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLOR888888;
((25-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLOR333333;
{最佳买入时机}LC:=REF(CLOSE,1);
rsi5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(Abs((CLOSE - LC)),5,1)) * 100);
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
pdi:=((DMP * 100) / TR1);
mdi:=((DMM * 100) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
AV:=(RSI5 + ADX);
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
wr10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
NEWvol:=(RSI5 - WR10);
最佳买入:=(AV + NEWVOL);
stICKLINE(crOSS(最佳买入,0),((85-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,((100- HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,2.8,0),COLORRED;
{百万测底}趋势线:= 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);
准备:IF(趋势线<=5,((65-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,((100-HLMN3)*HLMN2 /HLMN4+HLMN1)+RHL),COLORFFFFFF;
VARA2:=LLV(MA(LOW,3),3);
VARA3:=HHV(MA(HIGH,3),3);
KK:=ema((CLOSE-VARA2)/(VARA3-VARA2)*100,4)*0.7+20;
DD:=EMA(0.667*REF(KK,1)+0.333*KK,2)*0.7+20;
KK2:=EMA(ABS(VARA2-CLOSE)/ABS(VARA2-VARA3)*100,4)*0.7+20;
DD2:=EMA(0.667*REF(KK2,1)+0.333*KK2,2)*0.7+20;
提示:IF((KK2-KK)*2.5>35,((75-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,((100- HLMN3)*HLMN2/HLMN4+HLMN1)+RHL),LINETHICK2,COLORFF00FF;
XXJJ:=LLV("kdj.J",2)=LLV("kdJ.J",8);
时机: IF(CROSS("KDJ.J",1) AND REF(XXJJ,1),((90-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,((100-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL),LINETHICK2,COLORYELLOW;
地量买点:=CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0);STICKLINE(地量买点,((0-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,((20-HLMN3)*HLMN2 /HLMN4+HLMN1)+RHL,3,0),COLORFF0080;
SJ:=240;
地量:=IF(CAPITAL=0,AMOUNT=LLV(AMOUNT,34),换手
极地量:IF(换手
连续地量:=COUNT(地量,3)>=3 AND COUNT(极地量,3)>=1;
一字涨板:=C>=REF(C,1)*1.01 AND C=O AND H=L;
一字跌板:=C*1.1>=REF(C,1) AND C=O AND H=L;
无一字板:=NOT(一字涨板 OR 一字跌板);
STICKLINE(地量 AND 无一字板 AND (C-MA(C,5))/MA(C,5)*100<0,V,0,2.8,0),COLORFF0080;
STICKLINE(地量 AND 无一字板 AND (C-MA(C,5))/MA(C,5)*100<0,V,0,2.5,0),COLOR00FFFF;
STICKLINE(C>O,V,0,2,1),COLORRED;
STICKLINE(C<=O,V,0,2,1),COLORFFF333;
AA:=VOL>=REF(V,1)*1.91 AND C>REF(C,1);
AA3:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.05 AND 无一字板;
STICKLINE(AA,0,V,2,0),COLORRED;
STICKLINE(AA1,0,V/2,2,0),COLORGREEN;
STICKLINE(AA2,0,V/2,2,0),COLORFF00FF;
STICKLINE(AA3,0,V,1,0),COLORWHITE;
地线:HHV(V,60)/6,COLOR00FF00,LINETHICK2;
((HLP-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLOR0000FF,LINETHICK1,POINTDOT;
(("KDJ.K"-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLORFFF111;
(("KDJ.D"-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLOR00FF00;
(("KDJ.J"-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLORFF1111;
MV35:MA(V,35),COLORFFFFFF;
MV10:MA(V,10),COLOR00FFFF;
MV5:MA(V,5),COLORFF00FF;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。