Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

francesco.vigna

Members
  • Content Count

    2
  • Joined

  • Last visited

Posts posted by francesco.vigna


  1. I'm using TradeStation.

    To count the number of bars in the last 24h (i'm working on tick and renko charts) i've also tried to use:

     

    vars:

    bar_count(1);

     

    while (date[bar_count] = date and time[bar_count]<time) or (date[bar_count] < date and time[bar_count] > time)

    begin

    bar_count = bar_count + 1;

    end;

     

    but this code freeze TS.:(

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.