Gamestudio Links
Zorro Links
Newest Posts
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (EternallyCurious, AndrewAMD, TipmyPip, Quad), 902 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 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