I'm wondering if there is a way to get an input from and external file as I get with ADE or EL collections but not on every tick of the chart but only once the workspace is open.
For example execute a functions A or B if the file exist, but only at the open of the workspace and NOT on every tick coming.
I already get this but on every tick and this way the calculation of the indicator is too long because of the loop of the function on every tick. I just need it once every time I open the Workspace with that indicator.
Is there a way to make a calculation only once [SOLVED]
- CrazyNasdaq
- Posts: 318
- Joined: 02 Sep 2009
- Location: ITALY
- Has thanked: 97 times
- Been thanked: 86 times
- TJ
- Posts: 7740
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2221 times
Re: Is there a way to make a calculation only once [SOLVED]
Look up the keyword:I'm wondering if there is a way to get an input from and external file as I get with ADE or EL collections but not on every tick of the chart but only once the workspace is open.
For example execute a functions A or B if the file exist, but only at the open of the workspace and NOT on every tick coming.
I already get this but on every tick and this way the calculation of the indicator is too long because of the loop of the function on every tick. I just need it once every time I open the Workspace with that indicator.
ONCE