I am using an indicator that contains the following piece of code The following refers to the close of the Japanese Market at 3:30pm tokyo time. I intend to reference the close of the most recent completed bar. However as the clock ticks over midnight, it changes to the most current bar.
How can I write the code so it keeps referencing the most recent COMPLETED daily close?
Thanks
PHP Code:
TCL = (close(0,sym("TCL 6!-TCM")) - close(0,sym("TCL 6!-TCM,D"))) ;
Thanks
Comment