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.

integrate tma slope indicator
 Post subject: integrate tma slope indicator Post rating: 0   New post Posted: Wed 15 Aug, 2012, 07:35 

User rating: 1
Joined: Wed 07 Mar, 2012, 05:56
Posts: 101
Location: New CaledoniaNew Caledonia
hello support,

i would like to integrate the tma_slope indicator in my strategy, but i have problem to define the new object and to print the return value

this a piece of code

double[] tma = (double[]) indicators.calculateIndicator(
                    feedDescriptor, new OfferSide[]{offerSide},
                     "10.2 TmaSlope_Norm",
                    new AppliedPrice[]{appliedPrice},
                    new Object[]{},
                    500, bar.getTime(), 0)[0];
print("tma: " + toStr(tma));


could you help me please?

thanks


Attachments:
TMA_slope1_4B_fix2.jfx [10.35 KiB]
Downloaded 311 times
TMA_slope1_4B_fix2.java [11.12 KiB]
Downloaded 340 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: integrate tma slope indicator Post rating: 0   New post Posted: Wed 15 Aug, 2012, 07:59 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Please read the disclaimer on the top of the strategy.


 

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