Dukascopy
 
 
Wiki JStore Search Login

No option to change time based period to price based period
 Post subject: No option to change time based period to price based period Post rating: 0   New post Posted: Wed 20 Jan, 2016, 23:06 
User avatar

User rating: 0
Joined: Wed 20 Jan, 2016, 22:39
Posts: 1
Dear support team,

I am trying to create a very simple strategy in visual JForex that uses 'price based period' bars (such as Range bars and Renko bars), and NOT the usual 'time based period' bars.

The only problem is, after many hours of trying to find this option in visual JForex, I cannot find a way how to make the strategy use 'price based period' bars.

The strategy is very simple: I would like the strategy to analyse 10pip Renko bar chart for the EURUSD pair, and if one bar moves in the up direction (so when the close of the bar is higher than the open of the bar) I would like to enter a long position. I will keep this position open as long as the price is going up. However, once a new Renko bar is formed in the down direction (so the close of the bar is lower than the open of the bar) I would close the existing long position and at the same time open a short position.

As you can see it is very simple, the only problem is, I cannot see the option in visual JForex strategy builde,r how to use 'price based period' charts. Instead all I can find that I can use are the 'time based periods' which range from the shortest of 10 seconds to the longest of month.

Could I please ask if you could help me at all?

Best wishes,
Alex


 
 Post subject: Re: No option to change time based period to price based period Post rating: 0   New post Posted: Thu 21 Jan, 2016, 12:19 
Visual JForex expert at Dukascopy
User avatar

User rating: 288
Joined: Thu 18 Apr, 2013, 09:26
Posts: 1496
Location: Switzerland, Geneva
Hi there,

This topic was discussed while ago in:
https://www.dukascopy.com/swiss/english ... nko#p85681

But it remains quite complicated to build strategies using Renko bars as we need to consider building the bricks forward (and not getting any available renko prices from the past) and then implementing the strategy conditions. It is obvious that implementing your idea using Java coding and the already available Renko method in Jforex API is much easier and requires less time and effort. I recommend you some experienced users such as "SFXbernhard"
https://www.dukascopy.com/swiss/english ... ard#p86720

Cheers


 

Jump to:  

cron
  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com