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?

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

  1. Yannick • 11/14/2017 #

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

  2. victormork • 11/14/2017 #

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

  3. Yannick • 11/14/2017 #

    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 • 11/14/2017 #

    Thanks for sharing the 200k test!

  5. Madrosat • 11/14/2017 #

    La fonction stoplossmulti ne change rien cela doit provenir de l’averagetruerange existe t il plusieurs versions de averagetruerange ???

  6. Madrosat • 11/14/2017 #

    Bonjour Nicolas la formule du stop loss est elle vraiment valable ?? il n’y a pas au depart de calcul de différence entre tradeprice et atr??

    • Nicolas • 11/14/2017 #

      Il y a peut-être un erreur en effet, essayer avec:
      set stop ploss (averagetruerange[14] * stoplossmulti)/pointsize
      ou mieux
      set stop loss (averagetruerange[14] * stoplossmulti)

  7. Madrosat • 11/14/2017 #

    ok merci Nicolas c’est avec /pipsize que ça fonctionne

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
larmhen
7 years ago
HerveS_67 Bonjour, A quoi correspondent les données S, M, L ? Hello, What do the data S, M, L?
Vinks_o_7 aux paramètres à rentrer : 5 20 et 200...
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.
majid52026 Hi I want MBXF Timing for mq5 Does anyone have this indicator???
dertopen Hi Nicolas good work for the code translation when i chek the mbfx system site i see in t...
Nicolas Yes, just change the color by yourself in the indicator settings window.
JanWd Thank you for the coding, it seems promising. FTSE gives for the short term (5 min) promis...
Jan Wind 21.04.2019: I retested the strategy for the DAX 5 minutes , it works fine for 10.000 bars, b...
bertrandpinoy hello Francesco, are you still working on this strategy?
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...
marcara Hi, Thank you very much for the Moving Average Daily indicator, I am using it as indicator i...
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....  
HarryPro Hello Clemens, I tested your Friday XAU and found it broke down when going well into the pas...
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!
viktorthuns Hi Nicolas! Great work you've done with all your indicators. Just wondering about the code a...
Nicolas the value is not a boolean but an average of an addition of booleans. As stated in the descr...
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.
cassio amigo você tem esse indicador para mt4 ou mt5.. ?
manchokcity WE NEED THIS IN MQL4 OR EX4
Nicolas We do not provide MT4 indicator in our website, all the codes around are made for Prorealti...
Nicolas Aucune immobilisation du capital. Quel est le drawdown du buy & hold ? Je ne l'ai pas ca...
jctrader ok pour le codage mais le choix "indice" n'est pas le bon : moins de 5%/an pour le meilleur ...
Thomas Hi Nicloas nice one i do understand :D im trying to put in MA200 as a criteria so it only go...
DonDollar ...and I do not see any opened positions...strange...
DonDollar I found the answer by myself for the second question. But still no idea about the False and ...
Nicolas The line 12 of the code is the answer of your question. Before launching a new trade, the co...
Nicolas I think it's because of price gaps and/or quote interrupt. Anyway, be aware that this strate...
NA je trouve cette stratégie interessante même si le qqq en question etf n'a pas beaucoup de vo...
NA I find this strategy interesting even if the qqq in question etf does not have much transact...
patrick3 Merci Nicolas pour cet indicateur, il est très utile pour voir les vagues

Top