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 Upgrade Forums
OmniScan
Help required with scan logic
Last Activity 3/11/2022 10:09 PM
2 replies, 785 viewings

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

^ Top
Rean

Veteran
100
Posts: 105

Joined: 8/30/2013
Location: Johannesburg, South Africa

User Profile
 
Subject : Help required with scan logic
Posted : 8/26/2021 2:28 PM
Post #48248

Hallo good people

I'm trying to create a scan that scans for the following:

Stock price is 70% above the 52week low (showing that the stock as been improving)

Stock price is 5% lower than the 20-day high (showing that the stock has recently retraced)

These are my attempts, I'll appreciate if you can correct me where it's wrong:

h >= llv(250) [1]*.70
h >= hhv(20) [1]*.95
^ Top
Jim Dean

Sage
20001000
Posts: 3022

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

User Profile
 
Subject : RE: Help required with scan logic
Posted : 8/26/2021 2:38 PM
Post #48249 - In reply to #48248

Should be:

H >= llv(250)[1] *1.70

L <= hhv(20)[1] *0.95

I removed spaces before the ['s, and changed the LLV formula multiplier.

I'd suggest using C >= and C <= rather than H's and L's ... up to you.

^ Top
Rean

Veteran
100
Posts: 105

Joined: 8/30/2013
Location: Johannesburg, South Africa

User Profile
 
Subject : RE: Help required with scan logic
Posted : 8/26/2021 2:41 PM
Post #48250 - In reply to #48248

You're the best, thanks Jim.
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.