Gamestudio Links
Zorro Links
Newest Posts
New Zorro v1.99.2
by jcl
46 minutes 0 seconds ago
Strategy Development
by AndrewAMD
59 minutes 37 seconds ago
closing profitable trades (stop)
by MINER
Today at 12:47
Next contest?
by jcl
Yesterday at 15:44
advance decline (ADO) code examples?
by 3dgamelight
12/09/18 19:52
Newbie coding question. HELP Please!
by 3dgamelight
12/09/18 16:28
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14
12/08/18 19:10
AUM Magazine
Latest Screens
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Evonet Beta v1.0 : Online Project Development Template
Lake scene
Who's Online
19 registered (alibaba, ags, Artvin, AndrewAMD, chsmac85, 20BN, CocaCola, Ayumi, 5 invisible), 477 Guests and 12 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
mahomed, bondz, Neil_G, bobby4h, MutilatedDuck
18117 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: 192
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
Senior Member

Registered: 02/21/17
Posts: 477
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: 192
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
Senior Member

Registered: 02/21/17
Posts: 477
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: 192
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: 316
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: 192
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