Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
Period Converter - script for MetaTrader 4
- Views:
- 54474
- Rating:
- Published:
- 2005.11.29 13:17
- Updated:
- 2014.04.21 14:52
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Use this script to make nonstandard timeframe of
symbol based on standard timeframe. For example, to make 3-hours
timeframe H3 for selected symbol you should:
- Open H1 chart.
- Attach to chart 'Period_converter.mq4' MQL4 file from 'Script' folder of 'Navigator' window.
- On 'Common' tab check 'Allow DLL imports' and clear 'Confirm DLL function calls' checkbox.
- On 'Inputs' properties tab please set 'ExtPeriodMultiplier' variable value to 3 (you'll get H1*3 = H3).
- Click OK.
- Open H3 chart in offline mode ('File – Open Offline'). H3 chart will be updated every 2 sec (by default) while H1 chart with attached 'Period_converter.mq4' will be opened.
Moving Average
The Expert Adviser Moving Average uses for trade signal generation one moving average.
Send Pending OrderThe script sends SELL STOP pending order with expiration data and printing number of ticket.
Period Converter Optimized
Improved period converter support real-time refreshing, low CPU cost and other features.
Trade in ChannelA form of trading system using Price Channel principles has been implemented.