Forum

Is it possible to import the indicator onto the price chart window?

Take the Stochastic indicator as example. I want to import it not onto a indicator window but direct onto the price chart. Possible

Why there is no email sent though the email setting and testing is successful?

I've set the email sending correctly and the testing is also successful. But in fact when an alert comes, I haven't got any email. In the Journal there is no record as well. What could be the problem? Thansk

Why this indicator doesn't work by timeframe smaller than 4H (German DAX)?

Hi all, I happened to see an indicator here: https://www.best-metatrader-indicators.com/dss-bressert-colored/. The source code is as below: //+------------------------------------------------------------------+ //| Robby DSS Bressert Colored.mq4 | //| Jaanus Jantson | //| http://fx.jantson.ee;

Automated Trading - MT4 or MT5?

Hi all, I use MT4 for automated trading since a time. Very often I heard that the MT5 is better. Has someone experience by MT5

What's the optimal time period for backtesting?

By backtesting I will ask myself quite often: How long should I trace back to do the backtesting? If I backtest the 15M timeframe, a three years historical data should be long enough? Surely many people will say the longer the better. I doubt this. How is your opinion

A better way to do the optimation back testing?

Hi all, Quite often I will do the optimation backtesting. Since this is quite time costly expecially when you use the model of "Every tick...", I will use the model of " Open price only ..". But I find if I use the optimated parameters to do the backtesting with "Every tick.." The result is quite

My EA template

Since a time I've been thinking about to build an EA template sothat I don't need to write the whole codes but just the business logic. Here is my code: //+------------------------------------------------------------------+ //| MyTemplate.mq4 | //|

How to open 4 timeframe at the same time?

Hi, Assumed I will trade EURUSD . And I want to open the 15m, 1h, 4h and 1d chart Tilled at the same time. Surely I can do this one after the other. But what I want is same this as a template and when I open this template next time, it will open these 4 different timeframe at the same time. I've

EventSetTimer(n) can not be backtesting?

Hi, My EA uses a Timer. It should print out "Hello World" every minute. I run this on demo live and it does as what I want. But as I back testing it, it will not print out any thing. I wonder if the EvenSetTimer() could be back tested

How to set a timer ?

Hi, I use normally the 5-min, 10-min charts in the EA. But I want to update or modify the StopLoss or the TakeProfit every minute. How to? Here are codes in my EA but this is for Bar-Begin. This means, if I use the 15-min chart, it will update/modify very 15 minutes. void checkTrailingStop(){ //