Gamestudio Links
Zorro Links
Newest Posts
Votes for future features
by 7th_zorro
Today at 01:57
Open WMB file
by Superku
Yesterday at 23:37
Stopping and resuming sessions without interrupting trade statis
by jcl
Yesterday at 08:14
Best Devlopment Experience
by j45p41
03/20/19 23:04
Blog Post: Continuous Futures Data in Zorro
by chsmac85
03/20/19 15:59
Error message : Closing Order Quantity
by OptimusPrime
03/20/19 12:49
script can work but no result(Profit and loss)
by jcl
03/20/19 09:12
AUM Magazine
Latest Screens
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Evonet Beta v1.0 : Online Project Development Template
Who's Online
3 registered (AndrewAMD, 7th_zorro, 1 invisible), 658 Guests and 8 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
FrankFred, QuartzLoop, Conchip, danatrader, ilikezorro
18190 Registered Users
Topic Options
Rate This Topic
#474890 - 11/11/18 22:04 Tick yes Tick no
tradingest Offline
Member

Registered: 02/27/18
Posts: 227
Loc: Italy
Hi guys,

I ask a question that could change my life laugh
If I use BarPeriod = 1 or BarPeriod = 60 with set(TICKS) what changes?

I'm using the second case but I have a different results.
Should be the same with set(TICKS) flag?

Thanks for the support

Top
#474891 - 11/11/18 22:50 Re: Tick yes Tick no [Re: tradingest]
AndrewAMD Online
User

Registered: 02/21/17
Posts: 583
Loc: Chicago
run() is invoked once every bar, regardless of the TICKS flag.

Top
#474892 - 11/11/18 22:53 Re: Tick yes Tick no [Re: AndrewAMD]
tradingest Offline
Member

Registered: 02/27/18
Posts: 227
Loc: Italy
Originally Posted By: AndrewAMD
run() is invoked once every bar, regardless of the TICKS flag.


but with set(TICKS) the result are different.
set(TICKS) what modifies?

BarPeriod = 1
BarPeriod = 1 with set(TICKS) --> result different

I expected the same result. Why not?

Top
#474893 - 11/11/18 23:18 Re: Tick yes Tick no [Re: tradingest]
AndrewAMD Online
User

Registered: 02/21/17
Posts: 583
Loc: Chicago
This depends on your script. In TICKS mode, your stop losses get triggered differently, for example.

Top
#474894 - 11/11/18 23:54 Re: Tick yes Tick no [Re: AndrewAMD]
tradingest Offline
Member

Registered: 02/27/18
Posts: 227
Loc: Italy
Originally Posted By: AndrewAMD
This depends on your script. In TICKS mode, your stop losses get triggered differently, for example.


AndrewAMD thanks so mush for this answers.

In TICKS mode what is the trigger? Is it possible to have an example?
When you said ticks mode that means set(TICKS) in fuction run()?

For me understand this is very important.

thanks in advance for the help

Top
#474909 - 11/12/18 16:40 Re: Tick yes Tick no [Re: tradingest]
Dalla Offline
Senior Member

Registered: 02/24/17
Posts: 345
Look in the manual, under TICKS
http://zorro-project.com/manual/en/mode.htm

Top
#474914 - 11/12/18 20:32 Re: Tick yes Tick no [Re: Dalla]
tradingest Offline
Member

Registered: 02/27/18
Posts: 227
Loc: Italy
thanks Dalla,

I read but I don't understand the difference on triggered stop

Top



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

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