Overview: Work with library dll
To work with library dll it is necessary
- To define input values of an indicator, a signal or any another study, one has to add the following lines in the beginning of the indicator or signal code:
| EasyLanguage: | Inputs: Price(Close) { a price series }, Scales(8) { number of scales }, NSigma(2) { threshold value for signal / noise };
|
- To define functions dll,
| EasyLanguage: | defineDLLFunc: "tswvl.DLL", FLOAT, "RUNWVL",LPFLOAT,int,float; defineDLLFunc: "tswvl.DLL", FLOAT, "GETALLVALUES",int,int;
|
- To define the input file of a given lengths

| EasyLanguage: | vars: lookback(0), count(0); Array: ArrayPrice[511](0); lookback = power(2, Scales); for count = 0 to lookback-1 begin ArrayPrice[count] = Price[count]; end;
|
- To initialize wavelet transformation:
| EasyLanguage: | Value1 = RUNWVL(&ArrayPrice[0],Scales, NSigma);
|
- To receive output values:
| EasyLanguage: | Value2 = GetAllValues(1,Count);
|
- To produce required operations with the received values.
|