真正的牛熊通吃指標(biāo)。
TR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) );
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5);
神偷線:(((DMP ) * 100) / TR),LINETHICK2,COLORFF8000;
輔助線:=((DMM * 100) / TR);
動(dòng)向趨勢(shì)線:=(MA(((ABS((輔助線 - 神偷線)) / (輔助線 + 神偷線)) * 100),3));
ADXR:=((動(dòng)向趨勢(shì)線 + REF(動(dòng)向趨勢(shì)線,3)) / 2);
VAR1:=MA(LOW,1);
VAR2:=MA(HIGH,2);
VAR3:=MA(CLOSE,2);
VAR7:=REF(VAR3,1);
預(yù)警:(IF(((動(dòng)向趨勢(shì)線 > 88) AND (神偷線 < 5.8)),20,0) ),LINETHICK2,COLOR8080FF;
FILLRGN(神偷線,5,神偷線<=5,RGB(255,0,0));
FILLRGN(神偷線,43,神偷線>=43,RGB(250,250,0));
FILLRGN(神偷線,60,神偷線>=60),colorgreen;
阿門1:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
阿門2:=SMA(阿門1,13,8);
耶穌傳道:=CEILING(SMA(阿門2,13,8));
耶穌說道:=MA(3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),5);
阿門3:=BARSLAST(ref(cross(耶穌傳道,耶穌說道),1));
阿門4:=ref(c,阿門3+1)>c and ref(耶穌傳道,阿門3+1)<耶穌傳道 and cross(耶穌傳道,耶穌說道);
DRAWTEXT(FILTER(阿門4>0,5),53,'★'),colorred;
DRAWTEXT(FILTER(阿門4>0,5),48,'底背離'),colorred;
阿門6:=(HIGH+LOW+CLOSE+open)/4;
阿門7:=(阿門6-MA(阿門6,14))/(0.015*AVEDEV(阿門6,14));
阿門8:=(阿門6-MA(阿門6,70))/(0.015*AVEDEV(阿門6,70));
阿門9:=IF(阿門7>=150 AND 阿門7<200 AND 阿門8>=150 AND 阿門8<200,10,0);
阿門10:=IF(阿門7<=-150 AND 阿門7>-200 AND 阿門8<=-150 AND 阿門8>-200,-10,阿門9);
(南方財(cái)富網(wǎng)SOUTHMONEY.COM)