Download MetaTrader 5
To add comments, please log in or register
They are already making profit using the Market. You can join them!
tim.cassidy
12
tim.cassidy 2014.05.05 06:04 

New date 646 - appears to have a bug with " Default.tpl " file - or Default Template.

Prior update - one could - setup a template w/indicators etc - customized chart per personal needs. Say 5 Moving Averages 5/12/53/107/200 - Save the template as 5n12. open new chart - normal default is simple bar chart no indicator simple. Right click on chart - select template - select 5n12 - voila - no problem - now with this customized Template in place on chart - save this template and overwrite " default " save and okay

Now a new chart should always take on default.tpl as normally does - since we have the default now set with 5 MA's - each MA value previously set - all 5 MA values get reset to " Period 14 " as a value. So all MA lines are now compressed on top of each other in the new opened chart. Right click select Indicator List - all 5 and any other indicators are listed. Check each with Edit and all values are changed to 14. in the Period Cell.

If you review default.tpl with notepad - it reveals correctly the information set by previous saved from 5n12 template - but when as mention open a new chart all values get changed. Something has drastically changed. for the wrong. - Something is actually changed from custom template and its use when opening a new chart is clicked. Little manual work - yes one can always fix it. My script now to open my 25 charts for drilling fails to run where Last Friday it still worked as described.

example: default.tpl -- after saved 5n12.tpl and re-saved as Default.tpl - found in the _MetaTrader4\templates directory

<chart>
id=130437388196287315
symbol=AUDJPY
period=240
leftpos=4213
digits=3
scale=32
graph=2
fore=1
grid=1
volume=0
scroll=1
shift=1
ohlc=1
one_click=0
askline=0
days=1
descriptions=0
shift_size=20
fixed_pos=0
window_left=180
window_top=180
window_right=1350
window_bottom=662
window_type=3
background_color=0
foreground_color=16777215
barup_color=65280
bardown_color=65280
bullcandle_color=0
bearcandle_color=16777215
chartline_color=65535
volumes_color=3329330
grid_color=10061943
askline_color=255
stops_color=255

<window>
height=182
<indicator>
name=main
</indicator>
<indicator>
name=Moving Average
period=5 <<<<<<<<<<<<<<<<<<<< correct
shift=0
method=3
apply=0
color=65280
style=0
weight=2
period_flags=0
show_data=1
</indicator>
<indicator>
name=Moving Average
period=200 <<<<<<<<<<<<<<<<<< correct
shift=0
method=3
apply=0
color=16449525
style=0
weight=2
period_flags=0
show_data=1
</indicator>
<indicator>
name=Moving Average
period=107 <<<<<<<<<<<<<<<<< correct
shift=0
method=3
apply=0
color=14772545
style=0
weight=2
period_flags=0
show_data=1
</indicator>
<indicator>
name=Moving Average
period=53 <<<<<<<<<<<<<<<< correct
shift=0
method=3
apply=0
color=13749760
style=0
weight=2
period_flags=0
show_data=1
</indicator>
<indicator>
name=Fractals
color=65535
weight=1
period_flags=0
show_data=1
</indicator>
<indicator>
name=Moving Average
period=5 <<<<<<<<<<<<<< correct
shift=0
method=3
apply=1
color=255
style=0
weight=2
period_flags=0
show_data=1
</indicator>
</window>

<window>
height=14
<indicator>
name=Custom Indicator
<expert>
name=Tick Chart
flags=339
window_num=2
<inputs>
period=2000
width=50
</inputs>
</expert>
shift_0=0
draw_0=1
color_0=255
style_0=0
weight_0=0
shift_1=0
draw_1=12
color_1=16777215
style_1=0
weight_1=0
shift_2=0
draw_2=1
color_2=32768
style_2=0
weight_2=0
period_flags=0
show_data=1
</indicator>
</window>

<window>
height=25
<indicator>
name=Average Directional Movement Index
period=14
apply=0
color=16760576
style=0
weight=2
color2=3329330
style2=0
weight2=1
color3=255
style3=0
weight3=1
period_flags=0
show_data=1
</indicator>

</window>

</chart>

--------------------------------------------------------------------------------------------------






Alain Verleyen
Moderator
28522
Alain Verleyen 2014.05.05 21:39  
Can you please report this to Service Desk of Metaquotes.
/
To add comments, please log in or register