found https:// - Trading

Building trading tools that are useful.

Below you will find my offerings for trading. Many are FREE!, including source code. Some items are for sale.

Most things I do are in MQL5. I started with MQL4 but realized that despite its longevity, it would evenutally be phased out. It is my personal recommendation that all beginners start with MQL5.

I am fairly active on the forum. While there is no gaurantee you will receive an answer from me, a well-written question is usually given sound advice from someone on the forum.

If I have saved you time, and/or you found one or more of my tools useful, buy me a cup of coffee!

MT5 NR7 and NR7IB Indicator

NR7 and NR7IB Indicator

Buy the Full 1.10 version from

This indicator shows the narrowest bar within a range of the past seven bars, which is known as NR7 in the literature.
The range is variable; thus, you can show any range, e.g. NR3, NR5, NR11, etc. For the description of this indicator, I will continue to use the default of seven (7).
If an NR7 bar also happens to be an Inside Bar, it gives a stronger signal. Thus NR7IB are denoted in another color. Sometimes this is known as NR7ID (for Inside Day). I kept the description generic because you can use this indicator on any time frame.
As a bonus, I have added the ability to show the:
  • Highest bar (HI7)
  • Lowest bar (LO7)
  • Widest bar (WI7)
within the range N.
Does not repaint and works in the Tester.

MT5 Multi-Currency Indicator

Multi-Currency Potency Meter

Buy the Full 1.07 version from

Download the Full Manual.

You can also try this Free/Demo 1.07. The free version has limited functionality.

This Multi-currency meter measures the relative distances from major currency pairs to a long moving average. The relative distances are used to calculate individual currencies (currency singles). Currency singles represent a specific world economy and is shown on the indicator as a colored line.
The currencies (currency singles) described by this indicator include: AUD, CAD, CHF, EUR, GBP, NZD, USD, JPY.
The reason to separate individual currencies from currency pairs can be understood from the following example: Consider a chart of EURUSD in which prices are rising. Are the rising prices due to the Euro (EUR) economy rising or because of the U.S. Dollar (USD) economy falling—or are both conditions true? The Multi-currency Potency Meter gives a relative measure of the strength and weakness of EUR and USD in this context to make this determination.
After separating into distinct currencies, this indicator then combines the strongest currency singles with the weakest to determine which currency pairs are the most “potent.” Potent currency pairs have price movement and direction and therefore provide the best instruments to find high probability trades.
This indicator can be placed upon any chart. Updates occur every second if a tick on the underlying chart has come in.


A ForEx Trading Plan

eBook is currently available on Smashwords

A trading plan is a business plan. When you start a business, you write a business plan. When you become a professional trader, you write a trading plan. This is a full-fledged trading plan, over 30 pages so far. This is like a pamphlet chock full of information. You will learn by reading it. This trading plan will likely save you dozens of hours by giving you a fully-fleshed-out trading plan.
You could call this a "sample trading plan" or an "example trading plan," but this trading plan is NOT: - a bare-bones template - a "how-to" article telling you how to write a trading plan - an article expounding on the virtues of having a trading plan.
This trading plan encompasses the detail you must think about before you will become a successful trader. Although you will probably not trade the same way I do, and you cannot expect to use this trading plan exactly as written, you will gain benefit from reading it. You will likely borrow the parts you need, and you can consider alternatives for what you don't need. This trading plan gives you a starting point. You will see sections on psychology, disaster recovery, tax status, and I will even tell you which broker I chose. While you still have to do the work, you don't have to re-invent the wheel.

Geany configuration

Geany Configuration For MQL5


Download configuration files (7Zip file; 10KB)
I had been using SciTE for MQL4 for some time. It works, but I was missing some features. So I gave geany a try.
I found someone else's configuration file(s) for geany, I forget where, then changed it to suit my needs for MQL5. I also created my own colorscheme based upon what I used with SciTE for MQL4.

BB-Trend Indicator


The BB-Trend MQL5 Indicator uses two Bollinger Bands™ to signal both trend and direction.

See a Screenshot of BB-Trend. (Indicator is in the sub-window)

Download the MQL5 source code of BB-Trend.

lower = MathAbs(lowerBB(20) - lowerBB(50))
upper = MathAbs(upperBB(20) - upperBB(50))
BBTrend = (lower - upper) / middleBB(20)
I'd enjoy hearing how your use this indicator.

BB-Flat Indicator


The BB-Flat MQL5 Indicator shows when the Bollinger Bands™ are stable or flat.

See a Screenshot of BB-Flat. (Indicator is in the sub-window)

Download the MQL5 source code of BB-Flat.

Force Index for MT5 - Indicator


The Force Index MQL5 Indicator is a direct replacement for the Force Index supplied by MetaQuotes. Their formula is not Elder's formula. This fixes that.

Download the MQL5 source code of Force Index.

Index Finder for MT5 - Indicator


The Index-Finder 1.01 Indicator is a tool to find the index number of any bar.

Download the MQL5 source code of Index Finder for free.

For more information, see the MQL5 post that prompted this tool.

This is perhaps the simplest possible MQL5 indicator. If you are a beginner to programmer, you may find reviewing this code to be instructive.

Simple Moving Median for MT5 - Indicator


The Simple Moving Median 1.04 Indicator is similar to a Simple Moving Average (SMA), except it shows the median instead of the average.

Download the MQL5 source code of Simple Moving Median for free.

For more information, see the MQL5 post that prompted this indicator.

Self-Tuning Envelopes for MT5 - Indicator


Download Version 1.01 version from

The Self-Tuning Envelopes Indicator is similar to the Envelopes indicator that ships with MT5. The key difference is that it tunes based upon how many bars you want to "poke through" the bands.

Sorry, I am not sharing the source code for this indicator.

How to write a multi-timeframe indicator


I wrote a simple test Indicator that synchronizes data from the server and displays the next time frame (nextTF) high on the current chart.

Find the discussion and code example here

Contact Anthony Garot: