Tâche terminée
Spécifications
Please add indicator BBflat to the EA at below as highlighted
if(bartime != Time[0])
{
p = 0;
side = 0;
sl = 0;
dStochK4h1 = iStochastic(Symbol(), PERIOD_H4, 5, 3, 3, 0, 0, MODE_MAIN, 0);
dStochK4h2 = iStochastic(Symbol(), PERIOD_H4, 5, 3, 3, 0, 0, MODE_MAIN, 1);
dStochD4h = iStochastic(Symbol(), PERIOD_H4, 5, 3, 3, 0, 0, MODE_SIGNAL, 0);
Oversell_Level = iCustom(Symbol(), PERIOD_H4, "Stoch_Alert", 0, 1);
Overbuy_Level = iCustom(Symbol(), PERIOD_H4, "Stoch_Alert", 0, 1);
Indicator PERIOD_H4 BBflat
if((v1[0] <= Oversell_Level && OBOS != -1) && (dStochK4h1 > dStochK4h2 && dStochK4h1 > dStochD4h && dStochK4h1 >= 20 && dStochK4h1 <= 80) &&
When indicator_color4 Blue upward crossover the indicator_color3 Red)
{
iTrend = 1;
}
if((v1[0] <= Oversell_Level && OBOS != -1) && (dStochK4h1 < dStochK4h2 && dStochK4h1 < dStochD4h && dStochK4h1 <= 80 && dStochK4h1 >= 20) &&
When indicator_color4 Blue downward crossover the indicator_color2 Red)
{
iTrend = -1;
}