Guest User | Sign In

Knowledge Base

IsTicker Function

Overview


The ISTICKER() function allows a specific criteria to be used on a set source code only. If the source code does not match the script criteria will not be applied.  This is useful when you want to use a script in an area like scanning, but have some criteria items specific to one code.

For example:

GS1 = GannSwing() ISDOWN;
MA1 = MA(BARS=20);
MA2 = MA(BARS=120);
((MA1 > MA2) and ISTICKER(CODE=ANZ:ASX)) or GS1


If a script containing the above was used in a scan across the ASX, the criteria regarding the Moving Averages would only apply to ANZ. 



All other codes in the scan would disregard this specific criteria and only use the Gann Swing criteria to pass / fail the scan.

We can also specify another set of criteria for other specific codes by using the OR operator.  The following criteria restricts to only look for ANZ and CBA.  CBAs criteria refers to ATR, ANZ refers to Moving Averages.

MA1 = MA(BARS=20);
MA2 = MA(BARS=120);
((MA1 > MA2) and ISTICKER(CODE=ANZ:ASX)) OR
((ISTICKER(CODE=CBA:ASX)) and (ATR() > 1))

 Last updated Sat, Jan 12 2019 2:32am

Please Wait!

Please wait... it will take a second!