Harami or Inside bar screener

Harami or Inside bar screener

This little handy screener allows you to easily detect “Harami” ( in Japanese), or “inside bar” (in English).

Without going into details , you will agree that it is useful to detect a number of these, particularly on forex where many strategies are working with it.

Here is the code of the screener, to detect them. Remember to select the desired market (eg “Forex”) and timeframe ( for example, ” Daily “).

For the indicator :

Very simple… but useful !

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. MikeGC • 03/22/2016 #

    Beautiful, Doc.  Many thanks!  For other followers of this great indicator and screener, may I suggest that out of the multiple trading strategies one can follow using this, the continuation strategy has the highest success rate.  Just run the indicator over a chart and compare the number of reversals with the number of continuations.

  2. Doctrading • 03/22/2016 #

    Hello, It’s a nice idea. I also tried a harami strategy with a 50 moving average, works on EUR/USD Daily :
    http://www.prorealcode.com/prorealtime-trading-strategies/a-harami-trading-strategy-code-for-daily-eurusd/

  3. fesxeurex • 03/22/2016 #

    Thanks for posting,
    Apologies if this is a dumb questions but like Chinese say “If you ask a question you are fool for a day you if you dont ask you are fool for a life”  hence
    Does this display inside bar in formation or after its formed?
    Please can someone experienced shed some light on it

  4. Doctrading • 03/22/2016 #

    Hello fesxeurex,
    It can display both : when it is in formation, and when it has been formed.
    It can disappear if the harm isn’t completed yet and finally isn’t.
    Regards,

  5. the_giorgio • 03/22/2016 #

    Bonjour Doc,

    Je crois que votre définition du harami est erronée

    Critères du Harami
    Définition :
    -Petit corps compris à l’intérieur d’un corps long (désignation : bébé).

    -Couleur opposée entre les deux chandeliers nécessaire.

    je mettrai plutôt, open[1] > close [1] and open[0]<close[0] and open[0]close[1] and close[0] close[1]

  6. dfl3tch3r • 03/22/2016 #

    Great screener…Has anyone got code for trade/backtest the next bar breakout (short or long) ? Many thanks

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Emil
10 months ago
Nicolas
10 months ago
5 main forex pairs average
5 main forex pairs average
4
Calculated instruments
Nicolas It's only compatible from PRT v12. With the "Calculated instruments" tool, you can know crea...
MaoRai54 many thanks. IG doesn't know when they'll release it :(
MaoRai54 Hi Nicolas, I'm here again. Today I got the v.12 in my demo account. I started it, I downlo...
Jiacky
2 years ago
Range Factor
Range Factor
0
Indicators
Stephane0174 Bonjour et merci pour le Screener. Je suis nouveau ici et je ne connais rien en programmati...
Nicolas Je pense que c'est le copier/coller des guillemets qui pose problème, il faudrait les retape...
smp I also have an End Of Day (EOD) cash pivot indicator for use on cash markets; this indicator...
Dom Hello, hello....je commence le trading et découvre par la même occasion le codage....et ce n...
Nicolas Merci, ça fait plaisir !
Be-n Bonjour tout le monde ! Dans l'indicateur de tendance, j'ai du mal à saisir la nuance entre ...
Theo D'accord merci
tobytarczy Hi, I have been looking for something like this. I have a f questions about the indicator. ...
tobytarczy Hi have been trying to modify the code you so kindly shared to reflect to the image you have...
Maik2404 es sind leider nur long Positionen und keine Short zu erkennen.
Maik2404 Vytautas: es bleibt aber nur bei long Auslösungen
ullle73 this one is not a winner, have backtested it on almost all pairs, does not have an edge
JohnScher After a small error crept in, a correct itf.file has been uploaded.
dougie80 Great Indicator, Is there a way to use this as an alert ?
JohnScher I created the screener with some help here from PRT. It is surely somewhere in one of the fo...
Leo Does it opens pending orders?... maybe they were not trigger.
Mattzi Dont know, all i can see is that it opened an order yesterday in backtest but not live. Th...
Jean-Christophe Hello Leo, when running the strategy from 29/12/2015 to 31/08/2018 on ProRealTime Premium, I...
Nicolas Please add a request on forums for any MT4 code conversion, thank you. Follow these easy ste...
mecon I will do so, thank you!
avatar
Anonymous @mecon, did you ever get one?
apachx Hi. Please, describe the algorithm in words. I want to understand how it works, but for now...
4example excellent, thank you
Doctrading Hello, Higher timeframes are better. I suggest D1 or H4.Best regards,
Pinkybouh hello, I propose to add another conditions: ie: haussier: close > open and close >...
TheHovisTrader I'd be interested in the actual profit of this - in the example the stop range is at least 2...
Elsborgtrading By adding the inside bar breakout failure candle, which is the next bar after the inside bar...
DegoodBoby very nice indicator but pls how can we use the indicator without the text (inside bar/brea...
ShaunG Hi Elsborgtrading thanks for this indicator. I was initially looking for a "IDnr4" which I c...
Dimi.A Awesome mate.
mora87 Hi David and Nicola, I'd like to share idea with you guys which is related to David's Idea. ...
Nicolas Please ask for custom coding in forums instead.
Naren Yanan what is    diplus  diminus  please
Barney Has anyone tested this algon now when PRT 10.3 was released?
Yngve does anyone know if the issue with the TP/SL is resolved ?
JakeDB Answered my own question....Sorry about this question. 5 positions, take profit at 15, loss ...
maxxb sto facendo girare in demo questa strategia modificata a 10 minuti con stop e profit ottimiz...
Manuel9z Hello, this strategy improves with the SL 30 and the TP 10. I have done backtesting and it w...

Top