通達信萬法歸一主圖抄底減倉指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 停損
- 畫線方法: 主圖
- 日期:2022-10-20 來源:互聯網
通達信萬法歸一主圖抄底減倉指標公式:
N:=(20);P:=(12);
阻擋線:=SMA(HIGH,21,2)*1.035,POINTDOT,COLORFFFFFF;
下檔線:=SMA(LOW,21,2)*0.96,POINTDOT;
上:=EMA(MA(HIGH,3)*1.05,30); {原句 上:=FFT(MA(HIGH,3)*1.05,30);分析家無FFT,故改}
趨勢:=EMA(MA(LOW,3)*0.96,30); {原句 趨勢:=FFT(MA(LOW,3)*0.96,30);分析家無FFT,故改}
短期支撐:=LLV(CLOSE,N),COLOR6803C7;
中:=EMA(MA(OPEN,3)*0.99,30); {原句 中:=FFT(MA(OPEN,3)*0.99,30);分析家無FFT,故改}
趨勢線:=SMA(LOW,8,1);
VAR1:=(OPEN+LOW+HIGH+CLOSE)/4;
VAR2:=((CLOSE-REF(CLOSE,1))/REF(CLOSE,1))*100;
VAR3:=((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18)))*100;
VAR4:=SMA(VAR3,9,1);
VAR5:=SMA(VAR4,3,1);
J:=3*VAR4-2*VAR5;
A2:=EMA(VAR4,3);
A3:=EMA(A2,3);
A4:=EMA(A3,3);
A5:=EMA(A4,3);
AA:=EMA(A5,6);
中期大底:=LLV(LOW,30),COLORCDFFBB;
VAR9:=HHVBARS(HIGH,50);
VAR11:=((CLOSE-REF(OPEN,VAR9))/REF(OPEN,VAR9))*100;
CG:=MA(CLOSE,19);
CD:=MA(CLOSE,2);
MA20:=MA(CLOSE,20);
MA120:=MA(CLOSE,120);
支撐:=EMA(VAR1,5);
壓力一:=HHV(LOW,20),,COLOR00FFFF;
壓力:=HHV(支撐,60);
短期底部:=LLV(HIGH,30),COLOR00FF00;
DRAWTEXT(FILTER(((((((CLOSE>CG) AND (HIGH<上)) AND (CLOSE <上)) AND ((趨勢線-REF(趨勢線,3))>0)) AND ((趨勢-REF(趨勢,1))>=0)) AND CROSS(CD,CG)),5),(LOW-0.02),'★大底成'),COLOR4D84FF;
DRAWTEXT(FILTER(((CROSS(趨勢,中期大底) AND (LOW<=中)) AND ((趨勢-REF(趨勢,1))>0)),3),(中期大底-0.08),'←分時拉升'),COLORFF00FF;
DRAWTEXT(FILTER((CROSS(中,短期底部) AND ((趨勢-REF(趨勢,1))>0)),4),(中期大底-0.16),'←分時狂牛'),COLOR430CC0;
上一:=(SMA(HIGH,21,2)*1.05);
DRAWTEXT((((((CLOSE<REF(CLOSE,1)) AND ((上-REF(上,1))<0)) AND (CLOSE<REF(CLOSE,1))) AND (HIGH>上一)) AND (CLOSE<上一)),(HIGH+0.13),'←分時短線'),COLORFFFFFF;
VARQ:=MA(CLOSE,152);
VARW:=MA(CLOSE,194.16);
VARE:=(VARW+(2*STD(CLOSE,170)));
VARR:=(VARQ+(2*STD(CLOSE,170)));
VART:=IF((DATE>1880822),1,1);
VAR61:=EMA(HHV(HIGH,500),21);
VAR71:=EMA(HHV(HIGH,250),21);
VAR81:=EMA(HHV(HIGH,90),21);
VAR91:=EMA(LLV(LOW,500),21);
VARA1:=EMA(LLV(LOW,250),21);
VARB1:=EMA(LLV(LOW,90),21);
VARC1:=EMA(((VAR91*0.96+VARA1*0.96+VARB1*0.96+VAR61*0.558+VAR71*0.558+VAR81*0.558)/6),21);
VARD1:=EMA(((VAR91*1.25+VARA1*1.23+VARB1*1.20+VAR61*0.550+VAR71*0.550+VAR81*0.650)/6),21);
VARE1:=EMA(((VAR91*1.30+VARA1*1.30+VARB1*1.30+VAR61*0.680+VAR71*0.680+VAR81*0.680)/6),21);
VARF1:=EMA((((VARC1*3+VARD1*2+VARE1)/6)* 1.738),21);
VAR101:=REF(LOW,1);
VAR111:=((SMA(ABS((LOW-VAR101)),3,1)/SMA(MAX((LOW-VAR101),0),3,1))*100);
VAR121:=EMA(IF(((CLOSE*1.35)<=VARF1),(VAR111*10),(VAR111/10)),3);
VAR131:=LLV(LOW,30);
VAR141:=HHV(VAR121,30);
VAR151:=IF(MA(CLOSE,58),1,0);
VAR161:=(EMA(IF((LOW<=VAR131),((VAR121+(VAR141*2))/2),0),3)/618)*VAR151;
VAR171:=((IF((VAR161>50),50,VAR161)/20)*15)*VART;
主力吸籌:=VAR171>中期大底,COLORFF00FF,LINETHICK0;
DRAWTEXT(FILTER((((((LOW<=趨勢) AND (CLOSE>趨勢)) AND (VAR171>0)) AND ((趨勢-REF(趨勢,1))>0)) AND (CLOSE>OPEN)),5),(LOW-0.04),'←分時黑馬'),COLOR8CF800;
B1:=(HIGH+LOW+CLOSE)/3;
B6:=HHV(B1,4*15);
B7:=LLV(B1,4*15);
B8:=B6-B7;
飛龍頂底線:=MA(((B1-B7)/B8),2)*80;
X7:=EMA(EMA(EMA(HIGH,9),9),9);
海底:=X7*0.92;
海底二:=X7*0.933;
海底三:=X7*0.897;
天際:=X7*1.05;
中線:=SMA(LOW,5,1);
中軌道:=MA(CLOSE,2);
DRAWTEXT(FILTER(((((HIGH>壓力) AND (CLOSE<壓力)) AND ((趨勢-REF(趨勢,1))<0)) AND (CLOSE<OPEN)),5),(HIGH+0.12),'●逃'),COLORFFFF00;
MA12:=MA(CLOSE,P);
MA42:=MA(CLOSE,42);
{DRAWTEXT((((CROSS(中軌道,均五) AND (LOW<=海底)) AND ((均五-REF(均五,1))>0)) AND (CLOSE>=海底二)),LOW,' 底部'),COLOR00FFFF;
DRAWTEXT(((((CROSS(中軌道,海底) AND VAR171) AND (LOW<=海底)) AND ((MA20-REF(MA20,1))>0)) AND (CLOSE>海底)),(LOW-0.06),'小底不急');
DRAWTEXT(((((CROSS(中軌道,海底三) AND (CLOSE>OPEN)) AND ((CLOSE-REF(CLOSE,4))>0)) AND (LOW<=海底三)) AND (CLOSE>海底三)),LOW,'底二');}
MA30:=MA(CLOSE,30);
V1:=HHVBARS(HIGH,100);
V2:=CROSS(MA(CLOSE,10),MA(CLOSE,30));
V3:=(V1>60 AND V2)*100;
DRAWTEXT((((((V3 AND (HIGH<上)) AND (CLOSE<壓力)) AND (CLOSE>OPEN)) AND ((上-REF(上,1))>0)) AND ((趨勢-REF(趨勢,1))>0)),(LOW-0.04),'←量價齊升'),COLOR8B0CFF;
DRAWTEXT(((((V3 AND (HIGH<趨勢)) AND (HIGH<天際)) AND ((支撐-REF(支撐,1))>0)) AND ((MA20-REF(MA20,1))>0)),(LOW-0.03),'分時波段介入'),COLOR5BA8FF;
DRAWTEXT(((CROSS(趨勢,MA12) AND (CLOSE>OPEN)) AND ((趨勢-REF(趨勢,1))>0)),LOW,'★分時果斷');
DRAWTEXT(FILTER(((((((((CROSS(支撐,MA12) AND ((MA12-REF(MA12,1))>0)) AND (HIGH<上)) AND (OPEN<壓力一)) AND ((CLOSE-REF(CLOSE,1))>0)) AND ((MA42-REF(MA42,1))>0)) AND (支撐<壓力)) AND (支撐>MA12)) AND ((趨勢-REF(趨勢,1))>0)),6),(LOW-0.02),'←分時回抽'),COLOR4DFFFF;
DRAWTEXT((((LOW<=趨勢) AND (CLOSE>=支撐)) AND ((MA120-REF(MA120,1))>0)),(LOW-0.35),'抄底'),COLORFF0000;
DRAWTEXT(FILTER(((((((LOW<=短期底部) AND ((上-REF(上,1))>0)) AND ((上-REF(上,1))>0)) AND (CLOSE>OPEN)) AND (趨勢線<=短期底部)) AND (CLOSE>=短期底部)),5),(LOW-0.03),'←分時望月');
VAR22:=(CLOSE+HIGH+LOW)/3;
VAR33:=EMA(VAR22,10);
VAR44:=REF(VAR33,1);
DRAWTEXT(FILTER((((LOW<=中期大底) AND ((趨勢-REF(趨勢,1))>0)) AND VAR171),5),(LOW-0.03),'←●買點出現');
DRAWTEXT(((((LOW<=下檔線) AND (LOW<=短期支撐)) AND (短期支撐<=下檔線)) AND ((MA20-REF(MA20,1))> 0)),LOW,'←絕佳買點'),COLORFF0000;
DRAWTEXT(((((CROSS(VAR33,MA20) AND (LOW<=VAR33)) AND (CLOSE>= VAR33)) AND ((趨勢-REF(趨勢,2))>0)) AND ((VAR33-REF(VAR33,1))>0)),LOW,'←回頭望月'),COLORFFFFFF;
DRAWTEXT(FILTER((((HIGH>壓力) AND (CLOSE<壓力)) AND (HIGH>阻擋線)),8),HIGH,'←減倉'),COLORB0FA00;
通達信萬法歸一主圖抄底減倉指標公式實例圖解:
通達信萬法歸一主圖抄底減倉指標公式