OmniTrader Forum OmniTrader Forum
forums calendars search
today this week
 
register logon control panel Forum Rules
You are currently browsing as a guest.
You should logon to access more features
A Self-Moderated Community - ALL MEMBERS, PLEASE READ!
Vote for Members who contribute the most to your trading, and help us moderate content within the Forums.


  Current location        Thread information  
OmniTrader 2017 Upgrade Forums
OmniScan
About scan ?
Last Activity 9/16/2018 10:05 PM
4 replies, 1713 viewings

Jump to page : 1
Now viewing page 1 [25 messages per page]
 
back reply
Printer friendly version

^ Top
Gerry

Veteran
1001002525
Posts: 251

Joined: 12/24/2003
Location: Lewiston, Maine 04240

User Profile
 
Subject : About scan ?
Posted : 2/13/2010 8:40 AM
Post #19701

Hi all,

I'm trying to create a scan that will show me that at the close of the current bar, it's close is higher than the close of 2 bars ago !

This is what I'm trying and it's not working, where am I going wrong ?

c > (c,2)[1]



This is not my best area of knowledge


Thanking you in advance,

Gerry
^ Top
Jim Dean

Idol
20005001001001002525
Posts: 2863

Joined: 9/21/2006
Location: L'ville, GA

User Profile
 
Subject : RE: About scan ?
Posted : 2/13/2010 9:22 AM
Post #19702 - In reply to #19701

C > C[2]
^ Top
Gerry

Veteran
1001002525
Posts: 251

Joined: 12/24/2003
Location: Lewiston, Maine 04240

User Profile
 
Subject : RE: About scan ?
Posted : 2/13/2010 9:25 AM
Post #19703 - In reply to #19702

Hi Jim,

Thanks a BUNCH !


Gerry
^ Top
Jim Dean

Idol
20005001001001002525
Posts: 2863

Joined: 9/21/2006
Location: L'ville, GA

User Profile
 
Subject : About Formula Builder Syntax
Posted : 2/13/2010 10:05 AM
Post #19705 - In reply to #19703

There are several places "buried" in Help that will get you up to speed with OmniScript. Everyplace it is used (Filter Block, EasyScans, OmniScans, TradePlans) it works the same way.

Look up these:
Help > Contents > Trading Strategies in OmniTrader > Creating & Editing Strategies > Filter Block >
then within that:
Formula Builder
Syntax for Formula Builder
IntelliSense for Formula Builder

Then look up:
Help > Contents > Technical Formula Reference >
and within that:
Operators
Math Functions
Pricing Data
Indicators
Parameters

Then presuming you do have OmniScan, go to Help > OmniScan Help >
and within that:
Creating Scans
Creating Technical Scans
and ... essentially the same as in comparable section in the OT Help
Syntax for Forumula Builder
OmniScan Intellisense
Technical Scan Reference

BUT MOST ESPECIALLY REVIEW AND PLAY WITH: Example Technical Scans

There is one really important thing that is not mentioned anywhere in the Help, but is obvious (IMO) in the examples:
To access the value of "anything" as of:
Yesterday: anything[1]
Two days ago: anything[2]
153 days ago: anything[153]
In this case, "anything" can be a raw data value such as OHLCV, or a function such as SMA(15):
C[3]
SMA(15)[12]

Note that there is a huge diff between paren's and square brackets. When used with a function/indicator such as SMA(), the paren's enclose parameters. Intellisense tells you about the parameters, btw. When used in a formula, (O+C+H+L)/4, the paren's force the stuff within them to be done before the stuff outside. Compare that formula to O+C+H+L/4 ... the second case only divides L by 4 ... the first one divides the sum of O,H,C,L by 4.

Square brackets are ONLY used for "barsago" purposes ...
anything[barsago]

There's a lot more about OmniScript and OmniLanguage that is not in the Help anywhere ... the Help just isn't trying to be a book on programming.

Finally ...

Once you get the OmniScript info down pretty good, then you'll be ready for the real McCoy - OmniLanguage. Presuming you've done the SMART thing and bought OmniTrader Pro, that is. ;~)
To learn about OmniLanguage, refer to:
Help > Manuals > OmniTrader Professional User Guide
The secret to "getting" this manual is to go thru the examples one step at a time, and PLAY WITH little pieces of each "lesson" till you get it. Don't try to read it in one sitting and expect to be good to go.
Plus, I've posted MANY examples in the Pro and TradeTight forums to learn from.

I provide most of my in depth OmniLanguage and OmniScript assistance in the TradeTight.org forum. Or, if you're interested in one-on-one training, contact me offline about it (hvacsage@yahoo.com).


[Edited by Jim Dean on 9/23/2012 6:23 AM]

^ Top
RuffTrader

New User

Posts: 2

Joined: 9/22/2012
Location: newark, NJ

User Profile
 
Subject : RE: About scan ?
Posted : 9/22/2012 7:25 PM
Post #27242 - In reply to #19701

Good stuff Jimmy Dean thanks for sharin bud!
Jump to page : 1
Now viewing page 1 [25 messages per page]
back reply

Legend    Action      Notification  
Administrator
Forum Moderator
Registered User
Unregistered User
E-Mail this thread to a friend
Toggle e-mail notification


Nirvana Systems
For any problems or issues please contact our Webmaster at webmaster@nirvsys.com.