通達(dá)信最愛主圖止損位指標(biāo)公式
- 指標(biāo)類別: 通達(dá)信指標(biāo)公式
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評(píng)級(jí): ★★★★★
- 指標(biāo)分類: 策略
- 畫線方法: 主圖
- 日期:2022-08-31 來源:互聯(lián)網(wǎng)
通達(dá)信最愛主圖止損位指標(biāo)公式:
多空線: SMA((CLOSE+HIGH+LOW)/3,9,1);
主力成本: EMA(COST(9),250);
長命線: EMA(COST(27),120), CIRCLEDOT;
FL:=MA(CLOSE,13)+ABS(MA(CLOSE,13)-REF(MA(CLOSE,13),1));
FS:=MA(CLOSE,13)+MA(CLOSE,13)-REF(MA(CLOSE,13),1);
CG:=IF(MA(CLOSE,13)<FS,FS,MA(CLOSE,13));
A:=CG-(EMA(C,3)-CG);
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;
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
CB:=EMA(X,13);
賣1:=IF(HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX),1,0);
DRAWICON(FILTER(賣1=1,1),H*1.007,24);
買1:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
DRAWICON(FILTER(買1=1,5),L*0.98,25);
A1:=MAX(MAX(MA(C,5),MA(C,10)),MA(C,20));
A2:=MIN(MIN(MA(C,5),MA(C,10)),MA(C,20));
DRAWTEXT(H>REF(O,3)*1.19,H,'小心'),COLORGREEN;
DRAWTEXT(H>REF(O,3)*1.36,H,'絕對(duì)小心'),COLORFF7F00;
絕對(duì)量頂天立地:=V>REF(HHV(V,60),1) OR V>REF(HHV(V,120),1);{絕對(duì)量頂天立地};
DRAWTEXT(絕對(duì)量頂天立地 AND O>C AND C<REF(C,1),C,'收錢了'),COLOR7F00FF;
MA(C,3);
N:=10;
T1:=CONST(HHVBARS(V,N));
T0:IF(CURRBARSCOUNT<=N+3,CONST(IF(T1=0,C,REF(C,T1))),DRAWNULL),COLORFF00FF;
IF(CURRBARSCOUNT=T1+1,T0,DRAWNULL),CIRCLEDOT,COLORFF00FF;
DRAWTEXT(ISLASTBAR,T0,' 量能平臺(tái)'),COLORCC00CC;
W:=20;
W1:=CONST(REF(HHVBARS(V,W),T1+1)+T1+1);
W0:IF(CURRBARSCOUNT<=T1+W+3 AND CURRBARSCOUNT>=T1+1,CONST(REF(C,W1)),DRAWNULL),COLOR009999;
IF(CURRBARSCOUNT=W1+1,W0,DRAWNULL),CIRCLEDOT,COLOR00CCCC;
M:=10;
Q1:=CONST(REF(HHVBARS(V,M),T1+1)+T1+1);
Q0:IF(CURRBARSCOUNT<=T1+M+3 AND CURRBARSCOUNT>=T1+1,CONST(REF(C,Q1)),DRAWNULL),COLOR009900;
IF(CURRBARSCOUNT=Q1+1,Q0,DRAWNULL),CIRCLEDOT,COLOR00CC00;
VAR1:=(HIGH+LOW+CLOSE)/3;
VAR2:=(VAR1-MA(VAR1,14))/(0.015*AVEDEV(VAR1,14));
AA:=CROSS(VAR2,-100);
BB:=BARSLAST(AA)+2;
{CC:=FINANCE(40)<400000000000000000;}
DRAWICON(AA ,L*0.99,1);
DRAWTEXT(AA ,REF(L,2),'---------------------------------止損');
XG2:=CROSS(C,MA(CLOSE,120));
DRAWICON(XG2,H*0.96,27);
通達(dá)信最愛主圖止損位指標(biāo)公式實(shí)例圖解:
通達(dá)信最愛主圖止損位指標(biāo)公式