Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AbrahamR, AndrewAMD, ozgur), 763 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Multi-currency with Renko bars. #457085
12/23/15 21:18
12/23/15 21:18
Joined: Feb 2014
Posts: 73
Montreal, Qc Canada
F
Finstratech Offline OP
Junior Member
Finstratech  Offline OP
Junior Member
F

Joined: Feb 2014
Posts: 73
Montreal, Qc Canada
So, after running in to problems setting multiple assets to trade in a portfolio with Renko Bar system described here, I found out the following:

Quote:
"User-defined bar lengths can normally be used with single-asset strategies only, as different assets would produce different bars. However, for a portfolio system the TimeFrame mechanism can be used for user-defined frame lengths."

Also,
Quote:
"for trading dependent on the time of the day, or for emulating price-movement bars such as Range or Renko Bars. For this, set TimeFrame to 0 during the frame, count the skipped bars, and set TimeFrame to the negative number of skipped bars for ending the frame."


Can someone familiar with the matter describe in plain English what "TimeFrame mechanism" is and how to use it. The manual's description is extremely limited and vague, unfortunately. E.g. Setting TimeFrame to negative number for ending the frame...

TimeFrame mechanism example for putting assets in a portfolio in a Renko Bar system would be greatly appreciated.

Thank you

Re: Multi-currency with Renko bars. [Re: Finstratech] #457089
12/24/15 08:20
12/24/15 08:20
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
The time frame mechanism is for starting and ending a bar by a user defined event at a multiple of the bar period. This is not totally trivial, but you can find examples in the manual.

A portfolio system is a system that trades many assets with the same script. Since there is only one bar period per script, a portfolio system can not be based on renko bars that would require different bars for any asset. You could only emulate renko bars with time frames. I have no ready example of this, though.

Re: Multi-currency with Renko bars. [Re: jcl] #457094
12/24/15 20:10
12/24/15 20:10
Joined: Feb 2014
Posts: 73
Montreal, Qc Canada
F
Finstratech Offline OP
Junior Member
Finstratech  Offline OP
Junior Member
F

Joined: Feb 2014
Posts: 73
Montreal, Qc Canada
JCL, Thanks for the ideas, I will play with that later.

Theoretically, could the regular non-renko ready script with multiple assets send out buy and sell signals without being tested first as a portfolio? That is I could test the assets individually prior.

Thank you very much for your input and have yourself a wonderful holiday period.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1