Gamestudio Links
Zorro Links
Newest Posts
Removing outliers from files
by EvanTJ. 11/28/26 18:19
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (AndrewAMD, EvanTJ), 5,165 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 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 | 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