NexusFi: Find Your Edge


Home Menu

 





Driving Crazy please help: MUltichart .bar closing event at every tick


Discussion in MultiCharts

Updated
    1. trending_up 3,570 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
fede72bari
Turin Italy
 
Posts: 10 since Mar 2021
Thanks Given: 3
Thanks Received: 0

I am developing a signal. When I run it, it seems that for historical data calcultaion calcBar is called at every thick AND every tick is classified as a close bar event. This is the code

Output.WriteLine("{0} CALC BAR STATUS, = {1}", localDate, Bars.Status);

if(Bars.CurrentBar > VWAPlenght && Bars.Status == EBarState.Close){
Output.WriteLine("{0} INSIDE IF", localDate);

[...]

}
the output is something like this:
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CROSS DETECETD = VWAP_cross_over_lower_STDDV
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CROSS DETECETD = VWAP_cross_over_long_AVG
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
so at each second, it detects for historical data hundreds of close bar events. The timeframe of the bars is 1 minute. There should be just one closing event at each minute. For the real time data there is no problem. Any idea? I am driving crasy. Thanks


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
US Prop Firms Race Inside the CFTC Perimeter -- Tradeify …
Funded Trading Evaluation Firms
May 26 Deadline Dies at 7.5% as US Strikes Iran During C …
Prediction Markets & Event Contracts
Bookmap Global Plus Lifetime + Lifetime Addons For Sale
Platforms and Indicators
Post-Summit Market Verdict: ES -1%, NQ -1.5%, 10-Year Yi …
Traders Hideout
Hormuz Completely Closed: US Strikes Day 2, Iran Shoots …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
16 thanks
Darmok and Jalad at Tanagra
3 thanks
CME Expands 24/7 Trading to WTI Crude Oil and Gold -- We …
1 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #2 (permalink)
artisanpro
montreal, qc, canada
 
Posts: 28 since May 2021
Thanks Given: 28
Thanks Received: 18

I use MCx64 and I don't recognize the code so I assume that you are using MC.net. I suggest that you highlight this fact with the hope that someone knowing MC.net will notice.


Reply With Quote
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643


fede72bari,

if "localDate" is not referencing the bar timestamp, but as the variable name suggest a local/computer datetime your results are to be expected on historical bars.

Based on the prints that you posted, how did you arrive at the conclusion that these are multiple closing events for the same bar and that the code is called on every tick and not just multiple historical bars processed at the same local time?

Adding either the bar number or the timestamp of the bar should provide additional information and clarification about what the code computes.

Regards,

ABCTG


fede72bari View Post
I am developing a signal. When I run it, it seems that for historical data calcultaion calcBar is called at every thick AND every tick is classified as a close bar event. This is the code

Output.WriteLine("{0} CALC BAR STATUS, = {1}", localDate, Bars.Status);

if(Bars.CurrentBar > VWAPlenght && Bars.Status == EBarState.Close){
Output.WriteLine("{0} INSIDE IF", localDate);

[...]

}
the output is something like this:
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CROSS DETECETD = VWAP_cross_over_lower_STDDV
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CROSS DETECETD = VWAP_cross_over_long_AVG
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
14/06/2021 20:26:23 INSIDE IF
14/06/2021 20:26:23 CALC BAR STATUS, = Close
so at each second, it detects for historical data hundreds of close bar events. The timeframe of the bars is 1 minute. There should be just one closing event at each minute. For the real time data there is no problem. Any idea? I am driving crasy. Thanks


Follow me on X Reply With Quote
Thanked by:
  #4 (permalink)
fede72bari
Turin Italy
 
Posts: 10 since Mar 2021
Thanks Given: 3
Thanks Received: 0

Great answer, thanks!


Reply With Quote




Last Updated on June 23, 2021


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts