Click here to Login

                                                   Functions: access downloaded indicators


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?


2014-01-25 12:57:52


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


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"


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 plot the relative performance of several stocks/indices

Related Forum Threads
Time cycle indicators
access data to date
Need downloaded or ascii import of nse equities that trade in fut...
Access access to past prices from within download scripts
Access Point Value in strategy script?

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...

Create an account
Affiliate Program
Contact Us
Trading Forum
How-to Lessons
About Us
Terms of Use

Copyright 2020
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
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.