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?

New! PRC is also now 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]

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
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
Nicolas Hi, please send it to contact[at]prorealcode.com . Many thanks.
JohnScher @nicolas done, in this moment
JohnScher After a small error crept in, a correct itf.file has been uploaded.
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!
firemyst @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...
Doctrading Hello, As I said, I didn't use spread for the screenshot as I don't trade Gold and I don't ...
smurfy Hi, I had been losing on gold and after I manually go through the 5min chart using IG and w...
eiffel Hi Smurfy, hope you are still there... I would like to help you to write and test the code.
Nicolas Pour cela il faudrait définir comment détecter les supports et résistances, comment et où ca...
cypressat Merci beaucoup pour cette réponse Nicolas. Je ne peux rien dire parce que je suis totalement...
Matt B Cypressat, tu as essayé l'autre indicateur que mentionne Nicolas ? https://www.prorealcode.c...
Wilko This code is the work of a simple genius! Profitability lies in simplicity and repetition.
Nicolas Good joke. FYI, you'll find many identified recurring patterns there: http://paststat.com G...
Yngve i added a MA as a filter, that improved the equity curve quit nice actually
Doctrading Hello,  The strategy should be improved, no doubt. But it was just one of my ideas, which h...
ALEALE Yes Nicolas is very difficult, macro economic data can destroy any work!!  
styrke depends which.. I personally think that it's much more easier to trade on XBTUSD, try to co...
GraHal I adjusted for GMT (minus 1 hour on all times) ... no trades. Might it be because the code ...
GraHal Ooops got that excited I sent that last one twice! ha (and can't delete it, sorry) I got it...
Eric n = 3  dont forget to allow 3 contract in proorder
Doctrading Hello, Someone asked me something (his results seemed to be different) on my email, but it ...
Glen Marquis Not your best..So what is your best strategy? :)
Benjamin Costa Ok thank you for your answers. Gianpiero, i have an Interactive brokers account. Noisette, i...
oldup It works on ProOrder - but  I don't like the maxWin = MaxLoss.    
oldup Just divise StopLoss /2 - Result is better  

Top