[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Code for Checking the Data Reception?



PureBytes Links

Trading Reference Links


Hi all,

I've created a ShowMe which plots a cross when there has been a problem of
reception of Data.
It compares the Date and the Time between the last Bar and One Bar ago:

Condition1 = Date =Date[1] and TimeToMinutes(Time)
>TimeToMinutes(Time[1])+BarInterval;

It works fine to check historical data.

But now, I also added an alert in order to prevent from a  reception problem
in realtime when I'm not stuck to my computer.
The problem is that it works only when the recovery happens because the last
Bar exists only when..... it has just been completed!


Does anyone have an idea?

Greetings from Paris,
Philippe
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

philippe_lhermie@xxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx