文华中的三角移动平均函数
文华中的这个函数在TB中应该怎么写?
文华中的这个函数在TB中应该怎么写?
Params Numeric length(30); Vars NumericSeries ma_half; NumericSeries tram; Begin ma_half= Average(Close,length); tram=Average(ma_half,length); PlotNumeric("tram",tram); Commentary("tram="+text(tram)); End 参数可以自行更改,简单写的,如有不对请指正。
回复:好的 谢谢
ma_half = average(close,length1); trma = average(ma_half,length2); 基本没什么区别
回复:我也是这样写的但是和文华的数据对不上