Change Timeframe All - script for MetaTrader 4

Change Timeframe All - script for MetaTrader 4

This script will change the timeframe of all the opened charts. It has one setting for selecting the desired timeframe. This saves me a lot of time when doing multi timeframe analysis across 12 currency pairs simultaneously.
Change Zoom Level All - script for MetaTrader 4

Change Zoom Level All - script for MetaTrader 4

This script sets the zoom level for all opened charts simultaneously. This saves me a lot of time when Im looking at 12 charts and want to adjust them all.
PlannedPendingOrders - script for MetaTrader 4

PlannedPendingOrders - script for MetaTrader 4

Overview The script will open limit pending orders according to named horizontal lines in the chart you have to draw before. When finished drawing you drag and drop the script onto the chart. Before the orders get executed you can change the aspired risk. Right before the execution you will get an info dialog with the calculated risk where you get asked if you really want to execute the order. Code under version control here:
Market Watch AUTO-CSV - script for MetaTrader 4

Market Watch AUTO-CSV - script for MetaTrader 4

Written in this code you can find a loop on your MarketWatch. It can be used to do a multi-market algorithm, like an EA which works on all the selected markets. Back to our script main function, in the code, obviously, you can find how to open and write on a csv file. Its really important to close your file before saving it using FileClose() function. Here below you can find the final result:
Period Converter All Timeframes - script for MetaTrader 4

Period Converter All Timeframes - script for MetaTrader 4

When we do back-test, we usually download M1 data from a third party, and then convert M1 data to other timeframes. This script helps to convert history data from M1 to M5, M15, M30, H1, H4, D1, W1 and MN. This script must be run on M1 chart. You may choose whether to convert to D1, W1, MN or not. By default it is false. ConverterD1=false; ConverterW1=false; ConverterMN=false; Please note that you should disconnect from broker server before
s-Downloader.mq4 - script for MetaTrader 4

s-Downloader.mq4 - script for MetaTrader 4

The script downloads history for all timeframes and symbols in the Market Watch. Download is performed by emulating pressing the HOME button. If the download by pressing the button has stopped for about 5 seconds, it is assumed that the entire history for this symbol and timeframe is downloaded, and the next iteration begins. The script also updates the chart, thus downloading the most recent history. History Downloader This is an Expert Advisor
Save and show the objects of testing chart - script for MetaTrader 4

Save and show the objects of testing chart - script for MetaTrader 4

After back testing, we usually need to analyze the testing result on a new chart which we have loaded our template,in this case we need to copy the objects on the testing chart to the new chart. This script helps to save the objects into a file and show the objects on a new chart. Usage After testing finished,run the script on the testing chart,select SAVE for the input SaveOrShow. Open a new chart,load your template, run the script on the new
Regular Expressions Tester MQL4 - script for MetaTrader 4

Regular Expressions Tester MQL4 - script for MetaTrader 4

Materials on Regular Expressions The Regular Expressions for Traders article. The Regular Expressions in MQL4 for working with regular expressions library. Other Useful Materials Microsoft .NET Regular Expressions Microsoft .NET Regex Class Documentation Microsoft Regular Expressions - Quick Reference PDF Others: Using Regular Expressions with The Microsoft .NET Framework Most Useful CRegex Class Methods IsMatch() - Checks whether the regular
Open two Market orders in opposite directions - script for MetaTrader 4

Open two Market orders in opposite directions - script for MetaTrader 4

This simple script opens two Market orders in two opposite directions. The essence of this is when trading news, price often breaks out in one direction. So ideally executing this script shortly before the news release would imply that if a breakout occurs in one direction one of the market orders (the one in the wrong direction) will be closed by the price triggering the stop loss, while the order will be left open to accumulate profits. It
Limit orders Pro - script for MetaTrader 4

Limit orders Pro - script for MetaTrader 4

This script provides quick work with a large number of pending orders in the market and contains functions for placing, changing, and deleting of orders within the your price range. The capabilityThe script abilities: It is able to place a group of pending orders of a required type within from an initial price to a final price with a certain step of points, distributing them evenly over the range, so you don’t need to monitor where your orders