Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (flink, AndrewAMD), 656 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Trading with Zorro - list of things to clarify [Re: jcl] #467047
07/13/17 13:33
07/13/17 13:33
Joined: Jul 2017
Posts: 784
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 784
Quote:
The consequences of testing only every Friday depend on the strategy, but whatever they are, they are probably no good.

Any tool might be used in a wrong way.
My current WFO set-up with 4w IS/1w OOS to find params is quite robust as it covers a repeating "economic reports" cycle.

RE using Ask prices:
- Until some time ago, I also did not really believe that with currently tiny spreads in FX, this would make any difference. And so, used Ask in all calculations.
- However, just by chance, I decided to test the system with mid-point and the results proved somewhat different/ worse. I then tried to understand why and found that for the better part of the test period the market was going up. So, using Ask prices did overstate the results! Not by a lot, but still! Since then, all my testing is based on mid-point.

- As for Ask-based execution: any significant widening of the spread on the ask side(glitch in a system, liquidity,etc) will lead to the premature triggering of simulated buy stop orders.
It will also lead to bigger slippage/losses in a falling market for sell stop orders (when bid runs away faster; and/or ask might disappear altoghether).

Re: Trading with Zorro - list of things to clarify [Re: Zheka] #467152
07/18/17 13:28
07/18/17 13:28
Joined: Jul 2017
Posts: 784
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 784
Hi, JCL,

Below is a list of remaining questions. Would appreciate your answers.
----------------------------------------------------------------------------
How is Profit in Pips calculated in Trade Statistics
Is it calculated from "fill-to-fill" prices first or from Profit in Account currency divided by PIPCOST?
- Does PIPCOST update itself in RT (with IB)?
- will TradeProfit in Trade struct be the same as from Trade Statistics?
--------------------------------------------------------------------------

These questions arise from the fact that - contrary to other software - Zorro seems to calculate P&L in ACCOUNT currency first, and THEN converts to Pips.
Please correct me, if I am wrong.

Last edited by Zheka; 07/18/17 13:29.
Re: Trading with Zorro - list of things to clarify [Re: jcl] #467153
07/18/17 13:29
07/18/17 13:29
Joined: Jul 2017
Posts: 784
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 784
...continuing...

6. What order fill assumptions are used for "entry at limit"/"exit at stop" orders in simulation?
Will they fill when:
- price touches the level at least 1 time?
- price penetrates the level by xx ticks?
- M1 close price touches/penetrates the order level?

7.using LEAN and M1:
- when LEAN is NOT set, is the Open/Close price of a bar=Open/Close price of the first/last M1 tick?

8. If a price history is in M1 "ticks", will the TMF functions/Stops/limits in RT also evaluate in 1-min ticks or on each and every real RT tick?

9. Is it possible in Zorro to receive data from a datafeed while placing orders with a broker?

10. Millisecond Timestamps: is there a way to see exact timings of order sending and filling (to monitor latency/slippage)?

Re: Trading with Zorro - list of things to clarify [Re: Zheka] #467155
07/18/17 15:23
07/18/17 15:23
Joined: Jun 2017
Posts: 78
B
BobbyT Offline
Junior Member
BobbyT  Offline
Junior Member
B

Joined: Jun 2017
Posts: 78
Hi Zheka,

My morning coffee just kicked in so I'll try and help with a couple.

8) If by RT you mean real-time then the TMF will run every time a tick is received from the broker. TMF operate as OnTick() functions in MQL4

10) Maybe use system times for this. Grab the system time at the trade enter command and then again when TradeID != 0. Maybe...I dunno

Cheers,
BobbyT

Page 2 of 2 1 2

Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1