通達信絕殺點賣出主圖指標公式
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 主圖
- 日期:2022-08-24 來源:互聯(lián)網(wǎng)
通達信絕殺點賣出主圖指標公式:包含未來函數(shù):XMA
N:=20;M:=32;P1:=80;P2:=100;
VAR1:=(C+H+O+L)/4;
賣出:=XMA(VAR1,N)*(1+P1/1000),COLORFFFFFF,LINETHICK3;
買入:=XMA(VAR1,M)*(1-P2/1000),COLOR0000FF,LINETHICK3;
DRAWBAND(賣出,RGB(200,50,55),賣出*1.03,RGB(0,100,50));
DRAWBAND(買入,RGB(0,55,0),買入*0.97,RGB(55,55,0));
幅度:100*(賣出-買入)/買入,NODRAW;
MA1:=MA(VAR1,3);
STICKLINE(賣出>LOW AND 賣出<HIGH,賣出,MAX(賣出,MAX(OPEN,CLOSE)),3,0),COLORGREEN;
STICKLINE(賣出>MIN(C,O) AND 賣出<MAX(C,O),賣出,MAX(OPEN,CLOSE),3,0),COLORGREEN;
STICKLINE(賣出>LOW AND 賣出<HIGH,賣出,HIGH,0,0),COLORGREEN;
STICKLINE(賣出<LOW,OPEN,CLOSE,3,0),COLORGREEN;
STICKLINE(賣出<LOW,HIGH,LOW,0,0),COLORGREEN;
STICKLINE(買入>LOW AND 買入<HIGH,買入,MIN(MIN(OPEN,CLOSE),買入),3,0),COLORMAGENTA;
STICKLINE(買入>MIN(C,O) AND 買入<MAX(C,O),買入,MIN(OPEN,CLOSE),3,0),COLORMAGENTA;
STICKLINE(買入>LOW AND 買入<HIGH,買入,LOW,0,0),COLORMAGENTA;
DRAWTEXT(CROSS(C,賣出),賣出*1.05,'賣出'),COLOR00FFFF;
機會來臨:=REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1),COLORF00FF0,LINETHICK2;
RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K2:=REF(MA(RSV2,3),1)+(RSV2-REF(MA(RSV2,3),1))/3;
D2:=REF(MA(K2,3),1)+(K2-REF(MA(K2,3),1))/3;
J2:=3*K2-2*D2;
BB1:=EMA(J2,5);
BB2:=REF(BB1,1);
金叉:=CROSS(BB1,BB2);
DRAWTEXT(CROSS(C,買入) AND BB1>BB2 AND C>REF(O,2),買入*0.95,'買入'),COLOR0000FF;
DRAWICON(CROSS(C,買入) AND 金叉 AND 機會來臨 ,LOW*0.96,26);
DRAWTEXT(CROSS(C,買入) AND 金叉 AND 機會來臨,LOW*0.92,'【絕殺點】'),COLOR00FF00;
通達信絕殺點賣出主圖指標公式實例圖解:
通達信絕殺點賣出主圖指標公式