姜指標

冰冻的寒风發表於2024-04-14
精準眼:=BETWEEN(C,DYNAINFO(11)+0.01,DYNAINFO(11)-0.01) AND C>MA(C,20);
STICKLINE(精準眼,O,C,1,0),COLORBLUE;
STICKLINE(精準眼,H,L,0,0),COLORBLUE;
波幅眼:=BETWEEN(MAX(C,O)-MIN(C,O),0.01,-0.01) AND NOT(H=L) AND C>MA(C,20);
STICKLINE(波幅眼,O,C,3,0),COLORMAGENTA;
STICKLINE(波幅眼,H,L,0,0),COLORMAGENTA;
黃金陰眼:=O>REF(C,1) AND V<REF(V,1)*0.51 AND C<REF(C,1) AND C>MA(C,20) ;
STICKLINE(黃金陰眼,O,C,1,0),COLORYELLOW;
DRAWTEXT(黃金陰眼, L*0.99, '黃金陰眼'),COLORWHITE;
黃金眼:=O<REF(C,1) AND V<REF(V,1)*0.7 AND C>O AND C<REF(C,1) AND REF(C,1)<REF(C,2)
AND REF(O,1)>REF(C,1) AND C>MA(C,20);
STICKLINE(黃金眼,O,C,1,0),COLORCYAN;
DRAWTEXT(黃金眼, L*0.99, '黃金眼'),COLORWHITE;
騰空眼:=O>REF(C,1) AND C>O AND REF(C,1)>REF(C,2) AND (V<REF(V,1)*0.7 OR V=LLV(V,50)) AND C>MA(C,20);
STICKLINE(騰空眼,O,C,1,0),COLORRED;
DRAWTEXT(騰空眼, L*0.98, '騰空眼'),COLORRED;
騰空陽:=O>REF(C,1) AND C>O AND REF(C,1)>REF(C,2) AND V>=REF(V,1)*0.7 AND V<REF(V,1) AND C>MA(C,20);
STICKLINE(騰空陽,O,C,1,0),COLORMAGENTA;
DRAWTEXT(騰空陽, L*0.99, '騰空陽'),COLORWHITE;
黃金陽:=O<REF(C,1) AND V<REF(V,1) AND C>O AND C<REF(C,1)
AND REF(C,1)>REF(C,2) AND REF(C,1)>REF(O,1) AND C>MA(C,20);
STICKLINE(黃金陽,O,C,1,0),COLORCYAN;
DRAWTEXT(黃金陽, L*0.99, '黃金陽'),COLORWHITE;
黃金陰:=O>REF(C,1) AND V<REF(V,1) AND V>REF(V,1)*0.51 AND C<REF(C,1) AND C>MA(C,20);
STICKLINE(黃金陰,O,C,1,0),COLORLIRED;
DRAWTEXT(黃金陰, L*0.99, '黃金陰'),COLORWHITE;
小陽三連元:=IF(DYNAINFO(4)>0,LAST(O>REF(C,1) AND C>REF(C,1) AND C/REF(C,1)<=1.06 AND C>MA(C,20) ,2,0),0);
DRAWTEXT(小陽三連元, L*0.99, '三連元'),COLORWHITE;
跳空陽:=L>REF(H,1) AND C>O AND V>=REF(V,1) AND C>MA(C,20);
DRAWTEXT(跳空陽, L*0.99, '跳空陽'),COLORWHITE;
量縮價漲:=REF(V,3)=HHV(V,4) AND REF(C,3)>REF(C,4) AND REF(C,3)>REF(O,3) AND C=HHV(C,4) AND C>MA(C,20);
DRAWTEXT(量縮價漲, L*0.99, '縮漲'),COLORMAGENTA;
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19),COLORRED;
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4),LINETHICK2;
長期線1:=A+100;
短期線1:=B+100;
中期線1:=D+100;
底部:=(長期線1<12 AND 中期線1<8 AND (短期線1<7.2 OR REF(短期線1,1)<5) AND (中期線1>REF(中期線1,1) OR 短期線1>REF(短期線1,1)))
OR (長期線1<8 AND 中期線1<7 AND 短期線1<15 AND 短期線1>REF(短期線1,1)) OR (長期線1<10 AND 中期線1<7 AND 短期線1<1) ;
底部區域:=FILTER(底部,10);
金叉:=長期線1<15 AND REF(長期線1,1)<15 AND 中期線1<18 AND 短期線1>REF(短期線1,1) AND CROSS(短期線1,長期線1) AND 短期線1>中期線1
AND (REF(短期線1,1)<5 OR REF(短期線1,2)<5 ) AND (中期線1>=長期線1 OR REF( 短期線1,1)<1 );
低位金叉:=FILTER(金叉,10);
DRAWTEXT(低位金叉, L*0.99, '低金'),COLORLIGREEN;
DRAWTEXT(底部區域, L*0.99, '底部'),COLORYELLOW;
LDM4:=CONST(HHV(REF(HIGH,1),240));
LDM5:=CONST(LLV(REF(LOW,1),240));
LDM6:=LDM4-LDM5;
LDM7:=LOW-LDM6*0.03;
LDM8:=HIGH+LDM6*0.03;
LDM9:=CLOSE>500;
LDM10:=MAX(CLOSE,OPEN);
LDM11:=MIN(CLOSE,OPEN);
LDM12:=0;
LDM13:=1;
LDM14:=IF(LDM9,HIGH,LDM10);
LDM15:=IF(LDM9,LOW,LDM11);
LDM16:=IF(CLOSE>OPEN,IF(LDM13=0,LOW,LDM15),IF(LDM13=0,HIGH,LDM14));
LDM17:=2/1000;
LDM18:=CURRBARSCOUNT;
LDM19:=120;
LDM20:=LDM18<=LDM19;
LDM21:=LOW;
LDM22:=IF(LDM12=0,LDM21,REF(LDM12,LDM12));
基準價:IF(LDM20,CONST(LDM22),DRAWNULL),DOTLINE,COLORWHITE;
LDM23:=基準價;
LDM24:=LDM23*LDM17;
LDM25:=ABS(LOW-LDM23)<=LDM24;
LDM26:=ABS(OPEN-LDM23)<=LDM24;
LDM27:=ABS(CLOSE-LDM23)<=LDM24;
LDM28:=ABS(HIGH-LDM23)<=LDM24;
LDM29:=LDM25 OR LDM26 OR LDM27 OR LDM28 AND LDM20 AND LDM18!=1;
LDM30:=COUNT(LDM29,LDM19);
精準點:IF(LDM30>0,LDM30+1,0),NODRAW,COLORWHITE;

相關文章