There is not a single topic about trading on the main page of the traders' forum. Not a single one at all. - page 6

 
Dmitry Fedoseev:
With an indicator like this, it doesn't matter where, what, when or where to open.

)

 
Old version, mixed up.
 
Dmitry Fedoseev:
With this indicator, it doesn't matter where, what, when or where to open.

3 questions.

a)...will there still be a profit?

b)...will there still be a loss?

c) Why?

 
Aleksei Stepanenko:
I cannot say for or against without a tester.

I wanted to run the Indicator through the Expert Advisor in the tester - but the indicator does not give a signal like normal Signal Indicators.

---------

I thought maybe my Expert Advisor is not working - I added MACD from the terminal and got interested.

Maybe someone needs Expert Advisor for a tester - here it is

Files:
MACD.PNG  127 kb
MACD_2.PNG  131 kb
 

I like to use time instead of the number of candles. For example, if 3.5 hours have passed, then... It turns out a universal code for any timeframe. After that, the timeframe change is not seen as a change of the whole strategy, but just a change of scale.

extern int  БаровЛевееВершины   =119,              // Внешние переменные
            БаровПравееВершины  =1,
            БаровЛевееОтката    =6,
            БаровПравееОтката   =1,
            БаровЛевееРетеста   =1,
            БаровПравееРетеста  =1,
 
SanAlex:

I wanted to run the Indicator through the Expert Advisor in the tester - but the indicator does not give a signal like normal Signal Indicators.

---------

I thought maybe my Expert Advisor is not working - I added MACD from the terminal and got interested.

If someone needs an Expert Advisor for a Strategy Tester - here it is

A normal MACD will do fine. - I just need to filter it out.

(- so that there would not be so many openings).

Files:
MACD_3.PNG  127 kb
 

A bicycle sometimes needs to be repaired

https://www.mql5.com/en/code/8772

When compiling it gives an error

I removed this line and everything works

//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
  {
    int counted_bars = IndicatorCounted();
//---- 
    double    value2 = 0;
    double    value3 = 0;
    double    value11 = 0;
    double    x1 = 0;
    double    x2 = 0;
    double    Range = 0;
    double    val1 = 0;
    double    val2 = 0;
    int       shift = 0;
    double    abrs = 0;
    double    s = 1.5;
    double    p = 0;
    double    r = 0;
    double    r1 = 0;
    double    value21 = 0;
    double    prev = 0;
    double    d = 2.3;
    double    f = 7;
    double    h11 = 0;
    double    h12 = 0;
    double    h13 = 0;
    double    const = 0;
    double    orig = 0;
    double    st = 0;
    double    h2 = 0;
    double    h1 = 0;
    double    h10 = 0;
    double    sxs = 0;
    double    sms = 0;
    double    temp = 0;
    double    a1 = 0;
    double    per1 = 0;
    double    a1x = 0;
    double    h5 = 0;
    double    tsig = 0;
    double    r1s = 0;
    double    r2s = 0;
    double    r3s = 0;
    double    r4s = 0;
    double    pt = 0;
    double    pts = 0;
    double    r2 = 0;
    double    r3 = 0;
    double    r4 = 0;
    double    tt = 0;
//----



BrainTrend1Sig
BrainTrend1Sig
  • www.mql5.com
BrainTrend1Sig Indicator.
Files:
 

Eh, it's been a hell of a week. But all the better for it.)

.

 
khorosh:

3 questions.

a)...will there still be a profit?

b)...will there still be a loss?

c) Why?

There should always be two indicators. One says "Buy", the other says "Sell".

Reason: