通達信莊家底線主圖指標公式
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 策略
- 畫線方法: 主圖
- 日期:2023-12-21 來源:互聯(lián)網(wǎng)
通達信莊家底線主圖指標公式:
A:=MA(CLOSE,3),COLORFF00FF,LINETHICK0;
A1:=(CLOSE+HIGH+LOW)/(3);
B:=EMA(A1,17);
B2:=REF(B,1);
莊家底線:EMA(CLOSE,20),COLORRED;
DRAWTEXT((B>B2),莊家底線,'*'),COLORFFFF00,LINETHICK0;
DRAWTEXT((B<B2),莊家底線,'*'),COLORYELLOW,LINETHICK0;
VAR1:=EMA(CLOSE,3);
VAR2:=EMA(CLOSE,8);
MA5:MA(CLOSE,5),COLORWHITE;
MA21:=EMA(CLOSE,21);
STICKLINE(VAR1<MA21,H,L,0,0),COLORGREEN,LINETHICK2;
STICKLINE(VAR1<MA21,C,O,8,0),COLOR10B210,LINETHICK2;
STICKLINE(VAR1<MA21,C,O,5,0),COLOR10C110,LINETHICK2;
STICKLINE(VAR1<MA21,C,O,2,0),COLOR10DD10,LINETHICK2;
STICKLINE(VAR1>MA21,H,L,0,0),COLOR106FFF,LINETHICK2;
STICKLINE(VAR1>MA21,C,O,8,0),COLOR1047FF,LINETHICK2;
STICKLINE(VAR1>MA21,C,O,5,0),COLOR1055FF,LINETHICK2;
STICKLINE(VAR1>MA21,C,O,2,0),COLOR106FFF,LINETHICK2;
STICKLINE(VAR1<VAR2 AND VAR1>MA21,H,L,0,0),COLORFF5D10,LINETHICK2;
STICKLINE(VAR1<VAR2 AND VAR1>MA21,C,O,8,0),COLORFF5D10,LINETHICK2;
STICKLINE(VAR1<VAR2 AND VAR1>MA21,C,O,5,0),COLORFF7710,LINETHICK2;
STICKLINE(VAR1<VAR2 AND VAR1>MA21,C,O,2,0),COLORFF9910,LINETHICK2;
STICKLINE(VAR1>VAR2 AND VAR1<MA21,H,L,0,0),COLORFF00FF,LINETHICK2;
STICKLINE(VAR1>VAR2 AND VAR1<MA21,C,O,8,0),COLORFF43FF,LINETHICK2;
STICKLINE(VAR1>VAR2 AND VAR1<MA21,C,O,5,0),COLORFF63FF,LINETHICK2;
STICKLINE(VAR1>VAR2 AND VAR1<MA21,C,O,2,0),COLORFF83FF,LINETHICK2;
MA2:=MA(CLOSE,10);
MA34:=MA(CLOSE,34);
VARA:=((AMOUNT)/(VOL))/(100);
VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);
VARC:=((SUM(AMOUNT,7))/(VARA))/(100);
VARD:=DMA(VARB,(VOL)/(VARC));
VARE:=((CLOSE-VARD)/(VARD))*(100);
VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);
VARJ:=MA(VARE,20)+STD(VARE,20);
BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);
K:=SMA(VARF,3,1);
頂:=(REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (K>79);
DRAWTEXT((REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (K>79),H*1.02,'小心'),COLORYELLOW;
通達信莊家底線主圖指標公式實例圖解:
通達信莊家底線主圖指標公式