can a strategy working on both tick and candle level?

Moderator: admin

can a strategy working on both tick and candle level?

Postby csshine » Mon Jan 07, 2019 11:17 pm

Hi, Dear
As I know, If I do not import helper.lua, the strategy is working on tick level. If import helper.lua, the strategy is working on candle level.
But I want a strategy check open order on tick level and close order on candle level. Is it possible the implement this idea?
Thank you for help!
csshine
 
Posts: 12
Joined: Wed Nov 28, 2018 6:16 am

Re: can a strategy working on both tick and candle level?

Postby Apprentice » Fri Jan 11, 2019 8:37 am

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


Return to Indicator Development

Who is online

Users browsing this forum: Google [Bot] and 2 guests