Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Scripts

Period Converter All Timeframes - script for MetaTrader 4

Views:
31585
Rating:
(10)
Published:
2018.01.25 12:56
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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 backtesting, otherwise the data will be overridden by server data.

To avoid override, the practical method is to delete the password in MetaTrader 4 settings (menu "Tools" → "Options" → "Server").

Coin Flipping EA Coin Flipping EA

Generates a random number, and if this number is even, it will buy, if odd - it will sell.

RSI with divergency RSI with divergency

RSI modified to show the excess of the market (more than 70 and less than 30), and show you the divergency with the price.

Momentum Histo Momentum Histo

Displays a Histogram of Momentum, ATR, CCI or RSI indicators relative to a specified level.

Signal Candles Signal Candles

Get entry signals from specific candles based on your rules.