A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
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);
長(zhǎng)期線:A+100,color9900FF;
短期線:B+100,color888888;
中期線:d+100,coloryellow,linethick2;
見頂:(ref(中期線,1)>85 and ref(短期線,1)>85 and ref(長(zhǎng)期線,1)>65) and cross(長(zhǎng)期線,短期線),color777777,PRECIS0;
頂部區(qū)域:(中期線<ref(中期線,1) and ref(中期線,1)>80) and (ref(短期線,1)>95 or ref(短期線,2)>95 ) and 長(zhǎng)期線>60 and 短期線<83.5
and 短期線<中期線 and 短期線<長(zhǎng)期線+4,colorAAAAAA,PRECIS0;
頂部:=filter(頂部區(qū)域,4);
底部區(qū)域:(長(zhǎng)期線<12 and 中期線<8 and (短期線<7.2 or ref(短期線,1)<5) and (中期線>ref(中期線,1) or 短期線>ref(短期線,1)))
or (長(zhǎng)期線<8 and 中期線<7 and 短期線<15 and 短期線>ref(短期線,1)) or (長(zhǎng)期線<10 and 中期線<7 and 短期線<1),color4080AA ,PRECIS0;
stickline( {見頂 or} 頂部,99,103,20,1 ),colorred,linethick2;stickline( 底部區(qū)域,-4,0,22,0 ),colorgreen;
低位金叉:長(zhǎng)期線<15 and ref(長(zhǎng)期線,1)<15 and 中期線<18 and 短期線>ref(短期線,1) and cross(短期線,長(zhǎng)期線) and 短期線>中期線 and (ref(短期線,1)<5 or ref(短期線,2)<5 ) and (中期線>=長(zhǎng)期線 or ref( 短期線,1)<1 ),COLOR800080,PRECIS0;
stickline( 低位金叉,0,5,11,0 ),colorred;
80,COLOR996699,PRECIS0,LAYER7;
20,COLORGREEN,PRECIS0,LAYER7;
10,COLORCC6633,LINETHICK2,PRECIS0,LAYER7;
90,COLOR9966FF,LINETHICK2,PRECIS0,LAYER7;
|