通达信奇妙波段指标公式股票软件源码如下:
趋势线: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
见底信号: 10;
买点准备: IF(趋势线<=10,50,0);
{奇妙波段}
YLP—实战趋势线:=SMA(SMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,3,1),3,1);
X:=SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1);
X1:=SMA((CLOSE-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3))*100,5,1);
YLP—奇妙波段:=MA((3*X-2*SMA(X,3,1)),3);
YLP—奇妙波段2:=MA((3*X1-2*SMA(X1,3,1)),3);
YLP—实战趋势线,COLORGREEN;
【27】:YLP—奇妙波段,COLORYELLOW;
【3】:YLP—奇妙波段2,COLORRED;