|
Attention! Read the forum rules carefully before posting a topic.
Try to find an answer in Wiki before asking a question. Submit programming questions in this forum only. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
Line break feed in strategy? |
janjjj
|
Post subject: Line break feed in strategy? |
Post rating: 0
|
Posted: Mon 14 Sep, 2015, 11:35
|
|
User rating: 3
Joined: Thu 28 Jul, 2011, 19:40 Posts: 72 Location: PolandPoland
|
Hello support,
There is a way to use Line Break feed data in strategy like other feeds?
I want to use 2 Line Breakbars. If I use: @Configurable("Line Break:") public IFeedDescriptor fd = new LineBreakFeedDescriptor(Instrument.EURUSD, OfferSide.BID); then it does not works and Ireceive error in java cosole during try to run stratgy
if I use: @Configurable("Line Break:") public LineBreakFeedDescriptor fd2 = new LineBreakFeedDescriptor(Instrument.EURUSD, OfferSide.BID); it works but in starting parameters I can select only Period (like 1 minute ...) but not (2 Lines) like in Tools->Preferences->Period (when I add LinePeriod feen on the platform)
Please explain to me how it works.
Regards, Jan
|
|
|
|
 |
API Support
|
Post subject: Re: Line break feed in strategy? |
Post rating: 0
|
Posted: Thu 17 Sep, 2015, 06:29
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
This feature is in the process of implementation.
|
|
|
|
 |
janjjj
|
Post subject: Re: Line break feed in strategy? |
Post rating: 0
|
Posted: Thu 17 Sep, 2015, 10:08
|
|
User rating: 3
Joined: Thu 28 Jul, 2011, 19:40 Posts: 72 Location: PolandPoland
|
OK. So I understand that now there is now way to use Line Break feed in strategy? I need to wait for implementation this?
What is the expected implementation time?
|
|
|
|
 |
API Support
|
Post subject: Re: Line break feed in strategy? |
Post rating: 0
|
Posted: Mon 05 Oct, 2015, 12:54
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
Line break feed is available. The only problem is that it cannot be selected from @Configurable. FeedDescriptor fd = new LineBreakFeedDescriptor(Instrument.EURUSD, OfferSide.ASK, Period.TEN_MINS, CreationPoint.OPEN);
|
|
|
|
 |
janjjj
|
Post subject: Re: Line break feed in strategy? |
Post rating: 0
|
Posted: Tue 06 Oct, 2015, 11:40
|
|
User rating: 3
Joined: Thu 28 Jul, 2011, 19:40 Posts: 72 Location: PolandPoland
|
Yes thanks, I saw that, but please describe me how it works, I mean what does means parameters Period here and CreationPoint? What means in relation to the available on the platform Line Break where I only can select "2 Lines", "3 Lines" etc...:  e.g. What is the equivalent of 3 Line Break in JForex API code?
Attachments: |
LineBreak1.png [51.01 KiB]
Downloaded 329 times
|
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on
this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control
on their content. Anyone accessing this webpage and downloading or otherwise making use of any document,
data or information found on this webpage shall do it on his/her own risks without any recourse against
Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from
the use and/or reliance on any document, data or information found on this webpage.
|
|
|
|
|
 |
API Support
|
Post subject: Re: Line break feed in strategy? |
Post rating: 0
|
Posted: Thu 22 Oct, 2015, 15:51
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
Line break bars: Let's take the lowest (L) and highest (H) value of last N bars (or "lines" in this context). A new bar is created whenever a new tick breaks H or L value.  If trend continues a new short bar is created. If trend changes the direction new bar will be bigger because the price will have to cross all the previous bars. - First bar's end value is always equal to next bars start value.
- Only last N bars are considered
The "line" means: price level that must be crossed to form a new bar.
Attachments: |
line_break.jpg [19.22 KiB]
Downloaded 299 times
|
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on
this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control
on their content. Anyone accessing this webpage and downloading or otherwise making use of any document,
data or information found on this webpage shall do it on his/her own risks without any recourse against
Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from
the use and/or reliance on any document, data or information found on this webpage.
|
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|