Dukascopy
 
 
Wiki JStore Search Login

请教如何用 Get historical candles ?
 Post subject: 请教如何用 Get historical candles ? Post rating: 0   New post Posted: Sun 28 May, 2017, 16:27 
User avatar

User rating: 1
Joined: Fri 11 Nov, 2016, 11:24
Posts: 21
Location: China,
我看了youtube上面的视频,也看了其他人关于 Get historical candles 的案例,但是还是不明白怎么来使用 Get historical candles !求指导!!
我想在开仓以后,对开仓点以前的k线用 Get historical candles 配合macd来判断我的进场点是否存在顶背离或底背离。

Image
如图,进场点为A,我想判断当A点的最高价大于b点的最高价时,他们相对应的macd值,如果B点对应的macd值小于A点相对应的值,那么就是顶背离。我就想用程序表达出来。
我的构思是,顶背离寻找方法:1、先寻找A点以前的30根k线,找到最高的那个价格,2.用A点的价格和其进行比较。确认A点价格是否为最高。3.找到他们相对应的macd Hist值,然后对比macd hist值,来确认是否构成顶背离。

求指导,这个要如何用Jforex来写。


Attachments:
QQ截图20170528231233.jpg [123 KiB]
Downloaded 284 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: 请教如何用 Get historical candles ? Post rating: 0   New post Posted: Wed 31 May, 2017, 07:49 
Visual JForex expert at Dukascopy

User rating: 1
Joined: Fri 28 Aug, 2015, 09:49
Posts: 53
Location: China, Shanghai
您好,

您可以参考一下我给您的VJF手册内容。

在5.3章节有具体介绍Get historical candles的相关信息,在第7章节,有具体的案例供您参考。

祝好,

Kelvin Zhang


 

Jump to:  

cron
  © 1998-2024 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