Attachments forums

List of attachments posted on this forum.


All files on forums: 135316

Blai5 Vigia. New christmas toy for all of you to play with

DrNefario, Sun Jan 10, 2021 2:39 am

TLDR: Indicator .ex4 at the end of the post.
Hi everyone,
Long time lurker and recently registered user here.

I've had some measure of success over the last years with the following indicator: Blai5 Vigia on MT4 (there's another version for those of you that use ProRealTime, there you can check its source code just by searching the indicator within the PRT database), and thought some of you would like to give it a go since the author (Xavier D. García, he's Spanish) allows for freesharing through a creative commons copyright.


As you can see, it is formed out of multiple lines:
  • The Signal Line or "Vigia" by default which tries to present a "harmonized" value of 4 classic indicators (RSI, Stoch, FMI and Bollinger Bands). This way, it's intention is to generate signals when the previous indicators information complements each others.
  • A red 20 period exponential moving average. You can customize the period.
  • A blue histogram he calls "Astro" which he categorizes as a "distilled" indicator since it's value depends on 2 other indicators originating from Vigia. In a way, without really being such, it might be easier to think of it as a MACD histogram of the Signal Line instead of the currency price. It's period can be customized.
  • Lastly, is the blue dotted "Filter line" which Blai5 likes to swear by but won't reveal too much of. In it's most basic concept it is used to filter opposite signals by showing the expected medium term trend, but careful study can give further information.
    • As a matter of fact, check in the previous chart how price ranged after both Filter and Astro crossed the ZERO line while the red 20 EMA remained on the opposite side (and what did the price do after the 20-EMA crossed ZERO in the direction Astro and Filter took).
    • Or maybe look at how bullish divergences in the Vigia or Astro lines worked out while the Filter line was either positive or negative, likewise with bearish divergences.

Due to the amount of lines it includes, it may be easier to study them separately. For example:

  • I like checking the Astro on it's own and apply a moving average to it (the indicator is coded in such a way that, when dragging a moving average to its window, it is applied to Astro.
  • You can also check the 20-EMA position over/under Filter line to determine longer term trend, and gauge it's strength by checking their separation and slope (namely, don't buy while Filter and EMA are pointing downwards AND they're getting closer... or viceversa).
  • Or you could check how the bollinger bands work it relation to the rest:
    • How they seem to always contain the EMA as an indication of future reversal or ranging.
    • How, once the signal line breaks out of it's bounds, there seems to follow strong price movements but I'd recommend you wait for confirmation from the other signals (as i show with vertical lines in the following graph):


The first indicator window on this graph is a 1 period SMA of Astro with a 5-SMA.
I'm aware there were more times the Vigia Signal Line broke through the lower bollinger band but the EMA was either still positive or already outside of the lower bollinger band itself when it crossed downwards through the Filter line.
That's not to say those Signal Line breakthroughs of the Bollinger Bands can't work, but they're riskier as you can see on the following graph, where some went alright since the was further confirmation afterwards and others were just fake signals:


I would like to remark that these aren't the only signals available.
Rather, the indicator offers progressive signals, each building into the previous one, such that, given different market conditions, there are progressively better signals (some are too early), and an optimum one or just bad ones (like fake early signals or them simply being too late for a small price movement).
  • Sometimes market will be subject to bursts after news (here you might get away with using the bollinger band breakout).
  • Other times the market will be ranging with no clear medium or long term trend ... here you might want to wait for a divergence and further confirmation after a trendline break, or you may want to trade "dynamic" support and resistance levels registered by the Signal/Vigia Line and wait for a breakthrough as in the following example (blue AQUA lines) when the price was ranging:


The nice thing is, it's really up to you as a trader to use those signals you are more comfortable trading with.
If there's enough interest I will ask the author if he would mind sending me the MQL4 file and share it here for any coders willing to play with it.

All files in topic