WEIS free
using
System;
using
cAlgo.API;
using
cAlgo.API.Internals;
using
cAlgo.API.Indicators;
using
cAlgo.Indicators;
namespace
cAlgo
{
[Indicator(IsOverlay =
true
, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
public
class
ClickAlgoIndicator : Indicator
{
[Parameter(DefaultValue = 0.0)]
public
double
Parameter {
get
;
set
; }
[Output(
"Main"
)]
public
IndicatorDataSeries Result {
get
;
set
; }
protected
override
void
Initialize()
{
Print(
"It is not possible to download the software from the cTDN website. Please visit clickalgo.com"
);
ChartObjects.DrawText(
"ShowCopyright"
,
"It is not possible to download the software from the cTDN website. Please visit:- https://clickalgo.com/ctrader-weis-wave-indicator"
, StaticPosition.BottomCenter);
}
public
override
void
Calculate(
int
index)
{
// Calculate value at specified index
// Result[index] = ...
}
}
}
using System; using cAlgo.API; using cAlgo.API.Internals; using cAlgo.API.Indicators; using cAlgo.Indicators; namespace cAlgo { [Indicator(IsOverlay = true, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)] public class ClickAlgoIndicator : Indicator { [Parameter(DefaultValue = 0.0)] public double Parameter { get; set; } [Output("Main")] public IndicatorDataSeries Result { get; set; } protected override void Initialize() { Print("It is not possible to download the software from the cTDN website. Please visit clickalgo.com"); ChartObjects.DrawText("ShowCopyright", "It is not possible to download the software from the cTDN website. Please visit:- https://clickalgo.com/di-volume-activity-and-weis-wave-volume-indicators", StaticPosition.BottomCenter); } public override void Calculate(int index) { // Calculate value at specified index // Result[index] = ... } } }