Doctrading

The "BUY Stock" screener

Category: Screeners By: Doctrading Created: May 8, 2016, 12:53 PM
May 8, 2016, 12:53 PM
Screeners
8 Comments
The "BUY Stock" screener

Hello fellow traders,

Here is a simple but very effective screener code of my own.
It detects the stocks that can be purchased.
These stocks must show some conditions, of course.
But it is not sufficient.
They must BREAK a TRENDLINE (a resistance).

And no code will detect this for you. That’s why we can’t backtest this kind of strategy. But it easy to make a screener, and an indicator.

On the graphic, I did set the volumes, and the 10 average volumes.

I also show you some trendlines breaks on the same stock.

c1 = average[50] > average[200]

c2 = close > average[50]

c3 = close > open

c4 = Volume > 2*(Average[10](Volume))

c5 = Volume > Volume[1] and Volume > Volume[2] and Volume > Volume[3]

c6 = Volume > 20000

c7 = ForceIndex > 10000

c8 = RSI[70] > 51  // it means RSI[14] on weekly timeframe, because 1 week = 5 days

IF c1 and c2 and c3 and c4 and c5 and c6 and c7 and c8 THEN

ACHAT = 1

ELSE

ACHAT = 0

ENDIF

screener[ACHAT]
// To get the indicator, replace this last line by : 
//return ACHAT

Download
Filename: ACHAT-ACTIONS.itf
Downloads: 995
Doctrading
Doctrading Master
Hello, I'm Marc. Nice to meet you.
Author’s Profile

Comments

JOKAMAURICE
5 years ago
#

Le programme ne se charge pas dans PRT

pata_tony
7 years ago
#

Hi, i'm not able to see the indicator. Could you please help me? Thanks

Nicolas
7 years ago
#

This is not an indicator but a screener, to be used with the ProScreener module.

Al Wikah
8 years ago
#

Sorry, l'indicateur fonctionne. Je n'avais pas vu les dernières lignes de commentaires Merci

Al Wikah
8 years ago
#

Bonjour, Aucun retour de résultats Pour avoir des résultats j'ai commenté cette ligne : // c4 = Volume > 2*(Average[10](Volume))

Julien Krs
9 years ago
#

Salut doc, pas moyen d'avoir un signal, j'ai beau screener tout le marché en Daily et Hebdo, je n'ai jamais le critère "1"

Doctrading
10 years ago
#

Hello, Nicolas.

Yes, I did also think that it is possible : 

  • add a criteria of candle size (with ADX, etc.)
  • add a breakout of the 10 last high
  • etc.

But I think the best indicator is how do you see the candle. 

If someone wants some more criteria, it is always possible.

Best Regards, 

Nicolas
10 years ago
#

Thanks Doc. If you want to test if your big candle have made a good move and have pierced a trendline, maybe you could just make a lookback with a simple loop in the previous candles and test if these ones were in a narrow range? Look for their highest and lowest values or average their prices to find the distance within the close of your big candle.

ProRealCode ProRealCode
Loading...