Support Board
Date/Time: Mon, 17 Mar 2025 01:10:27 +0000
Post From: Request for New flex MACD
[2022-08-27 02:32:19] |
ertrader - Posts: 682 |
Is there an updated version? This gives a few errors when compiling. FlexMACD.cpp: In function 'c_ArrayWrapper<float>& MovingAvg(SCStudyInterfaceRef, SCFloatArrayRef, SCFloatArrayRef, unsigned int, int, int)': FlexMACD.cpp:80:59: error: no matching function for call to 's_sc::SmoothedMovingAverage(c_ArrayWrapper<float>&, c_ArrayWrapper<float>&, int&, int&, int)' 80 | return sc.SmoothedMovingAverage(In, Out, Index, Length,0); | ^ In file included from FlexMACD.cpp:2: sierrachart.h:544:18: note: candidate: 'c_ArrayWrapper<float>& s_sc::SmoothedMovingAverage(SCFloatArrayRef, SCFloatArrayRef, int, int)' 544 | SCFloatArrayRef SmoothedMovingAverage(SCFloatArrayRef In, SCFloatArrayRef Out, int Index, int Length) | ^~~~~~~~~~~~~~~~~~~~~ sierrachart.h:544:18: note: candidate expects 4 arguments, 5 provided sierrachart.h:548:18: note: candidate: 'c_ArrayWrapper<float>& s_sc::SmoothedMovingAverage(SCFloatArrayRef, SCFloatArrayRef, int)' 548 | SCFloatArrayRef SmoothedMovingAverage(SCFloatArrayRef In, SCFloatArrayRef Out, int Length) | ^~~~~~~~~~~~~~~~~~~~~ sierrachart.h:548:18: note: candidate expects 3 arguments, 5 provided Date Time Of Last Edit: 2022-08-27 02:33:06
|