Category Other  Published on 27/12/2013

Temporary Fair Value

Description

Where is the herd of Bulls and Bears within the candle? A candle does not show where most of the activity has been during the candle's timeframe. TFV does.

TFV shows with 2 dots where the Ask Herd has crowded the candle, and where the Bid Herd flocked. As the Bid price is the heart of the candle, this  is the most important one. TFV shows the core of each candle: the Fair Price.

Parameters are:

  • Exponential – if set to 1, every tick weighs equal, if set to 2 (or higher), the most recent tick weighs double (or more), to emphasize the most recent price positions.
  • Candle Heart – the center of Bid price activity.
  • Candle Spread – the center of Ask price activity.

Useability

  1. It can be used by robots that act OnTick, to avoid unwanted actions on a single and non-signifcant spike.
  2. Indicator for Temporary Fair Value.
  3. Straight or near straight TFV-lines reveal support and resistance lines.
  4. More reliable indicator for a swing high or swing low.

Version 1.0.3 Notes:

  • Corrected and added the calculus for past bars. TFV-values of past bars are based on smallest timeframe (minute), as past ticks are not available yet.

Version 1.0.2 Notes:

  • Changed the name from JeexHerd to TemporaryFairValue
  • Special thanks to: http://www.pinebaycm.com/
  • Added ResultMovement[bar] = double.NaN; to the method oldCows();
  • Changed the parameter _exponential to double

Version 1.0.1 Notes:

  • Changed the calculus of the start of a new candle
  • Removed Dutch language
  • Cleaned up the code

/

jeex's avatar
jeex

Joined on 18.10.2013

  • Distribution: Free
  • Language: C#
  • Trading platform: cTrader Automate
  • File name: Temporary Fair Value.algo
  • Rating: 5
  • Installs: 4326
Comments
Log in to add a comment.
DA
danix · 10 years ago

Is it this?
http://codebase.mql4.com/9211


 

jeex's avatar
jeex · 10 years ago

The MT4 version is ready, for whoever might be interested.

jeex's avatar
jeex · 10 years ago

Updated with fixed calculation of past TFV-values.

jeex's avatar
jeex · 10 years ago

It can only show dots in runtime and not in the past, as the past tick data are not available in cAlgo and cTrader.

I will update the indicator soon, so that in larger time frames it will make a better estimate of the past Temp Fail Value based upon the smallest available time frame.

AS
ashgupta · 10 years ago

It is not working for higher timeframe except 1M. Am i missing something ? I tried to run it for 1H , 15M etc but it shows dots only for the current candle and not historical ones.

BA
Balena · 10 years ago

very cool thanks!