Internal Bar Strength Gold XAUUSD 2 hours TIMEFRAME

Internal Bar Strength Gold XAUUSD 2 hours TIMEFRAME

This strategy works on several markets but in this example I focused on gold.

The strategy is based on the Internal Bar Strength Indicator (IBS=(Close – Low) / (High – Low) * 100), and by using this indicator I’ve made a  mean reversion strategy which basically gives you a high win rate thanks to a large stop loss distance. To find out if this is good or bad you need to do some further testing.

Anyhow, the main rule is as follow:

  • Buy when the IBS closes below a certain value and exit when the price closes above yesterday’s high.
  • Sell when the IBS closes above a certain value and exit when the price closes below yesterday’s low.

Apart from the main rule, I have also added some extra stuff to boost the performance of this backtest. You can optimise all of this in the top section.

Enjoy!

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. Yannick • 245 days ago #

    Thanks for sharing, did you tested it on 200 000 bars

  2. victormork • 245 days ago #

    Hi! No I don’t have 200k history.

  3. Yannick • 244 days ago #

    There is a huge drawdown from 2012 to 2013 after it keeps rising

    https://ti.md.it-finance.com/ProRealTime_V10_3/display_chartimage.phtml?name=7ocfhe7dftht26ygzmeyfal5q&type=png&purpose=share_twitter

  4. victormork • 244 days ago #

    Thanks for sharing the 200k test!

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Nicolas But it should, I'll test later.
Jan Wind Nicolas, maybe the cause is that the values of / or the smooth line is not visible (??)
Gianluca Hello Nicolas, my prt become stuck when i load the indicator, is there any problem with it?
apachx Hi. Please, describe the algorithm in words. I want to understand how it works, but for now...
Robin von Bauhn Here you go! Would like to hear your feedback :) cl = RSI[2]100-a if cl and close &...
Francesco78 Sorry there might be few typos, pls send the full code. Thank you
Robin von Bauhn Oh, it's "cs" that's missing. I don't have the code right now but it's the exact same condit...
danibo Hi Francesco, thank you for replying. I try to be crearer. My question is: - what is the...
JanWd Hi Francesco, nice algorithme, works with me on other markets as well !
Francesco78 thank you Janwd. Do you mind sharing where it works? happy new year!
atlante je me demande si prorealtime pourrait etre programee sur fonction lorsquún point cgange de c...
lizmerrill can you provide this code for tradestation, please. Thanks
Nicolas No sorry, please use this file instead into a prorealtime trading platform.
StantonR Got good results on ZAF 1hr timeframe
Wilko Great!
Wilko Thanks for letting the community know!
Francesco78 hi Lizmerril, yes, that is correct
lizmerrill Thanks for replying, so.... I assume in your backtest, the fullness calculations using dclos...
DANY overfit
diegofe_2000 cordial saludo NICOLAS , gracias por excelente indicador. ¿ es posible obtenerlo en MT4 ? ...
Nicolas Lo siento, pero no estoy trabajando para ayudar a la gente aquí de forma gratuita para promo...
diegofe_2000 Nicolas , gracias por tu atención. La pregunta era por curiosidad (yo no trabajo ni manejo ...
larmhen
1 year ago
HerveS_67 Bonjour, A quoi correspondent les données S, M, L ? Hello, What do the data S, M, L?
Maxime Baudin Nice, thanks!
rowestock Hi Nicolas, I am revisiting this indicator and wanted to ask, is it possible to replace sty...
Nicolas Why not, please add a new request in our probuilder forums.
gabri Excellent job like always!! are you working also on the Barycenter indicator?
Nicolas No but I think you can find a lot of different version of the "center of gravity - COG" indi...
Francesco78 ok sounds good, you can put min size = 1 and go for the seasonable breakout too, also you ca...
JR1976 HI all , anyone test 200k bar for this great code ?
JanWd Thank you for the coding, it seems promising. FTSE gives for the short term (5 min) promis...
David Nicolas I've looked at it again and there's a problem.  As an example here's a simple cross...
Nicolas You'll need to preload bars to get the good calculations of you indicators. I did not test i...
David Nicolas I tried DEFPARAM Preloadbars = 5000 And still the same drawn output of entries/exit...
Nicolas Hello DonDollar, and thanks a lot for your contribution to our community :) A "keep it simp...
DonDollar Ni Nicolas, thanks for the comment. I started with a 3000$ Position and 1 Pip Spread. I fo...
DonDollar Stupid me, it is indeed 1 POINT Spread....  
rpreviteri Hi Nicolas, thanks a  loto for sharing your knowliedge, Wasn't the original momentum pinball...
air Thank you!  
elanoa Buonasera sig. Nicolas......sarebbe possibile far in modo che quando l'indicatore raggiunga ...
Dimi.A Perfect for counter-trend scalping. I like this!
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...
leyoy Elles viennent d'apparaitre après redémarrage. Merci Nicolas. Du coup, les signaux sont à pr...
patrick3 Merci Nicolas pour cet indicateur, il me tarde de faire les tests
helloe do u have same indicator for mt4 ? as mq4 ?

Top