Description
WyckoffFIR indicator show instrument sentiment for bullish (above zero) and for bullish (bellow zero)
the FIR (Finite Impulse Response Filter) indicator you can download from here
using System;
using cAlgo.API;
using cAlgo.API.Collections;
using cAlgo.API.Indicators;
using cAlgo.API.Internals;
namespace cAlgo
{
[Levels(0)]
[Indicator(IsOverlay = false, AutoRescale = false, AccessRights = AccessRights.None)]
public class mWyckoffFIR : Indicator
{
[Output("Wyckoff-FIR", IsHistogram = false, LineColor = "Black", PlotType = PlotType.Line, LineStyle = LineStyle.Solid, Thickness = 1)]
public IndicatorDataSeries outWyckoffFIR { get; set; }
private IndicatorDataSeries _firc, _fircc, _wfir;
protected override void Initialize()
{
_firc = CreateDataSeries();
_fircc = CreateDataSeries();
_wfir = CreateDataSeries();
}
public override void Calculate(int i)
{
_firc[i] = i>3 ? (Bars.ClosePrices[i] + 2.0 * Bars.ClosePrices[i-1] + 2.0 * Bars.ClosePrices[i-2] + Bars.ClosePrices[i-3]) / 6.0 : Bars.ClosePrices[i];
_fircc[i] = i>3 ? (_firc[i] + 2.0 * _firc[i-1] + 2.0 * _firc[i-2] + _firc[i-3]) / 6.0 : _firc[i];
_wfir[i] = _firc[i] - _fircc[i];
outWyckoffFIR[i] = _wfir[i] / Symbol.TickSize;
}
}
}
mfejza
Joined on 25.01.2022
- Distribution: Free
- Language: C#
- Trading platform: cTrader Automate
- File name: mWyckoffFIR.algo
- Rating: 5
- Installs: 757
- Modified: 20/02/2023 11:22
Note that publishing copyrighted material is strictly prohibited. If you believe there is copyrighted material in this section, please use the Copyright Infringement Notification form to submit a claim.
Comments
Log in to add a comment.
RK
seattle average temperature by month Are you looking for reliable, up-to-date climate data to make crucial decisions Look no further than climate stations! Our comprehensive set of climate data gives you detailed information on Seattle average temperature by month, Portland rainfall totals 2021 and more. Put your trust in the most accurate data available and see the results for yourself. Get access to the insights you need to make informed decisions with the help of Climate Stations!
Sorry, but his has very little to do with Wyckoff's theory. I'm working on the Wyckoff indicator so if you're interested in developing a real one get in touch with me zenchimp@yahoo.com