I have my main form. Form_Main
Creates two instances of two classes.
Candle_Data : TCandle_Data;
Indicator_2700 : TIndicator_2700;
In order for Indicator_2700 to correctly calculate its values, it must have access to the candle data in obect Candle_Data from one of its methods. So how can Indicator_2700 access data inside Candle_Data? Should Form_Main pass it as an argument during constructor?
Both class declarations are in their own unit file.
source
share