hello support,
i would like to integrate the tma_slope indicator in my strategy, but i have problem to define the new object and to print the return value
this a piece of code
double[] tma = (double[]) indicators.calculateIndicator(
feedDescriptor, new OfferSide[]{offerSide},
"10.2 TmaSlope_Norm",
new AppliedPrice[]{appliedPrice},
new Object[]{},
500, bar.getTime(), 0)[0];
print("tma: " + toStr(tma));
could you help me please?
thanks