通達信合成操盤主圖指標公式
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 主圖
- 日期:2022-11-09 來源:互聯(lián)網(wǎng)
通達信合成操盤主圖指標公式:包含未來函數(shù):BACKSET
VAR1:=MA(CLOSE,30);
下軌: VAR1-2*STD(CLOSE,60),COLORCYAN;
成本: MA(CLOSE,60),POINTDOT,COLORMAGENTA,LINETHICK4;
上軌: VAR1+2*STD(CLOSE,60),COLORWHITE;
喜鵲:SAR(10,2,20),COLORYELLOW,LINETHICK2;
滿倉:0.72*MA(FORCAST(CLOSE,2),40),POINTDOT,COLOR0000FF;
DRAWTEXT(CROSS(滿倉,L),L*0.98,'滿');
低吸:0.82*MA(FORCAST(CLOSE,2),40),POINTDOT,COLORF7E300;
A:=DYNAINFO(3)>L AND 低吸>L;{DYNAINFO(3):前收盤價,可用昨日收盤價REF(CLOSE,1)代替}
DRAWTEXT(A,L,'');
AB:=CROSS(滿倉,L) AND A;
DRAWICON(AB,L,1);
VAR1A:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
VAR2A:=REF(HIGH,10)/CLOSE>1.35;
VAR3A:=(COST(20)-CLOSE)/CLOSE>0.15;
VAR4A:=HIGH>LOW*1.051;
秋風起蟹膏滿:=VAR4A AND COUNT(VAR4A,5)>1;
蟹膏滿:=(((CLOSE-VAR1A)/VAR1A*100<-30) OR VAR2A) AND VAR3A AND 秋風起蟹膏滿;
DRAWTEXT(蟹膏滿,L*0.9,'');
BB:=蟹膏滿 AND A;
DRAWICON(BB,L,1);
BA:=CROSS(滿倉,L) AND 蟹膏滿;
DRAWICON(BA,L,1);
A1:=BARSCOUNT(C);
AH:=HHV(HIGH,120);
AL:=LLV(LOW,120);
B0:=(AH-AL)/40;
B1:=HIGH+B0;
B2:=LOW-B0;
AMV0:=((VOL * (((OPEN + CLOSE) + HIGH) + LOW)) / 4);
勢:=(EMA(AMV0,21) / EMA(VOL,21));
壓線:=((6 * HHV(勢,2)) - (5 * 勢)),LINETHICK1,COLOREE8400;
I:=IF(CLOSE<REF(CLOSE,1),VOL/CAPITAL*10053,0);
初晴:= ABS(EMA(I,13.3)-18)/WINNER(CLOSE)*IF((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)<-0.04,1,0);
黃點出低吸:=IF(初晴,L*0.983,DRAWNULL),POINTDOT,COLOR00FFFF,LINETHICK5;
N1:=BARSCOUNT(5) ;
N:=((N1 - CURRBARSCOUNT ) + 1);
HH:=HHV(HIGH,N);
LL:=LLV(LOW,N);
最高:=HHV(N1,1),POINTDOT;
最低:=LLV(N1,1),COLOR00FFFF;
DIFF:=(EMA(CLOSE,5) - EMA(CLOSE,26));
DEA:=EMA(DIFF,3);
MACD:=(2 * (DIFF - DEA));
MA5:=MA(CLOSE,5);
MA20:=MA(CLOSE,20);
MA120:=MA(CLOSE,120);
AA10:=MA(CLOSE,10);
Y:=((LLV(LOW,1) = LLV(LOW,60)) AND ((CLOSE / REF(CLOSE,1)) > 1.04));
WX:=MA(CLOSE,0);
MB5:=(MA(CLOSE,15) * IF((20 < 5),WX,1));
MB7:=(MA(CLOSE,20) * IF((20 < 7),WX,1));
M5:=(MA(CLOSE,15) * IF((20 < 5),WX,1));
DDD:=(EMA(CLOSE,10) - EMA(CLOSE,100));
AMA1:=EMA(DDD,4);
BMA:=(EMA(CLOSE,3) - EMA(CLOSE,30));
BMB:=EMA(BMA,4);
BMA1:=(EMA(CLOSE,13) - EMA(CLOSE,30));
SS:=(MA(CLOSE,8) * 0.998),COLORFFFFFF;
買:=(DDD >= AMA1 AND BMA >= BMB);
HH1:=FILTER(((DDD >= AMA1) AND (BMA >= BMB)),33);
VARR1:=((SMA(MAX((CLOSE - REF(CLOSE,1)),0),12,1) / SMA(ABS((CLOSE - REF(CLOSE,1))),12,1)) * 100);
VAR1V:=REF(CLOSE,1);
VAR2:=((SMA(MAX((CLOSE - VAR1V),0),12,1) / SMA(ABS((CLOSE - VAR1V)),12,1)) * 100);
頂部雷達:=(CROSS(80,VAR2) * 1);
趨勢線:=((3 * SMA((((CLOSE - LLV(LOW,28)) / (HHV(HIGH,28) - LLV(LOW,28)))* 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) -LLV(LOW,27))) * 100),5,1),3,1)));
短期乖離率:=(((CLOSE - MA(CLOSE,13)) / MA(CLOSE,13)) * 100);
VARA:=EMA(((AMOUNT / VOL) / 100),3);
D:=LLV(CLOSE,20);
XXY:=EMA(VARA,88);
XXD:=(XXY * 0.74);
DRAWTEXT(FILTER(((((((短期乖離率 < 6) AND (OPEN <= D)) AND (LOW <= XXD))
AND ((CLOSE / OPEN) > 1.03)) AND (CLOSE > REF(CLOSE,1)))
AND ((CLOSE / LOW) > 1.03)),5),(LOW - (LOW * 0.09)),'★'),COLORFF00FF;
均價:=((((HIGH + LOW) + OPEN) + CLOSE) / 4);
B:=((2 * EMA(LLV(均價,88),5)) - 均價);
黃買:=((3 * B) - (2 * SMA(B,5,1))),COLORFF0033,LINETHICK1;
Y2:=DRAWTEXT(CROSS(CLOSE,黃買),L*0.97,'● '),COLORFF00FF;
黃點出買:=IF(Y2,L*0.97-0.01,DRAWNULL),CIRCLEDOT,COLOR00FFFF,LINETHICK2;
買進價:=((C-REF(MA(C,55),1))/6+MA(C,55))*1.004;
買進條件:=CROSS(C,買進價) AND 買進價>REF(買進價,1);
買進:=STICKLINE(買進條件,H,L,0,0),COLORMAGENTA,LINETHICK2;
KS:=(C-MA(C,33))/MA(C,33)*(-200);
RKS:=REF(KS,1);
FT:=RKS/KS>=1.23 AND RKS>=8 AND C/REF(C,1)>=1.03;
K1:=BACKSET(SS>=REF(SS,1),2),COLORFFFFCC,LINETHICK1;{使用BACKSET未來函數(shù),作為參考}
紅線出持股:IF(K1,SS, DRAWNULL),COLORRED,LINETHICK2;
K2:=BACKSET(SS<=REF(SS,1),2);{使用BACKSET未來函數(shù),作為參考}
綠線出持幣:IF(K2,SS, DRAWNULL),COLORGREEN,LINETHICK2;
VAR10:=MA(C,80)-MA(C,10)/3;
VAR11:=REF(C,1);
VAR12:=SMA(MAX(C-VAR11,0),18,1)/SMA(ABS(C-VAR11),18,1)*100;
高1:=REF(HHV(H,10),20);
低1:=REF(LLV(L,10),20);
H1:=高1-(高1-低1)*0.191;
H2:=高1-(高1-低1)*0.382;
H3:=高1-(高1-低1)*0.5;
H4:=高1-(高1-低1)*0.618;
H5:=高1-(高1-低1)*0.809;
頂:=REFDATE(高1,DATE),COLORWHITE;
二:=REFDATE(H2,DATE),COLOR33FF33,POINTDOT;
三:=REFDATE(H3,DATE),COLORLIGRAY;
四:=REFDATE(H4,DATE),COLORRED;
低:=REFDATE(低1,DATE),COLORYELLOW,POINTDOT;
KSS:=(C-MA(C,33))/MA(C,33)*(-200);
RKSS:=REF(KSS,1);
VAR101:=MA(C,80)-MA(C,10)/3;
VAR111:=REF(C,1);
VAR122:=SMA(MAX(C-VAR111,0),18,1)/SMA(ABS(C-VAR111),18,1)*100;
DRAWTEXT(CROSS(79,VAR122),H*1.04,' 拋↓'),COLOR33FF33;
通達信合成操盤主圖指標公式實例圖解:
通達信合成操盤主圖指標公式