通達(dá)信薛斯2主圖股買(mǎi)賣(mài)信號(hào)指標(biāo)公式
- 指標(biāo)類(lèi)別: 通達(dá)信指標(biāo)公式
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評(píng)級(jí): ★★★★★
- 指標(biāo)分類(lèi): 趨勢(shì)
- 畫(huà)線(xiàn)方法: 主圖
- 日期:2024-03-26 來(lái)源:互聯(lián)網(wǎng)
通達(dá)信薛斯2主圖股買(mǎi)賣(mài)信號(hào)指標(biāo)公式:
MM:=13;N:=102;M:=7;N2:=14;
AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
短頂:=AA*N/100,LINETHICK1;
短底:AA*(200-N)/100,LINETHICK1,COLORFF00FF;
DRAWTEXT(CURRBARSCOUNT=1,短底,'__短底'),COLORFF00FF;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
中頂:(1+M/100)*DD,LINETHICK1,COLORFF9150;
中底:(1-M/100)*DD,LINETHICK1,COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1,中頂,'__中頂'),COLORFF9150;
DRAWTEXT(CURRBARSCOUNT=1,中底,'__中底'),COLORYELLOW;
VAR4X:=EXPMA(CLOSE,9);
長(zhǎng)底:EXPMA(VAR4X*0.86,5),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,長(zhǎng)底,'__長(zhǎng)底'),COLORGREEN;
{DMI}
MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N2);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),N2);
DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),N2);
PDI:= DMP*100/MTR;
MDI:= DMM*100/MTR;
ADX:= EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,MM);
ADXR:=EXPMEMA(ADX,MM);
{CCI}
TYP:=(HIGH+LOW+CLOSE)/3;
CCIA:=(TYP-MA(TYP,N2))/(0.015*AVEDEV(TYP,N2));
{金幣}
DRAWTEXT(CROSS(MDI,25),L,'★信號(hào)'),COLORYELLOW;
跌穿中軌:=O<短底 AND O<中底 AND O>長(zhǎng)底;
跌穿長(zhǎng)規(guī):=O<長(zhǎng)底;
紅K線(xiàn):=C>O;
帶上下影線(xiàn):=H>O AND H>C AND L<O AND L<C;
山包:=ADX>60;
低位拐彎:=CCIA<-10 AND CCIA-REF(CCIA,1)>1;
DRAWTEXT(跌穿中軌 AND 紅K線(xiàn) AND 低位拐彎,L,'___¥小金幣'),COLORMAGENTA;
DRAWTEXT(跌穿長(zhǎng)規(guī) AND 紅K線(xiàn) AND 低位拐彎,L,'___$大金幣'),COLORRED;
通達(dá)信薛斯2主圖股買(mǎi)賣(mài)信號(hào)指標(biāo)公式實(shí)例圖解:
通達(dá)信薛斯2主圖股買(mǎi)賣(mài)信號(hào)指標(biāo)公式