im using williams vix fix indicator on tradingview, and now i want to built it on my ctrader, pls help me for this error (Error CS1503: Argument 1: cannot convert from 'double' to 'cAlgo.API.DataSeries')
my script here:
using System;
using cAlgo.API;
using cAlgo.API.Internals;
using cAlgo.API.Indicators;
using cAlgo.Indicators;
namespace cAlgo
{
[Indicator(IsOverlay = false, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
public class VIXFIX : Indicator
{
[Parameter("LookBack Period Standard Deviation High", DefaultValue = 22)]
public int pd { get; set; }
[Parameter("Bolinger Band Length", DefaultValue = 20)]
public int bbl { get; set; }
[Parameter("Bollinger Band Standard Devaition Up", DefaultValue = 2.0)]
public double mult { get; set; }
[Parameter("Look Back Period Percentile High", DefaultValue = 50)]
public int lb { get; set; }
vitconlonton468
05 Jan 2021, 19:53
RE:
vitconlonton468 said:
Sorry, i post wrong group.
@vitconlonton468