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
3 registered members (AndrewAMD, Nymphodora, Quad), 923 guests, and 5 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
Tick yes Tick no #474890
11/11/18 21:04
11/11/18 21:04
Joined: Feb 2018
Posts: 236
Italy
tradingest Offline OP
Member
tradingest  Offline OP
Member

Joined: Feb 2018
Posts: 236
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

Re: Tick yes Tick no [Re: tradingest] #474891
11/11/18 21:50
11/11/18 21:50
Joined: Feb 2017
Posts: 1,718
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,718
Chicago
run() is invoked once every bar, regardless of the TICKS flag.

Re: Tick yes Tick no [Re: AndrewAMD] #474892
11/11/18 21:53
11/11/18 21:53
Joined: Feb 2018
Posts: 236
Italy
tradingest Offline OP
Member
tradingest  Offline OP
Member

Joined: Feb 2018
Posts: 236
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?

Re: Tick yes Tick no [Re: tradingest] #474893
11/11/18 22:18
11/11/18 22:18
Joined: Feb 2017
Posts: 1,718
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,718
Chicago
This depends on your script. In TICKS mode, your stop losses get triggered differently, for example.

Re: Tick yes Tick no [Re: AndrewAMD] #474894
11/11/18 22:54
11/11/18 22:54
Joined: Feb 2018
Posts: 236
Italy
tradingest Offline OP
Member
tradingest  Offline OP
Member

Joined: Feb 2018
Posts: 236
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

Re: Tick yes Tick no [Re: tradingest] #474909
11/12/18 15:40
11/12/18 15:40
Joined: Feb 2017
Posts: 369
D
Dalla Offline
Senior Member
Dalla  Offline
Senior Member
D

Joined: Feb 2017
Posts: 369
Look in the manual, under TICKS
http://zorro-project.com/manual/en/mode.htm

Re: Tick yes Tick no [Re: Dalla] #474914
11/12/18 19:32
11/12/18 19:32
Joined: Feb 2018
Posts: 236
Italy
tradingest Offline OP
Member
tradingest  Offline OP
Member

Joined: Feb 2018
Posts: 236
Italy
thanks Dalla,

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


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