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