九毛八公式指标
请老师把关注指标显示的高度修改一下,这个副图的高度是3.5左右,请老师改为正常副图显示的100高度,信号指标不变,谢谢老师。 {关注} VAR2:=LLV(LOW,20); VAR3:=HHV(HIGH,50); 阶段卖:3.2,COLORC6C600;{C6C600} {3.5,COLOR0088FF;} 清仓:3.5,COLORFF75FF; 动力线:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4); STICKLINE(动力线>REF(动力线,1) ,动力线 ,REF(动力线,1),3 ,1),COLORRED; STICKLINE(动力线<=REF(动力线,1) ,动力线 ,REF(动力线,1),3 ,1),COLOR00FF00; 底部:0.2,COLOR70DB93; 关注:0.5,COLORYELLOW;{LIRED} DRAWICON( FILTER(CROSS(动力线,关注),20),1 ,11); DRAWICON( FILTER(CROSS(清仓,动力线),20),3.4,11); DRAWICON( FILTER(CROSS(动力线,底部),20),1.1,9); DRAWICON( FILTER(CROSS(阶段卖,动力线),20),3.3,5); {DRAWICON( FILTER(CROSS(阶段卖,动力线),20),动力线+0.02,2);} 界线:1.75,POINTDOT,LINETHICK2,COLOR70DB93; 数值:=动力线,COLORA8A8A8; DRAWTEXT(CROSS(动力线,关注),1.2,'关注 '),COLORCBCBC0; DRAWTEXT(CROSS(动力线,0.4),1.1,'关注 '),COLORGRAY; DRAWTEXT(CROSS(动力线,底部),1.4,'底部 '),COLORWHITE; DRAWTEXT(CROSS(阶段卖,动力线),3.3,'减仓 '),COLORWHITE; DRAWTEXT(CROSS(清仓,动力线),3.4,'清仓 '),COLORWHITE;
公式模块:
{关注} VAR2:=LLV(LOW,20); VAR3:=HHV(HIGH,50); 阶段卖:3.2*30,COLORC6C600;{C6C600} {3.5,COLOR0088FF;} 清仓:3.5*30,COLORFF75FF; 动力线:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*4*30,4); STICKLINE(动力线>REF(动力线,1) ,动力线 ,REF(动力线,1),3 ,1),COLORRED; STICKLINE(动力线<=REF(动力线,1) ,动力线 ,REF(动力线,1),3 ,1),COLOR00FF00; 底部:0.2*30,COLOR70DB93; 关注:0.5*30,COLORYELLOW;{LIRED} DRAWICON( FILTER(crOSS(动力线,关注),20),1 ,11); DRAWICON( FILTER(CROSS(清仓,动力线),20),3.4,11); DRAWICON( FILTER(CROSS(动力线,底部),20),1.1,9); DRAWICON( FILTER(CROSS(阶段卖,动力线),20),3.3,5); {DRAWICON( FILTER(CROSS(阶段卖,动力线),20),动力线+0.02,2);} 界线:1.75*30,POINTDOT,LINETHICK2,COLOR70DB93; 数值:=动力线,COLORA8A8A8; DRAWTEXT(CROSS(动力线,关注),1.2*30,'关注 '),COLORCBCBC0; DRAWTEXT(CROSS(动力线,0.4),1.1*30,'关注 '),COLORGRAY; DRAWTEXT(CROSS(动力线,底部),1.4*30,'底部 '),COLORWHITE; DRAWTEXT(CROSS(阶段卖,动力线),3.3*30,'减仓 '),COLORWHITE; DRAWTEXT(CROSS(清仓,动力线),3.4*30,'清仓 '),COLORWHITE;