Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (TipmyPip, AndrewAMD, Quad, aliswee, degenerate_762), 970 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 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