九毛八公式指标
请老师把通达信卖出指标,按原公式思路补个买入指标,谢谢! {卖出} VAR1H:=(CLOSE-LLV(LOW,16))/(HHV(HIGH,16)-LLV(LOW,16))*1; VAR2H:=SMA(VAR1H,3,1)*100; 趋势线:=SMA((SMA(VAR2H,3,1)*VAR1H),3,1)*1; VAR9H:=CROSS(趋势线,(SMA(VAR2H,3,1)*VAR1H)) AND (SMA(VAR2H,3,1)*VAR1H)>8; DRAWTEXT(VAR9H AND COUNT(VAR9H,1)=1,H*1.009,'卖出'),COLORYELLOW;
公式模块:
{卖出}
VAR1H:=(CLOSE-LLV(LOW,16))/(HHV(HIGH,16)-LLV(LOW,16))*1; VAR2H:=SMA(VAR1H,3,1)*100; 趋势线:=SMA((SMA(VAR2H,3,1)*VAR1H),3,1)*1; VAR9H:=crOSS(趋势线,(SMA(VAR2H,3,1)*VAR1H)) AND (SMA(VAR2H,3,1)*VAR1H)>8; DRAWTEXT(VAR9H AND COUNT(VAR9H,1)=1,H*1.009,'卖出'),COLORYELLOW; VAR10L:=CROSS((SMA(VAR2H,3,1)*VAR1H),趋势线) AND (SMA(VAR2H,3,1)*VAR1H)<8; DRAWTEXT(VAR10L AND COUNT(VAR10L,1)=1,L*0.99,'买入'),COLOR0000FF;