Click here to Login





                                                   Screener

  0

0
allan nathan
2012-09-09 17:46:44


Hi,
If i would like to add True/False (1,0) columns in a screen,do i simply use the Iff function?

Also,I am looking at a screen I downloaded.


a1 = perf(close, 25);
a2 = comp(a1, "rank", industry(), close > 2);
filter = a2 < 5 and close > 2;

AddColumn("Return", a1);
AddColumn("Industry", industry());
AddColumn("Rank", a2);


What exactly is the "RANK" function,and how can I easily find definitions of QuantShare language functions.
I have a tough time searching for definitions in the QS language docs

Thanks,

Allan



QuantShare
2012-09-10 14:01:54

  0

If i would like to add True/False (1,0) columns in a screen,do i simply use the Iff function?
"iff" or "iffstr" for text values.

To add a column, simply use the "AddColumn" function.

What exactly is the "RANK" function?
We have create many blog posts regarding the "Comp" function.
http://www.quantshare.com/sa-179-new-ranking-and-percentile-composite-functions
http://www.quantshare.com/sa-175-trading-indicators-using-the-rank-and-percentile-functions

If you want to find information about something please use the "Knowledge base" link (left)



allan nathan
2012-09-10 23:50:12

  0

The Knowledge Base is excellent...I wasnt aware of it..This should make life ALOT easier

Thanks,

Allan



allan nathan
2012-09-11 01:40:45

  0

It appears I spoke too soon...I went to the Knowledge base and typed in "IFF"..Apx 50 different topics came up,but I havent found one with the "IFF" function..Am i doing something incorrectly???

Thank you,

Allan



QuantShare
2012-09-11 09:58:19

  0

The "IFF" function description can be found in the documentation only.
The format is as follow:

a = iff(condition, series1, series2);

For each bar, if the condition is true then get value of series1 otherwise the value of series2 is returned.

Example:
a = iff(close > open, 1, 0);



allan nathan
2012-09-11 16:14:44

  0

Hi,
You have a n awesome product,but it is very difficult to reference the QS language.For a non programmer,it makes coding 2x as hard.

Maybe I am not utilising QS correctly,but when I code in other programs using their language,it is very easy to find their function with examples.
Simply right click and there is a library of Function reference in Alphabetical order..with examples

As far as I can tell,in QS one has to click on help,click on documentation PDF,which then redirects you to download another link.What would be a bit more helpful is if one could simply click on help and then have the options of QS functions by Category OR by Name (alphabetical).

Other progrmas simplify this process and even have a search feature.

Please understand that I really like this product,but alot of the help is very fragmented and makes the learning curve much steeper

Allan



QuantShare
2012-09-11 17:06:21

  0

Click on "Add Indicator" button to get the list of all functions/indicators with the description.


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
Covered Call Screener
Identify Spilts Screener Script
Covered Put Screener
Super Stock Screener Ranking System
Trade-Ideas Intraday Screener

How-to Lessons
Difference between the watchlist and the screener tools
How to speed up watchlist and screener plug-ins when working with...
How to create a screen
How to run a screen or a watchlist from a script
How to screen for stocks having a high correlation with the Dow J...

Related Forum Threads
use of screener for applied rules
Stochastics, screener Slow D and K cross
Multiple Static Watchlists and Screener
Use Screener to Find Potential Splits?
referring screener in backtest

Blog Posts
How to use QuantShare screener to trade penny stocks
Trading software new features
How to Reference Drawing Studies in QS Formulas
How to create a trading system, screen and composite using earnin...
Detect chart patterns using the auto support/resistance indicator









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.