由于不会编程,求助,“MA均线”如何设置多条均线?请会编程的朋友给编个,谢谢!
有多种办法,
附加是使用模板文件,把它放在templates.
然后在图表上通过右键菜单加载这个模板即可
由于网站不许上载tpl文件,我把文件扩展名改为mql, 你下载后改回tpl即可
附件传不上来:
自己把下面内容考到一个文本文件,存文件名为xxx.tpl
<chart> symbol=EURUSD period=240 leftpos=2755 digits=4 scale=2 graph=2 fore=0 grid=1 volume=0 scroll=0 shift=1 ohlc=0 askline=0 days=0 descriptions=0 shift_size=20 fixed_pos=0 window_left=0 window_top=0 window_right=412 window_bottom=170 window_type=3 background_color=0 foreground_color=16777215 barup_color=65280 bardown_color=65280 bullcandle_color=0 bearcandle_color=16777215 chartline_color=0 volumes_color=2970272 grid_color=1644825 askline_color=255 stops_color=255 <window> height=100 <indicator> name=main </indicator> <indicator> name=Moving Average period=1 shift=0 method=0 apply=4 color=236 style=0 weight=1 period_flags=0 show_data=0 </indicator> <indicator> name=Moving Average period=2 shift=0 method=0 apply=4 color=1772 style=0 weight=1 period_flags=0 show_data=0 </indicator> <indicator> name=Moving Average period=4 shift=0 method=0 apply=4 color=3308 style=0 weight=1 period_flags=0 show_data=0 </indicator> <indicator> name=Moving Average period=6 shift=0 method=0 apply=4 color=4844 style=0 weight=1 period_flags=0 show_data=0 </indicator> <indicator> name=Moving Average period=8 shift=0 method=0 apply=4 color=7916 style=0 weight=1 period_flags=0 show_data=0 </indicator> <indicator> name=Moving Average period=10 shift=0 method=0 apply=4 color=10732 style=0 weight=1 period_flags=0 show_data=0 </indicator> <indicator> name=Moving Average period=13 shift=0 method=0 apply=4 color=13804 style=0 weight=1 period_flags=0 show_data=0 </indicator> <indicator> name=Moving Average period=16 shift=0 method=0 apply=4 color=16876 style=0 weight=1 period_flags=0 show_data=0 </indicator> <indicator> name=Moving Average period=19 shift=0 method=0 apply=4 color=19948 style=0 weight=1 period_flags=0 show_data=0 </indicator> <indicator> name=Moving Average period=22 shift=0 method=0 apply=4 color=22764 style=0 weight=1 period_flags=0 show_data=0 </indicator> <indicator> name=Moving Average period=25 shift=0 method=0 apply=4 color=25836 style=0 weight=1 period_flags=0 show_data=0 </indicator> <indicator> name=Moving Average period=28 shift=0 method=0 apply=4 color=28908 style=0 weight=1 period_flags=0 show_data=0 </indicator> <indicator> name=Moving Average period=31 shift=0 method=0 apply=4 color=31980 style=0 weight=1 period_flags=0 show_data=0 </indicator> <indicator> name=Moving Average period=35 shift=0 method=0 apply=4 color=35052 style=0 weight=1 period_flags=0 show_data=0 </indicator> <indicator> name=Moving Average period=39 shift=0 method=0 apply=4 color=38124 style=0 weight=1 period_flags=0 show_data=0 </indicator> <indicator> name=Moving Average period=43 shift=0 method=0 apply=4 color=40940 style=0 weight=1 period_flags=0 show_data=0 </indicator> <indicator> name=Moving Average period=47 shift=0 method=0 apply=4 color=44012 style=0 weight=1 period_flags=0 show_data=0 </indicator> <indicator> name=Moving Average period=51 shift=0 method=0 apply=4 color=47084 style=0 weight=1 period_flags=0 show_data=0 </indicator> <indicator> name=Moving Average period=55 shift=0 method=0 apply=4 color=49900 style=0 weight=1 period_flags=0 show_data=0 </indicator> </window> </chart>
系统自带的“Alligator”指标,是3条均线。如果不够,还可以多附加几个,到图表上。