I am starting a port of a complex autotrading strategy from TS Easylanguage to MC Powerlanguage. I have come across many differences in the first compile. I will list the differences and I would welcome any guidance. The working system can be seen here:
I am going to list all the issues I have come across so far and I welcome suggestions:
I have listed all the issues from the first compile and I would be grateful for any guidance.
constants - not supported, use vars
Code: Select all
constant: int max_cnt (70) ;
Code: Select all
const: int max_cnt (70) ;
array: int tstop [max_cnt] (0);
Code: Select all
Using elsystem;
Using elsystem.windows.forms;
Using charting;
using elsystem.io;
Using elsystem.drawing;
Using strategy;
PL has no objects, but I just want a windows box to send messages to.
Code: Select all
vars:
Form frmTM( Null ),
Font myfontTM (null),
ListView MEJTTM( Null );
Code: Select all
StreamReader reader(NULL),
Streamwriter writer(NULL),
Code: Select all
ChartingHost ChartingHost1( NULL );
Code: Select all
Method void stat ( int res_pt )
Code: Select all
setexitonclose
I am sure there will be loads more, thanks for your input.