Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 13:24:27 +0000



Post From: Adaptive CCI

[2016-11-07 22:20:27]
User222821 - Posts: 21
hi is it possible to add it as a acsil similar to sc.AdaptiveMovAvg(sc.BaseDataIn[SC_LAST], sc.Subgraph[0], 20, 2.0f, 30.0f); like sc.AdaptiveCCI.(.....)
i have tried to program trading system with adaptive cci from cpp file from your sites and the structure of the program doe not allow me to ad sc. buy entry within the program.
the
begin of it start right after

#include "sierrachart.h"
double mycci(SCFloatArrayRef In, int pos, int ccilength, float ccifactor);
int ckpos2( int pos2, int size, int reference);
float myhomodyne(const float *Price, int pos, float *Array, float *SmoothPeriod);

then it is defined out of the structure

};
float myhomodyne(const float *Price, int pos, float *Array, float *SmoothPeriod)
{

is "out" of the program and i am not able to find how to continue with additional functions within it.
can you give me a tip how to put it in to the structure to continue with trading system?
thanks