把通达信卖出指标,按原思路补个买入指标
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

请老师把通达信卖出指标,按原公式思路补个买入指标,谢谢!{卖出}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;

选股票看什么指标最好 >股票指标网