Skip to content

Commit

Permalink
update chart templates
Browse files Browse the repository at this point in the history
  • Loading branch information
rosasurfer committed Feb 5, 2025
1 parent 7e4185e commit 9035355
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 81 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

### MetaTrader 4 News

###### June 2024:
###### December 2024:
- MetaQuotes stops supporting terminals older than build 1420.

###### Mai 2024:
Expand Down
2 changes: 2 additions & 0 deletions mql4/scripts/CloseOrders.mq4
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ int onInit() {
ArrayPushInt(closeTypes, OP_BUYSTOP );
ArrayPushInt(closeTypes, OP_SELLSTOP );
}
else if (sValue == "bl") ArrayPushInt(closeTypes, OP_BUYLIMIT);
else if (sValue == "bs") ArrayPushInt(closeTypes, OP_BUYSTOP);
else {
int type = StrToOperationType(sValue);
if (type < OP_BUY || type > OP_SELLSTOP) return(catch("onInit(1) invalid input parameter Close.OrderTypes: "+ DoubleQuoteStr(Close.OrderTypes), ERR_INVALID_INPUT_PARAMETER));
Expand Down
2 changes: 1 addition & 1 deletion templates/14 ZigZag(9,45).tpl
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ window_num=0
<inputs>
ZigZag.Periods=45
ZigZag.Type=Line* | Semaphores
ZigZag.Width=2
ZigZag.Width=0
ZigZag.Color=9639167
Donchian.ShowChannel=1
Donchian.ShowCrossings=off | first* | all
Expand Down
2 changes: 1 addition & 1 deletion templates/15 ZigZag(9,45) sound.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ window_num=0
<inputs>
ZigZag.Periods=45
ZigZag.Type=Line* | Semaphores
ZigZag.Width=2
ZigZag.Width=0
ZigZag.Color=9639167
Donchian.ShowChannel=1
Donchian.ShowCrossings=off | first* | all
Expand Down
52 changes: 0 additions & 52 deletions templates/21 Tunnel Trend.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -123,32 +123,6 @@ AutoConfiguration=0
show_data=1
</indicator>

<indicator>
name=Custom Indicator
<expert>
name=CCI Bands
flags=339
window_num=0
<inputs>
CCIPeriod=14
CCILevel1=100
</inputs>
</expert>
color_0=4294967295
color_1=4294967295

color_2=16711680
weight_2=1
color_3=16711680
weight_3=1

color_4=4294967295
color_5=4294967295

period_flags=256
show_data=1
</indicator>

<indicator>
name=Custom Indicator
<expert>
Expand Down Expand Up @@ -190,30 +164,4 @@ AutoConfiguration=0
show_data=1
</indicator>
</window>

<window>
height=11
fixed_height=0
<indicator>
name=Custom Indicator
<expert>
name=Tunnel signal
flags=339
<inputs>
Tunnel.MA.Method=SMA | LWMA* | EMA | SMMA | ALMA
Tunnel.MA.Periods=55
MA.Method=SMA | LWMA | EMA | SMMA | ALMA*
MA.Periods=10
Histogram.Color.Upper=3329330
Histogram.Color.Lower=255
Histogram.Style.Width= 2
Signal.onTrendChange=0
AutoConfiguration=0
</inputs>
</expert>
min=-1.0
max=1.0
show_data=1
</indicator>
</window>
</chart>
26 changes: 0 additions & 26 deletions templates/22 Tunnel Trend + CCI.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -123,32 +123,6 @@ AutoConfiguration=0
show_data=1
</indicator>

<indicator>
name=Custom Indicator
<expert>
name=CCI Bands
flags=339
window_num=0
<inputs>
CCIPeriod=14
CCILevel1=100
</inputs>
</expert>
color_0=4294967295
color_1=4294967295

color_2=16711680
weight_2=1
color_3=16711680
weight_3=1

color_4=4294967295
color_5=4294967295

period_flags=256
show_data=1
</indicator>

<indicator>
name=Custom Indicator
<expert>
Expand Down

0 comments on commit 9035355

Please sign in to comment.