Trying to learn the NTScripting : starting small, swapping out the SMA from BOP and inserting T3 smoother, and it wont compile and I cant understand the ':' error ... the code is here with the error area commented with //ERROR
Can someone suggest the correct fix please?
TIA !!
TJ
bop = new DataSeries(this);
Overlay = false;
PriceTypeSupported = false;
}
///<summary>
/// Called on each bar update event (incoming tick)
///</summary>
protectedoverridevoid OnBarUpdate()
{
if ((High[0] - Low[0]) == 0)
{
bop.Set(0);
}
else
{
bop.Set((Close[0] - Open[0]) / (High[0] - Low[0]));
}
Value.Set(T3 (0.618, 13))(bop, smooth)[0]);//ERROR !!
}
#region Properties
///<summary>
///</summary>
[Description("Periods to use for T3 smoothing of the indicator.")]
[Category("Parameters")]
Comment