Bonjour Nicolas,
J’ai trouvé un code de recherche des flags et pennants. Est-il possible de le traduire pour la communauté, sous forme de screener ? :
// Debut du code de recherche des Flags et Pennants
// limit scope
[group is sp500] and
// rising market
[sma(200, close) > 20 days ago sma(200,close)] and
[sma(50, close) > 10 days ago sma(50, close)] and
[sma(50, close) > sma(200, close)] and
// falling prices recently
[sma(13, close) < 5 days ago sma(13, close)] and
// but not too much
[min(5, close) > max(5, sma(50, close))] and
// and price hasn’t taken off yet
[close < sma(10, close)] and
// big volume not too long ago
[5 days ago max(10, sma(5, volume)) > 5 days ago max(10, sma(50, volume)) ] and
// but small volume now
[max(5, sma(5, volume)) < max(5, sma(50, volume)) ]
// Fin du code
Merci par avance.