Code: Select all
public class TChannel : SignalObject
{
public TChannel(object _ctx) :
base(_ctx)
{
min_width = 40; // Default setting for Max_width
max_width = 80; // Default setting for Max_width
max_range = 25; // Default setting for Max_range
min_angle = 1; // Default min angle (90 = ATR * 10)
max_bars = 40; // Default setting for max_bars
atr_bars = 20; // Default atr bars
stop_loss = 6; // Default setting for Stop_loss
stop_loss_max = 25; // Default setting for Stop_loss_max
license_key = "08fd7ab3b4"; // Default license key #threefold
dir_entry = 1; // Default dir (long=1, short=0, both=2
}
// ******** Inputs ********
//
#region Properties
// [Description("Min channel width")]
[Input]
public int min_width{ get; set; }
// [Description("Max channel width")]
[Input]
public int max_width{ get; set; }
// [Description("Max opposite edge delta")]
[Input]
public int max_range{ get; set; }