Inside bars & pin bars

Inside bars & pin bars

(Unless you are trading foreign currencies, this post won’t make much sense. You should just skip this and move one…)

In the past few months I’ve been looking at trading foreign currencies. I’ll save some of the details of the mechanics (why, how etc) for another day.

For myself, one of the most successful entry indicators is an Inside Bar + Pin Bar.

I’m using FXDD, which is based on the Meta Trader platform. One of the benefits is that you can create your own indicators.

So, I created an Inside bar & Pin bar. Here’s the steps:

  1. Download the file Inside Bar.txt. You will need to rename it from .txt to .mq4. Save it in experts\indicators folder. If you have installed FXDD in the default location, this will be C:\Program Files\FXDD – MTXtreme 4\experts\indicators
  2. Click on Tools / MetaQuotes Language Editor
  3. On the Navigator window, expand the Indicator folder and double click ‘Inside Bar.mq4’. If you can’t see the Navigator window, from the menu, select View / Navigator
  4. Click Compile. In the results window (down the bottom) you should see 0 errors, 0 warnings. If not, then it is likely something you have changed.
  5. Click Tools / Trading Terminal, to switch back to your chart
  6. Select the chart you want to see the indicator on. Click Insert / Indicators / Custom / Inside Bar
  7. Repeat steps above with PinBar.txt

You can see in the examples above, an inside bar has a tick above the bar and the pin bar is a ^ below.

5 Comments

  1. I dont know how to change to mq 4 file. can convert to zip file or other easier method, instead of text. Thanks

  2. Bernard Smith

    Your inside bar/pinbar indicators work great. Thankyou.
    One glitch I seem to have is that the pinbar indicator only works on the weekly and monthly time frames, even though the settings are for all time frames. Any suggestions would be helpful.
    Thanks again
    Bernard Smith

    • When I first installed it worked on all time frames but now the pin bar indicator only works on weekly and monthly chart.How could i fix it to work on all time frames.
      Thnaks

  3. Your inside bar indicator works great. Thank you very much.
    Is it possible to disable the alert pop up ??
    Thanks again
    Rynn

  4. Clixmaster

    Your pinbar-indicater is very interesting to me. I added a minimum pinbar-size and a minimum movement and direction befor. I do not really understand the math function, so I’d like to know why the 2nd if-line ist out commented. A description of the math funktion would be very useful.