Dukascopy
 
 
Wiki JStore Search Login

Simple Indicator for EMAs in a Subwindow
 Post subject: Simple Indicator for EMAs in a Subwindow Post rating: 0   New post Posted: Wed 23 Apr, 2014, 09:41 
User avatar

User rating: 0
Joined: Fri 07 Oct, 2011, 09:55
Posts: 8
Location: Switzerland,
Hi Support

I'm not good ad coding at all. :(
As my Price Chart contains already BB's a Channel and 3 Ma's I'd like to have
have an additional indicator(window) in a subwindow (not overlapping with price)
The indicator should show two EMA's
1st EMA Open
2nd EMA Close

Periods for both indicators should be variable.

Hope the attached image makes clear what I'd tried to express ;)

Any help here would be very much appreciated.

thanks and happy trading

Image


Attachments:
MA_Subwind.jpg [43.2 KiB]
Downloaded 334 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: Simple Indicator for EMAs in a Subwindow Post rating: 0   New post Posted: Mon 28 Apr, 2014, 08:53 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Whether the indicator is drawn over chart or on the sub-panel is determined by the indicator himself not the strategy (i.e., it is in the indicator's source code), see overChart parameter here:
https://www.dukascopy.com/wiki/#Indicator_API:_IndicatorInfo
Thus, in order to draw the MA indicator on a sub-panel you would need to set overChart to false, assign the indicator a different name and description, compile it and register it as a custom indicator.
To add an indicator to the same indicator panel, see:
https://www.dukascopy.com/wiki/#Indicator_chart_panels


 
 Post subject: Re: Simple Indicator for EMAs in a Subwindow Post rating: 0   New post Posted: Tue 29 Apr, 2014, 09:35 
User avatar

User rating: 0
Joined: Fri 07 Oct, 2011, 09:55
Posts: 8
Location: Switzerland,
thanks for the tipp. I'll try this

Best regards


 

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