|
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.
MACD crossover |
Heatheri77
|
Post subject: MACD crossover |
Post rating: 0
|
Posted: Mon 27 Aug, 2012, 07:32
|
|
User rating: 1
Joined: Tue 07 Aug, 2012, 08:43 Posts: 49 Location: SingaporeSingapore
|
dear support, please excuse my bad jforex skills.
i searched in wiki & support forum, couldnt find it.
i have the macd added to chart in my code. double[] macd0 = indicators.macd(instrument, period, OfferSide.BID, IIndicators.AppliedPrice.CLOSE, 12, 26, 9, 0);
i want to ask you how to code the crossovers? the logic which i want to code want to look for MACD crossovers (see pic).
The MACD histogram is the difference between the 2 lines (MACD line -MACD signal line).
thank you for your assistance.
Attachments: |
macd.jpg [91.29 KiB]
Downloaded 414 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: MACD crossover |
Post rating: 0
|
Posted: Mon 27 Aug, 2012, 08:30
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
|
|
 |
Heatheri77
|
Post subject: Re: MACD crossover |
Post rating: 0
|
Posted: Mon 27 Aug, 2012, 08:48
|
|
User rating: 1
Joined: Tue 07 Aug, 2012, 08:43 Posts: 49 Location: SingaporeSingapore
|
Thank you. Looks like its for range bars.
How to code this with candlesticks?
|
|
|
|
 |
API Support
|
Post subject: Re: MACD crossover |
Post rating: 0
|
Posted: Mon 27 Aug, 2012, 09:20
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|