Codes

Disparity Index for MetaTrader 4

Disparity Index indicator is a percentage display of the latest close to a chosen moving average. For more in depth interpretation of the Disparity Index refer to Steve Nison's book "Beyond Candlesticks"

Stoller Average Range Channels for MetaTrader 4

This code is simple variation of Bollinger Bands code which comes with Metatrader4, if we change Standard Deviation by ATR we have StarcBands

Forum

Market Watch VS Chart

Hi. Seems to be strange but in several platforms with several brokers I noted the price on charts (bid line) are not equal to the price in Market Watch window (bid price). IE1 USDCHF Chart 1.2215 Market Watch 1.2214 IE2 GBPUSD Chart 1.9302 Market Watch 1.9301 I´m using last version (build 202). And

Weekly Pivots

Hello. In the online database are some pivots indicators, and some of them let you set to use local time (or GMT correction) instead broker time. But there is no one one to calculate weekly pivots. There are some indicators code in another forums. I´d take some code, added some deleted some etc. And

Level Description

Hello. I can´t find the variable (if there is one) to define level description as we can do in the levels tab. Let´say we define a level as 50, no matter if you´re using properties or setlevelvalue. The only way seems to be writing the description in the levels tab, every time you plot the

FishStoch

We have a few indicators based on John Ehlers works that why I ´m working on a compilation. This is the original code of Fisher Stochastic. it was made by Luis Guilherme Damiani. Have some troubles with arrays or custom function, but not big deal. I´m working on a fixed version. But the main problem

indicator_level vs SetLevelValue

Hello. I´m just curious. Both functions seems to have the same purpose. Both show the level on levels tab, etc. #property indicator_level1 30 or SetLevelValue (0, 30); Is there any difference and/or reference about when one´s must be used and when the other? There is no difference in what you

Indicator Negative Shift

Hi. It´s possible to shift a iMA with negative values but using the iMA function? The standard MA of MT let you shift into negative. Setting SMA 20, shift -10 you obtain a 20 MA delayed by 10 days. But apply this to iMA seems to no work . According with the sets I suppose the code should be

Momentum of a MA

I´ve modified the standard momentum indicator to plot some MA of the value. { MomBuffer [ i ] = Close [ i ] * 100 / Close [ i + MomPeriod ] ; i --; } for ( i = 0 ; i < limit - 1 ; i ++ ) EMA_buffer [ i ] = iMAOnArray ( MomBuffer , Bars , Smooth , 0 , MODE_SMA , i ) ; Now I´m looking to do the

Maximum Indicators

Hello. In one articles it´s described the maximun numbers of indicators allowed in the folder is 100. In another post this numbers is set to 250. In another forum the number to watch is the size of the folder. In another forum the number is set to 400. My personal experience says 400 indicators are

Suggestion: 123 Channel Tool

It could be possible in future versions, to draw a channel in the same way as Fibonacci extension. To draw a channel always (often) you look for two lows or two highs. And then if you have choosed two lows, move the upper lines to desired width, looking for match with some high point. Drawing a 123

Percent levels

Hi again. Maybe this is a simple question for too many but for me that I´m doing mi first steps into programming it´s a little hard. I´m looking the way for make the levels for the indicator attached indicator which is not restricted in a range (0 to 100 like rsi) looks like CCI levels. With CCI