Init instance of NETIndicator.
SYNTAX
public void InitIndicator (NETIndicator netIndicator,HistoricalData data,object[] arguments)
PARAMETERS
netIndicator — NETIndicator
Indicator instance
data — HistoricalData
data for the calculation of the indicator
arguments — object[]
arguments custom indicator
RETURN
void
EXAMPLE
The following code example shows how to use a custom indicator.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PTLRuntime.NETScript;
using System.Drawing;
using PTLRuntime.NETScript.Indicators;
namespace Indicators
{
public class CustomIndicator : NETStrategy
{
private Indicator indicator;
public override void Init()
{
}
}
}