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.

Same Indicator values on different timeframe charts ????
 Post subject: Same Indicator values on different timeframe charts ???? Post rating: 0   New post Posted: Mon 16 Jan, 2012, 14:13 
User avatar

User rating: 0
Joined: Sun 18 Sep, 2011, 09:19
Posts: 7
Location: FranceFrance
Hello,
I'am using this nice indicator created by chriz aka Indiana Pipsand. I tried to change it so it always draws an ema based on a 4 hours chart, even if I switch on a differente timeframe chart.
Thank you.


Attachments:
AllAveragesInColors.java [13.64 KiB]
Downloaded 262 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: Same Indicator values on different timeframe charts ???? Post rating: 0   New post Posted: Mon 16 Jan, 2012, 15:12 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
See if you find this helpful:
viewtopic.php?f=65&t=45283&p=59441


 
 Post subject: Re: Same Indicator values on different timeframe charts ???? Post rating: 0   New post Posted: Mon 16 Jan, 2012, 15:33 
User avatar

User rating: 0
Joined: Sun 18 Sep, 2011, 09:19
Posts: 7
Location: FranceFrance
Thank you fot the answer.
I've already seen that topic. But it doesn't help very much.
I always have that exception
"2012-01-16 14:31:11 Cannot enable indicator, getDefaultValue of description for optional input parameter with index [0] returns value that is not in range of getMin and getMax"
Here is the code of the modified indicator.
I forget to join it at the first place.


Attachments:
EMA4_H.java [7.11 KiB]
Downloaded 266 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: Same Indicator values on different timeframe charts ???? Post rating: 0   New post Posted: Wed 18 Jan, 2012, 11:07 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
This can't be the indicator that you tried to compile, since java file name does not match the class name.


 

Jump to:  

  © 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