How to get the latest ticks in a bar

Moderator: admin

How to get the latest ticks in a bar

Postby bharanimani » Wed Oct 05, 2016 1:08 pm

Hi,
I am new to fxcodebase. Suppose I subscribed to a 30 min bar. I want to get the latest ticks as they are created. Right now it gives update after 30 min bar is complete. How do i subscribe to the latest ticks as they arrive?
I need the total bar (30 min) data (open, close, high low) at the current time and I need the current tick. Is there a way to do this?

Thanks,
Bharani
bharanimani
 
Posts: 12
Joined: Wed Oct 05, 2016 12:59 pm

Re: How to get the latest ticks in a bar

Postby Apprentice » Wed Oct 12, 2016 2:58 am

Use End of Turn_Live Execution Strategy Template.lua
viewtopic.php?f=28&t=2712
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Indicator Development

Who is online

Users browsing this forum: No registered users and 7 guests