$Direxion Daily S&P Biotech Bull 3x Shares ETF (LABU.US)$ The waterfall cascades down three thousand feet, as if the Milky Way descends from the heavens! Only by cutting losses without regret can one escape the vegetable field!
Translated
4
1
Columns 我写的CCI与相对成交量结合的副图程序
VKP:=IF(AMOUNT=0,(C+L+H+O)/4,AMOUNT/VOL);
RR:=VKP;
D1:=20;
SMD:=5;
WIDTH:=1.5;
RCCI:=(RR-MA(RR,D1))*100/(WIDTH*STDP(RR,D1));
VD:=120;
RV:=(VOL-LLV(VOL,VD))*100/(HHV(VOL,VD)-LLV(VOL,VD));
RVB:=RV*2-100;
VM:=EMA(RVB,SMD);
CCI:RCCI,COLORFF9300,NODRAW;
V%:RV,COLORFFFB00,NODRAW;
T:100,COLORLICYAN,DOTLINE;
M:0,COLORWHITE,DOTLINE;
G:-100,COLORLICYAN,DOTLINE;
X:=VKP;
Y:=REF(X,1);
STICKLINE(C>=O AND X>=Y,-100,RVB,0.2,0),COLORRED;
STICKLINE(C<O AND X>=Y,-100,RVB,0.2,0),COLORLIRED;
STICK...
RR:=VKP;
D1:=20;
SMD:=5;
WIDTH:=1.5;
RCCI:=(RR-MA(RR,D1))*100/(WIDTH*STDP(RR,D1));
VD:=120;
RV:=(VOL-LLV(VOL,VD))*100/(HHV(VOL,VD)-LLV(VOL,VD));
RVB:=RV*2-100;
VM:=EMA(RVB,SMD);
CCI:RCCI,COLORFF9300,NODRAW;
V%:RV,COLORFFFB00,NODRAW;
T:100,COLORLICYAN,DOTLINE;
M:0,COLORWHITE,DOTLINE;
G:-100,COLORLICYAN,DOTLINE;
X:=VKP;
Y:=REF(X,1);
STICKLINE(C>=O AND X>=Y,-100,RVB,0.2,0),COLORRED;
STICKLINE(C<O AND X>=Y,-100,RVB,0.2,0),COLORLIRED;
STICK...
Columns 我写的交易分析主图程序
VKP:=IF(AMOUNT=0,(C+L+H+O)/4,AMOUNT/VOL);
{—-改进HEIKEN ASHI K线—}
XC:=(C+L+H+O)/4;
XO:=TMA(REF(XC,1), 0.5,0.5);
XH:=MAX(H,MAX(XC,XO));
XL:=MIN(L,MIN(XC,XO));
{—-改进HEIKEN ASHI K线—}
RR:=VKP;
D1:=20;
M1:=WMA(2*WMA(RR,ROUND(D1/2))-WMA(RR,D1),ROUND(SQRT(D1)));
VM1:=EMA(RR,144);
VM2:=EMA(RR,169);
SR:= SAR(4,2,20);
NR:=CONST(C);
HL:=CONST(IF(XC>=XO,H,L));
C:C,COLORWHITE,LINETHICK1;
C%:(NR-C)*100/C,COLORWHITE,NODRAW;
P:VKP,COLORLIBLUE,NODRAW;
PH%:(VKP-M1)*100/VKP,COLORLIBLUE,NODRAW;
H:M1,COLORL...
{—-改进HEIKEN ASHI K线—}
XC:=(C+L+H+O)/4;
XO:=TMA(REF(XC,1), 0.5,0.5);
XH:=MAX(H,MAX(XC,XO));
XL:=MIN(L,MIN(XC,XO));
{—-改进HEIKEN ASHI K线—}
RR:=VKP;
D1:=20;
M1:=WMA(2*WMA(RR,ROUND(D1/2))-WMA(RR,D1),ROUND(SQRT(D1)));
VM1:=EMA(RR,144);
VM2:=EMA(RR,169);
SR:= SAR(4,2,20);
NR:=CONST(C);
HL:=CONST(IF(XC>=XO,H,L));
C:C,COLORWHITE,LINETHICK1;
C%:(NR-C)*100/C,COLORWHITE,NODRAW;
P:VKP,COLORLIBLUE,NODRAW;
PH%:(VKP-M1)*100/VKP,COLORLIBLUE,NODRAW;
H:M1,COLORL...
Columns 我写的OBV量能分析程序
VKP:=IF(AMOUNT=0,(C+L+H+O)/4,AMOUNT/VOL);
{- - - -OBV END - - - -}
SR:=VKP-REF(VKP,1);
OBR:=IF(AMOUNT>0,AMOUNT,VOL);
OBV:=TMA(OBR*SIGN(SR),1,1);
{- - - -OBV END - - - -}
RR:=OBV;
D1:=20;
M1:=WMA(2*WMA(RR,ROUND(D1/2))-WMA(RR,D1),ROUND(SQRT(D1)));
NR:=CONST(RR);
R:RR,COLORFF9300,NODRAW;
R%:(NR-RR)*100/RR,COLORFF9300,NODRAW;
H:M1,COLORLIMAGENTA,NODRAW;
RH%:(RR-M1)*100/RR,COLORLIMAGENTA,NODRAW;
O1:=M1;
O1,COLORLIMAGENTA,LINETHICK2;
IF(O1>=REF(O1,1),O1,DRAWNULL),COLORMAGENTA,LINETHICK2;
O...
{- - - -OBV END - - - -}
SR:=VKP-REF(VKP,1);
OBR:=IF(AMOUNT>0,AMOUNT,VOL);
OBV:=TMA(OBR*SIGN(SR),1,1);
{- - - -OBV END - - - -}
RR:=OBV;
D1:=20;
M1:=WMA(2*WMA(RR,ROUND(D1/2))-WMA(RR,D1),ROUND(SQRT(D1)));
NR:=CONST(RR);
R:RR,COLORFF9300,NODRAW;
R%:(NR-RR)*100/RR,COLORFF9300,NODRAW;
H:M1,COLORLIMAGENTA,NODRAW;
RH%:(RR-M1)*100/RR,COLORLIMAGENTA,NODRAW;
O1:=M1;
O1,COLORLIMAGENTA,LINETHICK2;
IF(O1>=REF(O1,1),O1,DRAWNULL),COLORMAGENTA,LINETHICK2;
O...
Columns 我写的RSI指标并结合了相对成交量值。
{RSI and vol}
KD:=IF(PERIOD=14,2,IF(PERIOD=13,4,IF(PERIOD=4,7,IF(PERIOD=18,3,1))));
VDP:=IF(TOTALAMOUNT=0,IF(AMOUNT=0,(C+L+H)/3,AMOUNT/VOL),TOTALAMOUNT/TOTALVOL);
RR:=VDP;
D1:=20*KD;
LC:=RR-REF(RR,1)
TEMP1:=MAX(RR-REF(RR,1),0);
TEMP2:=ABS(RR-REF(RR,1));
RSI1S:=WMA(2*WMA(TEMP1,ROUND(D1/2))-WMA(TEMP1,D1),ROUND(SQRT(D1)))*100/WMA(2*WMA(TEMP2,ROUND(D1/2))-WMA(TEMP2,D1),ROUND(SQRT(D1)));
VD:=60*KD;
RV:=(VOL-LLV(VOL,VD))*100/(HHV(VOL,VD)-LLV(VOL,VD));
RVB:=RV;
VMD:=5*KD;
VM:=MA(RV,V...
KD:=IF(PERIOD=14,2,IF(PERIOD=13,4,IF(PERIOD=4,7,IF(PERIOD=18,3,1))));
VDP:=IF(TOTALAMOUNT=0,IF(AMOUNT=0,(C+L+H)/3,AMOUNT/VOL),TOTALAMOUNT/TOTALVOL);
RR:=VDP;
D1:=20*KD;
LC:=RR-REF(RR,1)
TEMP1:=MAX(RR-REF(RR,1),0);
TEMP2:=ABS(RR-REF(RR,1));
RSI1S:=WMA(2*WMA(TEMP1,ROUND(D1/2))-WMA(TEMP1,D1),ROUND(SQRT(D1)))*100/WMA(2*WMA(TEMP2,ROUND(D1/2))-WMA(TEMP2,D1),ROUND(SQRT(D1)));
VD:=60*KD;
RV:=(VOL-LLV(VOL,VD))*100/(HHV(VOL,VD)-LLV(VOL,VD));
RVB:=RV;
VMD:=5*KD;
VM:=MA(RV,V...
Columns 我写的VWAP
{VWAP}
RVWAP:=IF(TOTALAMOUNT=0,IF(AMOUNT=0,(C+L+H)/3,AMOUNT/VOL),TOTALAMOUNT/TOTALVOL);
VWAP:RVWAP,COLORBLUE,NODRAW;
O0:=RVWAP;
O0,COLORBLUE,LINETHICK2;
O0,COLORFF9300,POINTDOT,LINETHICK1;
IF(O0>=REF(O0,1) ,O0,DRAWNULL),COLORFFFB00,POINTDOT,LINETHICK1;
RVWAP:=IF(TOTALAMOUNT=0,IF(AMOUNT=0,(C+L+H)/3,AMOUNT/VOL),TOTALAMOUNT/TOTALVOL);
VWAP:RVWAP,COLORBLUE,NODRAW;
O0:=RVWAP;
O0,COLORBLUE,LINETHICK2;
O0,COLORFF9300,POINTDOT,LINETHICK1;
IF(O0>=REF(O0,1) ,O0,DRAWNULL),COLORFFFB00,POINTDOT,LINETHICK1;
Columns The CCI indicator I wrote
{- - -CCI - - -}
R: =C;
D: =20;
WIDTH: =2;
CCI: = (R-MA (R, D)) *100/ (WIDTH*STDP (R, D));
{- - - CCI END - - -}
User experience: CCI and Bollinger Bands are designed using standard statistical theory to try to achieve quantitative analysis of overbought and oversold to find the top and bottom positions. However, in fact, it can be seen from the actual chart that it always rises and continues to rise; once it is at the bottom, it can go back to the bottom, and it is often used by institutions to deceive. Moreover, a simple average line is used in the design, and the actual situation of delayed response is inevitable, so it is not recommended to use it. Believing in the bottom often makes it difficult for people to get over in a deep situation.
R: =C;
D: =20;
WIDTH: =2;
CCI: = (R-MA (R, D)) *100/ (WIDTH*STDP (R, D));
{- - - CCI END - - -}
User experience: CCI and Bollinger Bands are designed using standard statistical theory to try to achieve quantitative analysis of overbought and oversold to find the top and bottom positions. However, in fact, it can be seen from the actual chart that it always rises and continues to rise; once it is at the bottom, it can go back to the bottom, and it is often used by institutions to deceive. Moreover, a simple average line is used in the design, and the actual situation of delayed response is inevitable, so it is not recommended to use it. Believing in the bottom often makes it difficult for people to get over in a deep situation.
Translated
{— HMA Hull Moving Average —}
HD: =20;
R: =C;
HMA: =WMA (2*WMA (R, ROUND (HD/2)) - WMA (R, HD), ROUND (SQRT (HD)));
{- - - HMA END- - -}
Experience: The HMA Hull moving average really overcomes the latency problems of other types of moving averages to the greatest extent possible. At the same time, it is ideal to analyze trends using a cycle of 20, 60, and 240 days. However, it is more accurate to quantify the bull and bear dividing line using a simple 120-day average MA.
HD: =20;
R: =C;
HMA: =WMA (2*WMA (R, ROUND (HD/2)) - WMA (R, HD), ROUND (SQRT (HD)));
{- - - HMA END- - -}
Experience: The HMA Hull moving average really overcomes the latency problems of other types of moving averages to the greatest extent possible. At the same time, it is ideal to analyze trends using a cycle of 20, 60, and 240 days. However, it is more accurate to quantify the bull and bear dividing line using a simple 120-day average MA.
Translated
3
1
Columns The OBV indicator code I wrote
{- - - OBV - - - - - - -}
X: = (C+H+L+O) /4;
OBV: =TMA (VOL*SIGN (X-REF (X,1)) ,1,1);
{- - - -OBV END - - - -}
Experience: Since the volume that the software system can provide is not the total trading volume of the entire trading market, there is a problem with its quantitative reliability. Plus, whether the change in X is consistent with the change in actual quantitative energy is also questionable. It's still not necessary.
X: = (C+H+L+O) /4;
OBV: =TMA (VOL*SIGN (X-REF (X,1)) ,1,1);
{- - - -OBV END - - - -}
Experience: Since the volume that the software system can provide is not the total trading volume of the entire trading market, there is a problem with its quantitative reliability. Plus, whether the change in X is consistent with the change in actual quantitative energy is also questionable. It's still not necessary.
Translated
{—HEIKEN ASHI K LINE—}
XC: = (C+H+L+O) /4;
XO: =TMA (REF (XC,1) ,0.5,0.5);
XH: =MAX (H, MAX (XC, XO));
XL: =MIN (L, MIN (XC, XO));
DRAWKLINE (XH, XO, XL, XC);
{—HEIKEN ASHI K LINE—}
Experience: XC: = (C+H+L+O) /4 in MOOM; however, since institutions use the quantitative effects of raising stock prices before and after the market to control the opening price and influencing stock price trends, there is no need for an opening price. It is OK to use this K-line as an auxiliary analysis.
XC: = (C+H+L+O) /4;
XO: =TMA (REF (XC,1) ,0.5,0.5);
XH: =MAX (H, MAX (XC, XO));
XL: =MIN (L, MIN (XC, XO));
DRAWKLINE (XH, XO, XL, XC);
{—HEIKEN ASHI K LINE—}
Experience: XC: = (C+H+L+O) /4 in MOOM; however, since institutions use the quantitative effects of raising stock prices before and after the market to control the opening price and influencing stock price trends, there is no need for an opening price. It is OK to use this K-line as an auxiliary analysis.
Translated
2