PureBytes Links
Trading Reference Links
|
Try using TimeNum() to calculate the time interval... hence you know
if you have eSignal od EOD. Look up TimeNum() in AFL functions
Ara
--- In amibroker@xxxx, "Richard Alford" <richard.alford@xxxx> wrote:
> I am running esignal during the day and qp2 for historical data
(before 2-days ago it appears.) I would like to have an indicator
which determines in psuedo code:
>
> if esignal
> then sym = "dia"
> else
> then sym = "!dji"
>
> plot(foreign(sym), etc...
>
> Basically because I cannot get the systems to "merge" the symbols
used, i.e. $SPX on esig and !SPY on qp2, or worse, $INDU in eSig and !
DJI qp2, I am trying to switch to the tracking stock during the day.
>
> Any suggestions?
>
> Thanks,
>
> Richard
>
> p.s. best solution would have a mapping table (regular expression
syntax?) for mapping data providers....
|