Hello,
I wonder if is there any way to distinguish between "historical" versus "real time" bars from within a study or function. I have a function for logging trades in a file, but I want to do it only in real time not for the historical bars.
In another plattforms there is something like if (historical) bla bla. Is there something similar in Multicharts?
Un saludo,
Pablo
Distinguing historical bars [SOLVED]
- TJ
- Posts: 7742
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: Distinguing historical bars
Look up LASTBARONCHARTHello,
I wonder if is there any way to distinguish between "historical" versus "real time" bars from within a study or function. I have a function for logging trades in a file, but I want to do it only in real time not for the historical bars.
In another plattforms there is something like if (historical) bla bla. Is there something similar in Multicharts?
Un saludo,
Pablo
EasyLanguage Functions & Reserved Words Reference
https://www.multicharts.com/multicharts ... mentation/
- JoshM
- Posts: 2195
- Joined: 20 May 2011
- Location: The Netherlands
- Has thanked: 1544 times
- Been thanked: 1565 times
- Contact:
Re: Distinguing historical bars [SOLVED]
What TJ said, and also see the GetAppInfo reserved word (i.e., GetAppInfo(aiRealTimeCalc)).I wonder if is there any way to distinguish between "historical" versus "real time" bars from within a study or function. I have a function for logging trades in a file, but I want to do it only in real time not for the historical bars.
In another plattforms there is something like if (historical) bla bla. Is there something similar in Multicharts?