九毛八公式指标
请老师帮助修改tdx附图短线出击为飞狐可用,谢谢! AA:=REF(CLOSE,1); BBB:=SMA(MAX(CLOSE-AA,0),5,1)/SMA(ABS(CLOSE-AA),5,1)*1000; HHH:=BBB-LLV(BBB,10); SS:=(MA(HHH,2)*3+HHH*13)/16; 短线买点:=IF(SS>13,MA(SS,2),SS)/6,COLORYELLOW; 短线出击:IF(CROSS(短线买点,1) AND (短线买点<30),30,1),COLORGREEN; 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); 长期线:=A+100,COLOR9900FF; 短期线:=B+100,COLOR888888; 中期线:=D+100,COLORYELLOW,LINETHICK2; 见顶:=((REF(中期线,1)>85 AND REF(短期线,1)>85 AND REF(长期线,1)>65) AND CROSS(长期线,短期线)); 顶部区域:=(中期线80) AND (REF(短期线,1)>95 OR REF(短期线,2)>95 ) AND 长期线>60 AND 短期线<83.5 AND 短期线<中期线 AND 短期线<长期线+4,COLORGREEN; 顶部:=FILTER(顶部区域,4); 底部区域:=(长期线<12 and 中期线<8 (短期线<7.2 or ref(短期线,1)<5) (中期线>REF(中期线,1) OR 短期线>REF(短期线,1))) OR (长期线<8 and 中期线<7 短期线<15 短期线>REF(短期线,1)) OR (长期线<10 and 中期线<7 短期线<1) ,colorgreen; stickline( 底部区域,-4,0,22,0 ),colorgreen; 低位金叉:50*(长期线<15 ref(长期线,1)<15 中期线<18 短期线>REF(短期线,1) AND CROSS(短期线,长期线) AND 短期线>中期线 AND (REF(短期线,1)<5 or ref(短期线,2)<5 ) and (中期线>=长期线 OR REF( 短期线,1)<1 )),colorred; stickline( 低位金叉,0,5,11,0 ),colorred; fang:if(短线出击+低位金叉=80=0,100,20),COLORFF80FF,COLOR0000FF; 公式模块:
aa:=ref(c,1);
bbb:=SMA(max(c-aa,0),5,1)/sma(abs(c-aa),5,1)*1000; hhh:=bbb-llv(bbb,10); ss:=(ma(hhh,2)*3+hhh*13)/16; 短线买点:=if(ss>13,ma(ss,2),ss)/6,coloryell; 短线出击:if(cross(短线买点,1) and (短线买点<30),30,1),colorgreen; a:=ma(-100*(hhv(h,34)-c)/(hhv(h,34)-llv(l,34)),19); b:=-100*(hhv(h,14)-c)/(hhv(h,14)-llv(l,14)); d:=ema(-100*(hhv(h,34)-c)/(hhv(h,34)-llv(l,34)),4); 长期线:=a+100,color9900ff; 短期线:=b+100,color888888; 中期线:=d+100,coloryell,linethick2; 见顶:=((ref(中期线,1)>85 and ref(短期线,1)>85 and ref(长期线,1)>65) and cross(长期线,短期线)); 顶部区域:=(中期线<ref(中期线,1) and ref(中期线,1)>80) and (ref(短期线,1)>95 or ref(短期线,2)>95 ) and 长期线>60 and 短期线<83.5 and 短期线<中期线 and 短期线<长期线+4,colorgreen; 顶部:=filter(顶部区域,4); 底部区域:=(长期线<12 and 中期线<8 and (短期线<7.2 or ref(短期线,1)<5) and (中期线>ref(中期线,1) or 短期线>ref(短期线,1))) or (长期线<8 and 中期线<7 and 短期线<15 and 短期线>ref(短期线,1)) or (长期线<10 and 中期线<7 and 短期线<1) ,colorgreen; stickline( 底部区域,-4,0,22,0 ),colorgreen; 低位金叉:50*(长期线<15 and ref(长期线,1)<15 and 中期线<18 and 短期线>ref(短期线,1) and cross(短期线,长期线) and 短期线>中期线 and (ref(短期线,1)<5 or ref(短期线,2)<5 ) and (中期线>=长期线 or ref( 短期线,1)<1 )),colorred; stickline(低位金叉,0,5,11,0 ),colorred; fang:if((短线出击+低位金叉=80)=0,100,20),color0000ff;
1>