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.

Edit indicator (Existing indicator) :]
 Post subject: Edit indicator (Existing indicator) :] Post rating: 0   New post Posted: Wed 25 Oct, 2017, 13:20 
User avatar

User rating: 0
Joined: Fri 06 Oct, 2017, 11:22
Posts: 3
Location: SpainSpain
Hello everyone! :?: :?:

I have created a strategia that works with the outputs of two indicators in this case the ROC, which is an obcillator, and another indicator such as SMA. What I want is to do the following that is shown in the graph or window indicator, the two indicators with the same price range and the output that are both with the same price range also, in the double [] arrays.

Manually it can be done through the platform, as shown in the photo captures, but how would you do with jforex APIs.

Thank you.
Image
Image


Attachments:
1. Indicators JForex.jpg [235.32 KiB]
Downloaded 206 times
2. Indicators JForex.jpg [258.8 KiB]
Downloaded 212 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: Edit indicator (Existing indicator) :] Post rating: 0   New post Posted: Tue 31 Oct, 2017, 17:52 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Here is an example of how to use output of RSI to calculate SMA and output the result as indicator output:
https://www.dukascopy.com/wiki/en/devel ... -indicator
A similar code could be written to use ROC instead of RSI.


 

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