Login Page - Create Account

Support Board


Date/Time: Wed, 15 May 2024 21:40:18 +0000



Post From: moving from signal to trading system - compiling etc.

[2017-03-23 20:56:39]
User61576 - Posts: 418
hi
i am trying for learning purpesses to take JYSD delta divergence signal and turn it to a system.

i read here http://www.sierrachart.com/index.php?page=doc/BuildCustomStudiesDLL.html

when compiling the attached according to the above link i got the following errors:

C:\SierraChart\ACS_Source>call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
Auto_v1_DeltaDivergence_v5.cpp
C:\SierraChart\ACS_Source\Auto_v1_DeltaDivergence_v5.cpp(159): warning C4305: 'argument': truncation from 'double' to 'float'
C:\SierraChart\ACS_Source\Auto_v1_DeltaDivergence_v5.cpp(163): warning C4305: 'argument': truncation from 'double' to 'float'
C:\SierraChart\ACS_Source\Auto_v1_DeltaDivergence_v5.cpp(167): warning C4305: 'argument': truncation from 'double' to 'float'
C:\SierraChart\ACS_Source\Auto_v1_DeltaDivergence_v5.cpp(174): warning C4305: 'argument': truncation from 'double' to 'float'
C:\SierraChart\ACS_Source\Auto_v1_DeltaDivergence_v5.cpp(335): warning C4244: '=': conversion from 'int' to 'float', possible loss of data
Creating library Auto_v1_DeltaDivergence_v5.lib and object Auto_v1_DeltaDivergence_v5.exp
Generating code
Finished generating code
-- End of Build -- 22:13:54

the dll file was generated.

my questions are:
1. are this errors "auto fix" of the compiler?
2. in the directory there were additional files created (lib, exe, obj, txt, bat) - are they needed farther or can i delete them?

thanks
attachmentAuto_v1_DeltaDivergence_v5.cpp - Attached On 2017-03-23 20:38:48 UTC - Size: 12.35 KB - 240 views