通达信:=LLV(LOW,10);
上升趋势:=HHV(HIGH,25);
股票指标公式:3.2,COLORYELLOW;
3.5,COLOR0088FF;{高手指标公式网www.gs6699.com}
ttff: 3.5,COLORGREEN,LINETHICK1;
ttff1:= EMA((CLOSE-通达信)/(上升趋势-通达信)*4,4);
STICKLINE(ttff1>REF(ttff1,1) ,ttff1 ,REF(ttff1,1),3 ,1),COLORRED; STICKLINE(ttff1<=REF(ttff1,1) ,ttff1 ,REF(ttff1,1),3 ,1),COLOR00FF00;
ttffa1:0.2,COLORRED,LINETHICK1;
ttffa2:0.5,COLORYELLOW;
DRAWICON( FILTER(CROSS(ttff1,ttffa2),20),ttff1+0.02 ,1);
DRAWICON( FILTER(CROSS(ttff,ttff1),20),ttff1+0.02,2);
DRAWICON( FILTER(CROSS(ttff1,ttffa1),20),ttff1+0.02 ,1);
DRAWICON( FILTER(CROSS(股票指标公式,ttff1),20),ttff1+0.02,2);
DRAWICON( FILTER(CROSS(ttff1,ttffa2),20),ttff1+0.02 ,1);
DRAWTEXT(CROSS(ttff1,ttffa2),ttffa2,''),COLORWHITE;