Lesson X - Where to Declare 'Global Variable's?
Posted: Wed Dec 05, 2012 11:04 am
Hi, Just thought that my question would complete the lessons for the future users
the delphi strategy in FT2 has similar structure of that in MT4.
FT2's delphi strategy has generally four parts:
Init, Done, Reset, and 'GetSingleTick',
MT4's strategy has 3 parts: init(), deinit(), and start().
now the question:
Where to declare the variables that are used all through the library? or in other words, where to define/declare the 'global' variables? Should a user define them immediately following the 'external' variables or inside 'GetSingleTick'?
this question would be complement to the Lesson 1's contents.
the delphi strategy in FT2 has similar structure of that in MT4.
FT2's delphi strategy has generally four parts:
Init, Done, Reset, and 'GetSingleTick',
MT4's strategy has 3 parts: init(), deinit(), and start().
now the question:
Where to declare the variables that are used all through the library? or in other words, where to define/declare the 'global' variables? Should a user define them immediately following the 'external' variables or inside 'GetSingleTick'?
this question would be complement to the Lesson 1's contents.