Stampare solo per la giornata odierna

Forums ProRealTime forum Italiano Supporto ProBuilder Stampare solo per la giornata odierna

  • This topic has 3 replies, 2 voices, and was last updated 5 days ago by avatarIván.
Viewing 4 posts - 1 through 4 (of 4 total)
  • #245204

    Salve chiedo aiuto per una modifica al codice. Quando la condizione ShowpastFibo = 0 dovrebbe disegnare le linee solo per la giornata odierna (es. future Stoxx , TF 30 muniti).

    Grazie

    #245214

     

    1 user thanked author for this post.
    #245222

    Con ShowpastFibo = 1  hh e ll sono corretti mentre con ShowpastFibo = 0  hh e ll sono errati. Non capisco perchè.

    Mentre:

    elsif ShowpastFibo = 0 and islastbarupdate THEN
    DrawRectangle(Bar1,hh,barindex,ll) coloured(255,0,0,25) bordercolor(41,98,255,0) style(Line,2)
    drawsegment(bar1,hh,barindex,hh)coloured(“red”)style(line,1)
    barindex va sostituito con Bar2
    Grazie
    #245242

    Perfetto, ora sì. Il problema era che hh e ll venivano ricalcolati sempre, mentre vogliamo che lo facciano solo tra time1 e time2.

    1 user thanked author for this post.
Viewing 4 posts - 1 through 4 (of 4 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login