Click here to Login





                                                   Functions: access downloaded indicators

  0

0
Jeff D
2014-01-25 08:44:33


I'm writing a function that needs to use a value from a downloaded indicator.

In this case I'm multipling my band by the factor of Fisher transform which I downloaded.

result = kLower * QSFunctions.Fisher(Close, Length);
...........................^^^^^^^

Problem is I cannot figure out how to call it. I tried TA.Fisher, cFunction.Fisher etc. I just have no idea and don't know where to find out.

I am doing this wrong?

Tnx



QuantShare
2014-01-25 12:57:52

  0

You cannot reference it directly.
You must get its value by compiling a QS formula. Example:

VectorD val = cFunctions.CompileFormula("a = fisher(" + Close + ", " + Length + "").GetVectorDouble("a");
result = kLower * val;





No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
Technical indicators time series
Export Indicators Data with Filtering and Column Labels Support
Trading Rules using Trend Indicators
Plot Economic Indicators on a Chart
Crossover/Convergence of Several Trading indicators

How-to Lessons
How to drag & drop indicators in charts
How to download and use U.S. stocks earnings data
How to display Forex economic calendar data in a chart
How to download a trading item from the Sharing Server
How to copy a trading item

Related Forum Threads
Time cycle indicators
Access all the elements of a custom db during screening
Downloaded indicator
trading indicators
Can a Money Management script access a custom function?

Blog Posts
How to create your own technical analysis indicators
How to Pick the Best Trend Indicators
3 Market Indicators based on Fundamental Data
4 Market Composite Indicators Based on Industry Data
Fundamental analysis: How to track economic indicators in the For...









QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.