How use iMAOnArray
Created at 23 Aug 2023, 07:33
How use iMAOnArray
23 Aug 2023, 07:33
Hello
i try use iMAOnArray in Calgo
this sample of code
double Ld_FF14[];
ArrayResize(Ld_FF14, (Ii_0080 - 1), 0);
ArrayCopy(Ld_FF14, dataArray, 0, 1, (Ii_0080 - 1));
ArrayResize(Ld_FF14, Ii_0080, 0);
retryCounter = Ii_0080 - 1;
Ld_FF14[retryCounter] = NormalizeDouble((Ask - Bid), decimalPlaces);
ArrayCopy(dataArray, Ld_FF14, 0, 0, 0);
calculatedResult = iMAOnArray(dataArray, Ii_0080, Ii_0080, 0, 3, 0);
takeProfitLevel = calculatedResult;
trailingStopValue = (partialCloseCounter * tradeMargin);
initialTradeSize = (calculatedResult + adaptiveTradeFactor);
what alternative iMAOnArray in calgo ?
thank you