Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (MadJack, AndrewAMD, Quad), 540 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Efficiency on exit position [Re: tradingest] #474863
11/09/18 19:38
11/09/18 19:38
Joined: Feb 2017
Posts: 369
D
Dalla Offline
Senior Member
Dalla  Offline
Senior Member
D

Joined: Feb 2017
Posts: 369
When I think about it, you should be able to do what you want using TakeProfit, without a tmf.
Check here http://www.zorro-trader.com/manual/en/barperiod.htm

Re: Efficiency on exit position [Re: Dalla] #474864
11/09/18 20:51
11/09/18 20:51
Joined: Feb 2018
Posts: 236
Italy
tradingest Offline OP
Member
tradingest  Offline OP
Member

Joined: Feb 2018
Posts: 236
Italy
Hi Dalla,

but I want use BarPeriod = 1 but exit when the condition is verified.
Can you help me?

Re: Efficiency on exit position [Re: tradingest] #474872
11/10/18 08:04
11/10/18 08:04
Joined: Feb 2017
Posts: 369
D
Dalla Offline
Senior Member
Dalla  Offline
Senior Member
D

Joined: Feb 2017
Posts: 369
TakeProfit is evaluated on every tick

Re: Efficiency on exit position [Re: Dalla] #474873
11/10/18 08:50
11/10/18 08:50
Joined: Feb 2018
Posts: 236
Italy
tradingest Offline OP
Member
tradingest  Offline OP
Member

Joined: Feb 2018
Posts: 236
Italy
Originally Posted By: Dalla
TakeProfit is evaluated on every tick


Under function tick() otherwise doesn't work for each tick under funcion run() 1 min

Re: Efficiency on exit position [Re: tradingest] #474879
11/11/18 04:20
11/11/18 04:20
Joined: Feb 2017
Posts: 369
D
Dalla Offline
Senior Member
Dalla  Offline
Senior Member
D

Joined: Feb 2017
Posts: 369
Pretty sure it works under the run() function as well, given that you set the TICKS flag as mentioned earlier in this thread

Re: Efficiency on exit position [Re: Dalla] #474881
11/11/18 10:49
11/11/18 10:49
Joined: Feb 2018
Posts: 236
Italy
tradingest Offline OP
Member
tradingest  Offline OP
Member

Joined: Feb 2018
Posts: 236
Italy
I'm testing il live and like you said doesn't works.
It works well under function tick()

Last edited by tradingest; 11/11/18 10:49.
Re: Efficiency on exit position [Re: tradingest] #474910
11/12/18 15:41
11/12/18 15:41
Joined: Feb 2017
Posts: 369
D
Dalla Offline
Senior Member
Dalla  Offline
Senior Member
D

Joined: Feb 2017
Posts: 369
You should probably put it in a TMF then.

Page 2 of 2 1 2

Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1