Dukascopy
 
 
Wiki JStore Search Login

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.

Kama Problem
 Post subject: Kama Problem Post rating: 0   New post Posted: Mon 11 Feb, 2013, 02:21 

User rating: 0
Joined: Fri 16 Nov, 2012, 16:36
Posts: 11
Okay!

In my last post, i have some problem with data of indicators on charts and indicators on my strategies.

You tell me to try the strategies FeedMultiIndOpenChartsOhlc.java and adapt with my data.

i have tried that and i have a problem :

picture 1 : the data of indicators and strategies dont match

picture 2 : when a tick coming, the indicator "buzz" on screen

picture 3 : i have changed the filter terminal option manually to set at : No filter, without stopping strategies and i have been surprise to see the result. Normally on the stategies , the filter option is ALL_FLATS and the strategy give me a KAMA without filter...


Can you help me with that , because i really dont know what can i do for that problem


Attachments:
KamaProblem3.png [177.71 KiB]
Downloaded 351 times
KamaProblem2.png [182.39 KiB]
Downloaded 335 times
KamaProblem.png [146.43 KiB]
Downloaded 365 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.
 
 Post subject: Re: Kama Problem Post rating: 0   New post Posted: Mon 11 Feb, 2013, 03:55 

User rating: 0
Joined: Fri 16 Nov, 2012, 16:36
Posts: 11
For now, i test my strategy, and i want add another problem with Kama


1 : if you put Kama with default value, ok, your right for the data
2 : if you change value 30,2,30 for 30,6,30 you have some problem in the screen. The indicators go up or down , wrong direction and wrong data.

if the indicators have a bug, my strategy dont have bug.

Ok. i suppose in the first topic the problem is : the indicators in the strategy dont set the filter.

And on this new topic : i suppose the kama indicators have some bug because i have the same value of the indicators in the screen and my indicators in the strategy. (check the red line in the picture) . The indicators really dont do what it's suppose to do ...

When i click on edit indicator , the indicators redraw a right value on screen (see on the second picture)


But, i do all you tell me what to do and the data dont match with the real data. i dont know what can i do after that.

Can you give me a feedback about this bug?


Attachments:
kamaProblem5.jpg [554.6 KiB]
Downloaded 321 times
KamaProblem4.jpg [561.37 KiB]
Downloaded 337 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.
 
 Post subject: Re: Kama Problem Post rating: 0   New post Posted: Mon 11 Feb, 2013, 08:05 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Please provide FeedMultiIndOpenChartsOhlc.java


 
 Post subject: Re: Kama Problem Post rating: 0   New post Posted: Mon 11 Feb, 2013, 14:33 

User rating: 0
Joined: Fri 16 Nov, 2012, 16:36
Posts: 11
Sorry for delay lol

i have changed the filter ALL_FLATS to WEEKENDS just for cheking...


Attachments:
FeedMultiIndOpenChartsOhlc.java [7.48 KiB]
Downloaded 312 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.
 
 Post subject: Re: Kama Problem Post rating: 0   New post Posted: Wed 13 Feb, 2013, 12:53 

User rating: 0
Joined: Fri 16 Nov, 2012, 16:36
Posts: 11
Can you give me a news about this problem?

Thanks you!


 
 Post subject: Re: Kama Problem Post rating: 0   New post Posted: Fri 01 Mar, 2013, 08:45 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
You are calculating the KAMA indicator for the current in-progress bar (shift = 0), try calculating and comparing values for the previous formed bar (shift = 1).
KAMA is one of the functions with an "unstable period". It will return different values depending on the starting point of the calculation, since each KAMA's calculated value is based on the previous one.
It means the calculation results will match only when you compare results calculated on the matching time intervals, when you edit the indicator it gets recalculated for the extensive time interval and the time interval used when calculating from strategy is much shorter.


 

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