通達信上下趨勢指標(biāo)公式
- 指標(biāo)類別: 通達信指標(biāo)公式
- 授權(quán)方式: 免費版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)分類: 超買超賣
- 畫線方法: 副圖
- 日期:2018-10-03 來源:互聯(lián)網(wǎng)
通達信上下趨勢指標(biāo)公式:創(chuàng)幻論壇一品茶緣編寫副圖指標(biāo),上下趨勢指標(biāo)使用說明:(該指標(biāo)基礎(chǔ)修改于軟件自帶心理線PSY)短線上下坐電梯,最愛進場上樓區(qū);備錢低買關(guān)注底,風(fēng)險見跑下樓去。
快:COUNT(CLOSE>REF(CLOSE,2),4)/4*100,COLOR00FF00;
慢:COUNT(CLOSE>REF(CLOSE,2),6)/6*100,COLORFFFFFF;
備錢:IF(快=0 AND 慢>20,20,0),COLORFF00FF;
低買:IF(快=0 AND BETWEEN(慢,1,20),50,0),COLORRED;
關(guān)注:IF(快=0 AND 慢=0,10,0),COLORFF8800;
JC:=(CROSS(快,1) AND 慢<=40) OR (CROSS(慢,20) AND 快<=50);
進場:IF(FILTER(JC,3),20,0),COLOR00FFFF,LINETHICK0;
STICKLINE(進場,0,100,0,-1),COLOR00FFFF;
QSXS:=快>=50 AND 快>=REF(快,1) AND 慢>=REF(慢,1);
上樓:IF(QSXS,1,0),COLOR0000FF,NODRAW;
風(fēng)險:IF(快=100 AND 慢>=80,90,100),COLORFF00FF;
FXSJ:=BARSLAST(風(fēng)險=90);
快跑:IF(FXSJ=1,1,0),COLORFFFF00,POINTDOT,NODRAW;
QSXX:=快<=REF(快,1) AND 慢<=REF(慢,1);
下樓:IF(FXSJ>=2 AND COUNT(QSXX,FXSJ)=FXSJ,1,0),COLOR00FFFF,NODRAW;
{以下設(shè)置副圖顯示方式}
A1:=IF(上樓,慢,快);
A2:=IF(下樓,慢,快);
DRAWBAND(快,RGB(255,0,0),A1,RGB(0,255,0));
DRAWBAND(快,RGB(255,255,255),A2,RGB(255,255,0));
DRAWTEXT(CROSS(備錢,1),30,'備錢'),COLORFF00FF;
DRAWTEXT(CROSS(低買,1),60,'低買'),COLORFFFFFF;
DRAWTEXT(CROSS(關(guān)注,1),20,'關(guān)注'),COLORFFFFFF;
DRAWTEXT(CROSS(LAST(關(guān)注,5,1),0.8),20,'地下室'),COLOR00FF00;
DRAWTEXT(FXSJ=1,100,'跑'),COLORFFFFFF;
DRAWICON(風(fēng)險=90,110,13);
通達信上下趨勢指標(biāo)公式實例圖解:
通達信上下趨勢指標(biāo)公式