Search This Blog


Multitimeframe indicators

It's very often there isn't enough time to check all chart timeframes and look for the best entry point, these indicators can be set in one window and not switching screens to see the whole picture together.
The Stoxastic and RSI indicators are extremely simple, they show the values of relevant indicators with a candle a higher period. The details can be examined further using indicators MA.
Total variable for all three indicators timeframe. The valyes are:
  • timeframe = January 1 minute
  • timeframe = May 5 minutes
  • timeframe = 15 15 minutes
  • timeframe = 30 30 minutes
  • timeframe = 60 1:00
  • timeframe = 240 4:00
  • timeframe = 1440 1 day
  • timeframe = 10080 1 week
  • timeframe = 43200 1 month
For the case if there is a mistake in minutes, the indicator itself correct, and set the desired period. For all other variables as well as in the original versions of the indicators.
Now back to MA.
Partly applied_price it can serve for many functions.
  • applied_price = 0 PRICE_CLOSE
  • applied_price = 1 PRICE_OPEN
  • applied_price = 2 PRICE_HIGH
  • applied_price = 3 PRICE_LOW
  • applied_price = 4 (high + low) / 2
  • applied_price = 5 (high + low + close) / 3
  • applied_price = 6 (high + low + close + close) / 4

For example, if you put in the window with a period of less than H1 immediately 3 indicators with the following parameters:
  1. PeriodMA = 1; applied_price = 2; timeframe = 60;
  2. PeriodMA = a; applied_price = 3; timeframe = 1960;
  3. PeriodMA = 1; applied_price = 0; timeframe = 15;

So we get an indicator showing the minimum and maximum hourly candles (green lines 1,2) and (Orange 3) shows the opening price of each 15-minute candles.

By varying the parameters, you can create right combination of indicators that can you.
Each indicator has two buffers. One is the main, which shows the value steps and support, a smoothing step.

Download multitimeframe indicators:


KillGap indicators

  You'll never catch myself wishing to take the scissors, cut befell after the holidays or weekends gap and glue quotes? ))) )))
  Forex indicators, once such a gap (which can be hundreds of items and more), fall in prostration (as much bent arrows) on the length of its calculation (for indicators with FIR).  For indicators with IIR all can be much worse. . In short, while "arrow does not straighten out, and the indicators will not be adequate, they will be at best useless, and sometimes can hurt.
 That's what happened with "scissors and paste.  On the schedule podtsepleny Envelops, RSI and ATR in two versions - c gepom (red) and without (blue).
Forex indicators
  For the intraday time-frame, this is not a systematic gap carries no information, but on the contrary - makes a malfunction indicator. You can simply count the history of this indicator re-Gap, but you can use the previous dogepovye quotes.  In any case, it is more acceptable than the presence of Gap in the original data.

  How to identify a "festive" gap?  It is obvious that it must meet two conditions:
1.  The time between adjacent bars should not be less than, say, eight hours.  If it does not take into account, in real-time gap may be incorrectly identified within the day - not uncommon for the quotes come from gepami, which then, in retrospect filter (filled) DC ..
2. The presence of the gap between the bar and Close Open previous.
  In order to build bezgepovye indicators need to have a source of filtered with a cut gepom quotes for all types of prices.  This auxiliary display KillGap, at 0-m buffer is - "glued" quotations on the requested type of price, and the 1-m - cumulative difference gepov - displacement, ensuring continuity.  Actually, the original still bezgepovoe Close Close , High Plus this shift, High без гэпа = High + смещение и т.д. without Gap = High + offset, etc.
iCustom ( 
string symbol, //  character name tool (NULL-current)
int timeframe, //  time-frame (0 - current)
"KillGap" , //  name of this indicator
int GapPoints, //  threshold identification Gap in paras. <0 - without filling a second buffer - offset
int GapHours, //  threshold on the time between adjacent bars
//  0 - in hours
//  <0 - in minutes
int applied_price, // type of prices:
//  0 - PRICE_CLOSE - the closing price
//  1 - PRICE_OPEN - open price
// 2 - PRICE_HIGH - maks.tsena
//  3 - PRICE_LOW - min.tsena
//  4 - PRICE_MEDIAN - the average price, (high + low) / 2
//  5 - PRICE_TYPICAL - typical price, (high + low + close) / 3
//  6 - PRICE_WEIGHTED - Weighted close price, (high + low + close + close) / 4
//  7 - the volume
int mode, //  mode - buffer number indicator:
//  0 - buffer killgap quotes
// 1 - buffer bias - cumulative difference gepov
int shift //  int   shift
  ); ) 
If you throw it on the schedule, the process of "gluing" is seen clearly. (Don't gap closing price):

Suffice it to replace its code address to the price of an array to call this indicator the appropriate price type or add gepovoe offset (1-y buffer) to the original prices, it is better for speed, when the indicator is used several types of prices.
You can also prepare bezgepovye price arrays in advance of its conversion cycle (fragment f-uu start () of the stochastic - there should be just three types of prices and dalneshem features are used with arrays - ArrayMaximum (...)):
void start() { void start () (
//  Border conversion
int limit=Bars-IndicatorCounted()- 1 ; int limit = Bars-IndicatorCounted () - 1;
if (limit> 1 ) limit=Bars- 1 ; if (limit> 1) limit = Bars-1; 
//  Fill arrays killgap price
for ( int i=limit; i>= 0 ; i--) { for (int i = limit; i> = 0; i -) ( 
double base =iCustom(NULL, 0 , "KillGap" ,GapPoints,GapHours, 0 , 1 ,i); //  double base = iCustom (NULL, 0, "KillGap", GapPoints, GapHours, 0, 1, i);  get gepovoe shift
      CloseG[i]=Close[i]+ base ; // positioned Price CloseG [i] = Close [i] + base;  
      HighG[i] =High[i] + base ; //  search for a maximum price HighG [i] = High [i] + base;  
      LowG[i]  =Low[i]  + base ; // price of finding the minimumLowG [i] = Low [i] + base;  
     } ) 
In order to properly display indicators risuyuschihsya in tool window (price), count them on killgap quotes values should be shifted by the value of Gap in the opposite direction (code f-uu start () indicator iMA. Gap):
void start() { void start () (
//  Border conversion
int limit= Bars -IndicatorCounted()- 1 ; int limit = Bars-IndicatorCounted () - 1;
if (limit> 1 ) limit= Bars - 1 ; if (limit> 1) limit = Bars - 1; 
//  Buffer bezgepovymi quotes and displacement
for ( int i=limit; i>= 0 ; i--) { for (int i = limit; i> = 0; i -) (
      price[i]= iCustom ( NULL , 0 , "KillGap" ,GapPoints,GapHours,Price, 0 ,i); //  price [i] = iCustom (NULL, 0, "KillGap", GapPoints, GapHours, Price, 0, i);  quotes
      base[i] = iCustom ( NULL , 0 , "KillGap" ,GapPoints,GapHours,Price, 1 ,i); // смещение base [i] = iCustom (NULL, 0, "KillGap", GapPoints, GapHours, Price, a, i); / / shift
     } )
//  Calculate the indicator of the array price []
for (i=limit; i>= 0 ; i--) Ind[i]=iMAOnArray(price, Bars ,MAperiod,Shift,Method,i) -base[i] ; for (i = limit; i> = 0; i -) Ind [i] = iMAOnArray (price, Bars, MAperiod, Shift, Method, i)-base [i];
  } ) 
You may also implement a code indicator KillGap in reworks indicator in the form of a function, but for speed (check) win not noticed.

In the attached archive contains:
KillGap - light source dont gap quotes and displacement
killgap indicators:
iATR.Gap - the average trading range
iBands Gap - Bollinger Bands
iCCI.Gap - Commodity Channel Index
iEnvelops.Gap - envelope
iMa.Gap - Moving Average
iMomentum.Gap - Momentum
iRSI.Gap - Relative Strength Index
iStdDev.Gap - standard deviation
iSAR.Gap - Parabolic
iStoch.Gap - Stochastics
iStoch.GapNR - Stochastics with noise reduction

All indicators are the same fields as their standard prototypes, except for the added field GapPoints Gap identification threshold in points. Временной гэп во всех случаях жестко установлен в 8 часов. Time gap in all cases rigidly fixed at 8 o'clock.  int If you are interested pofiltrovat gepy within the day, you can do in the code indicator of the global variable int GapHours GapHours внешней, т.е. extern external, ie extern int int GapHours . GapHours.  But this makes little sense - gepy within days then usually filtered dealing centers.

Download killgap forex indicators


Indicator MA-Hector

The idea of this forex indicator is taken from Hector (Hector DeVille).
Use a simple Moving Average (MODE_SMA, PRICE_CLOSE) for all periods platform and with a period of 30, 50 and 100.
If the MA-50 is higher than the MA-100 MA-30 is higher than the MA-50 and the current candle for all the parameters higher than the MA-30, the indicator gives a signal "BUY" for the relevant period. И наоборот. And vice versa.


  Download Forex Indicator MA-Hector


Indicator MultiInfo

This forex indicator reflects the tendency of currencies in five pairs.  The idea was inspired by the recent indicator of "flight" of the yen all of its couples - sometimes you want to look at the overall trend of the currency.  Put to any schedule.
In the external variables chosen currency (by default EUR) and watch 5 pairs of this currency.
  • MACD - it TrendMACD,% depends on the acceleration trend (not calculated).
  • Yellow Stoch or RSI means that it is in the extreme values and trust him not worth it.
  • If the RSI and Stoch to 00 - your DC does not work with this pair.
Forex indicators

Download forex indicator MultiInfo


Indicator of relative strength of currencies

Both forex indicator work together on a pair of "EURUSD".
Forex Indicator EUR_2bL draws candles on the average euro and shows the current price of "Eur-Close".
Forex Indicator USD_2bL draws candles on the average dollar and shows the current price "Usd-Close".  If you enable "extern bool Fibo = true", the indicator will draw the line Fibonacci, based on two prices: "Eur-Close" and "Usd-Close".
Collaboration of two indicators show the relative "strength" of currencies (in this case, EUR and USD).

Forex indicators
 Download forex indicator of relative strength of currencies: USD_2bL.mq4 EUR_2bL.mq4

Indicator Time Jerk

The histogram shows the movement:
  Blue Movement   Close to one point up a red traffic at one point down (Subject to Delay).
Violet curve - this time changing Close (see> 0 and <0 for convenience).
Forex indicators

window - the window size to display this forex indicator (window display always normalized to the largest value of time window).

  Delay (value in seconds) - Ignored if passed between the Close time greater than or equal Delay (value histogram = 0, time value curve is not displayed until the emergence of non-zero histogram (DRAW_SECTION)).

Forex indicators

Download Forex Indicator Time Jerk


Indicator Momemtum In Time

This forex indicator shows the price movement relative to a chosen time point (zero line). As a reference point used the opening price of the day.  Well, it is clear that using this forex indicator should be on the ТF at least 4 hours.
The indicator used by the strategy of the book by Larry Williams' "Long-Term Secrets Short-Term Trading.

Range - it's all the distance traveled by an asset during the day, week, month, year - maybe even one minute. Think of the range as the distance traversed at any price you have studied time period.
For small bands, followed by big bands, big bands, followed by a small range.  It's like clockwork and its main key to profitable short-term trading.
Do not need no fortune teller, to inflate the existing facts or pull their ears.  What is - that is, always was and always will be - we constantly receive sig nal of the lucrative bars with different large range, thanks to earlier warnings from the small ranges.
An absolute truism on days with a large range: the days verhnenapravlennyh large ranges usually open close to the minimum and close close to the maximum.  Days large open ranges close to the maximum of the day and closed down close to the minimum.
  This means: in their trade, you should take into account two things.  First - if we go up "on board" the day when, as we think will be a big range, it is not looking for a point of purchase is far below the opening.  Days of big bands rarely verhnenapravlennyh protorgovyvayutsya far below the opening price of the day.  This means: you do not have to look for the possibility of buying substantially below the opening price.
Likewise, if you think you have caught a tiger by the tail - but just such an opportunity is given the day with a large range - at that time, as the price falls significantly below the opening, the probability of a large upward movement is greatly reduced.
This is a very important point in studying the secrets to profitable short term trade.  Do not discard it.
  1. Do not try to buy during large price fall below the opening.
  2. If the position is long (long) and the price falls significantly below the opening, go to the market.
  3. Do not try to sell in large jumps above the opening price.
  4. If the position is short  and the prices go much higher than the opening, go to the market.
Sometimes you'll see the days with a large range, strolling on both sides of the opening price, but this is the exception, not the rule.
" Do not try to argue with these rules, they reflect the laws of gravity. "

Larry Williams

Forex indicators

Download forex indicator Momemtum In Time

Indicator Fractial Period

This forex indicator does not differ across the fields of parameters, the smoothing method and the types of prices from the standard iMa , but allows the use of fractional period and shift.
double iCustom ( 
string symbol, //  string symbol, / / character name tool (NULL-current)
int timeframe, //  time-frame (0 - current)
"iFMA" , //  name of this indicator
 double period, / / period MA; m.b.drobnym (> 1) and in the form of ratio-ta (<1)
 double ma_shift, / / shift MA;  fractional (0)
int ma_method, / / method of averaging:
// 0 - SMA (simple)
// 1-  EMA (exponential)
// 2 - SSMA (smoothed)
// 3 - LWMA (linearly-weighted)
int applied_price, //  type of smoothed data:
// 0 - Close, 1 - Open, 2 - High, 3 - Low,
// 4 - Middle = (High + Low) / 2 (medium)
// 5 - Typical = (High + Low + Close) / 3 (typical)
// 6 - Weighted = High + Low +2 * Close) / 4 (weighted)
// 7-  Volume (volume)
0 , //  mode - buffer number indicator (0)
 int shift / / shift
   ) ) 
It features a field type and period ma_shift (double instead of int) and added a modifier for the field applied_price - 7 (volume).
In addition, the added possibility rather than the period entered the coefficient (> 0 ... <1), which allows fully matched to EMA .  For example, initially MACD on DiNapoli use coefficients for the fast and slow EMA , which very roughly translated to periods in MT due to their integer.  Options MACD DiNapoli: fast EMA - ratio.  0,213 - the period of 8.39, slow - 0.108 - 17.52, whereas in the MT are given by periods of 8 and 17, respectively.
If we introduce the coefficient of the other averaging method, it will be counted in the period.  And since the period may be in this forex indicator nonintegral, then the MA will be calculated based adequately in any case - or a non-integral period obtained from the conversion.  So it is absolutely unimportant, you enter in the field MAperiod, say, a factor of 0.1 or a period of 19 - the same result.
The picture shows the SSMA (3) - red, SSMA (3.6) - Green, SSMA (2.33) - blue.
Forex indicators

  Note that for SSMA (3) instead of period 3 introduced a coefficient of 0.5, which was successfully converted into the period and displayed in the window of data.  This, of course, taken as an example of the use of factors other than those types of EMA MA. Можно (и логичней) для SSMA было ввести 3 с тем же результатом. You can (and logical) for the SSMA to be introduced in March with the same result.
By the way, SSMA - smoothed moving average (on another are called "smoothing Wilder" - Wilder's smoothing) absolutely painlessly may be replaced by ordinary EMA, which is calculated as the period 2 * Period SSMA -1.  That is, SSMA (12) will be exactly the same as the EMA (23) at a sufficient history (> 4 periods).

Download forex indicator Fractial Period


Indicator Cynthia Case

This forex indicator is stochastics , built on the basis of "psewdoweek" bars.
In general terms, the trading system Cynthia Case can be read here

Indikatry forex
 Download forex indicator Cynthia Case


Indicator AsimmetricStohNR

It is assumed that readers know the parts of a normal stochastic . By using the TS will also be worthwhile to read the article by M. Korolyuk (Moishe) Tortoise - it sounds proud .
In the fields of parameters in asymmetric Stochastics only three differences from the standard:
K period now consists of two - younger KperiodShort (short) and senior KperiodLong (long).  Another added option oversold level (PP) OverSold, which calculates the level of overbought (PC). Enter stochastics in the zone PC / PP switches Kperiod'y - the length of the search of maxima / minima.  The third difference - the threshold of sensitivity - a parameter Sens.
The logic works s:
If stochastics dropped into a zone of PP, then search for the minima occur for younger Kperiod (KperiodShort) bars, while the maximum - for the senior (KperiodLong).  When entering a zone PC - mirror - minima are searched for a longer interval, maximum - in short.
Interpretation / use (and do not necessarily consciously))).  Sunset stochastics in the area of PC / PP means switching trend in direction.  But! Switching the trend is not meant opening a position in his direction in the general case.  Enter is on the correction, which can be identified by crossing / touching the line of 50%.  If roughly follow the "Turtle" - pose pursued, with the correction. При переключении тренда происходит или полное закрытие позы, или ее сокращение. When switching trend occurs or complete closure of the position or its reduction. In the latter case, a complete closure is already on the correction with simultaneous opening of the opposite.  Stop-loses are set by the previous (opposite) peak with reasonable indentation.  However, their activation in the working mode is unlikely.  Stops here to force majeure.
Н But it's all so - from the bulldozer. Tactics do not impose.
In the first pane - asymmetry stochastics in the second - normal.
Forex indicators

Call of the codes, the input parameters and destination buffers:
iCustom( iCustom ( 
    NULL,0,"AsimmetricStochNR",  //  at the current time frame and tool 
    KperiodShort,              //  Junior (short)% K 
    KperiodLong,               //  Senior (long)% K 
    Dperiod,                   // %D signaling Dperiod, 
    Slowing,                   // slow Slowing,  
    Dmethod,                   //  MA type of signal: 0-SMA, a-EMA 
    PriceField,                //  type of price: 0-High/Low; 1-Close/Close 
    Sens,                      //  sensitivity in paras. 
    OverSold,                  //  level of PP in%% 
    N,                         //  buffers: 0 - main, 1 - signal 2 - Trend 
    i                          //  shift  i   

Download forex indicator AsimmetricStohNR


Indicator Magic_vision

This forex indicator allows us to observe the values of stochastics , absolute and relative rates of MA , as well as the acceleration MA on all time frames simultaneously.

Forex indicators

Download forex indicator Magic_vision

Indicator Three Indian

This forex indicator determines the pattern of three "Indian" based on the vertices Zigzag .
  Description of "Three Indian" is not going to make - easy to find on the Internet.
Just recall that the system is very critical to the overall situation in the market. By itself, the pattern in isolation from the market situation is not a signal to trade.
There are two main methods:
Trade with the trend - less risky method of when the pattern is crowned by the end of a correction of an already established trend, and gives the signal for its continuation:

Trading in turn, more risky method, which assumes a global reversal in this case the wave pattern should be more significant in size relative to the trend or its last wave:


Early and mid-lines are located on the 1 st and 2 nd alleged Indian respectively.
extern int ExtDepth = 10; / / setting zigzag
extern int ExtDeviation = 5;
extern int ExtBackstep = 3;
extern double K_MinWave = 0.6; / / minimum size of the wave of the 1 st Injun in relation to the wave of the 2 nd to filter out the small waves
extern int Depth = 3; / / / depth prospecting 1 Injun, taking into account the filter, but no more than 10!

and on the history, color and thickness of the lines ...
Forex indicators

Download forex indicator "Three Indian"

Fan trade indicator

Forex indicator is based on trading strategies described here

Forex indicators
В нем пока всего две величины: раскрытие веера (желтая гистограмма) и направление движения цены. It still only two values: the disclosure of the fan (yellow histogram) and the direction of price movement.
The indicator used only 5 variables, instead of dozens, the situation described, but in order to see the turn of the fan is enough.
period_h - the length of averaging each of the 5 MA :
  • period_1 = 1; period_1 = 1;
  • period_2 = 50; period_2 = 50;
  • period_3 = 100; period_3 = 100;
  • period_4 = 150; period_4 = 150;
  • period_5 = 200; period_5 = 200;
For the analysis can be set any timeframe in minutes (60,240,1440 ...).
TF = 0; If set to 0 - is the current timeframe.
Download himself indicator: BEEP_v1.0.mq4
To visualize the MA on the price chart you can use the indicator of the links above or download BEEP_MA_v1.0.mq4