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
HAVING A BRAIN FREEZE
Last Activity 3/11/2022 10:09 PM
6 replies, 1004 viewings

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

^ Top
Gerry

Veteran
100100252525
Posts: 277

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

User Profile
 
Subject : HAVING A BRAIN FREEZE
Posted : 2/21/2021 3:32 PM
Post #47914

What am I missing here ? Looking to create a scan whereby the close of stocks on this current bar are above both the 8 and 14 EMA while the closes of one bar ago were both under the 8 and 14 EMA ? This is what I am trying now.
C > EMA(8) AND C > EMA(14) AND C[1] < EMA(8) AND C < EMA(14)

Thanking you in advance,

Gerry

[Edited by Gerry on 2/21/2021 3:36 PM]

^ Top
mgerber

Member
25
Posts: 40

Joined: 12/18/2003
Location: Issaquah, WA

User Profile
 
Subject : RE: HAVING A BRAIN FREEZE
Posted : 2/21/2021 3:56 PM
Post #47915 - In reply to #47914

Maybe it is just the last two conditions all of which refer to yesterday?


The close yesterday for the last term, referring to today's EMA(14):
C[1] < EMA (14)


If the EMA's are yesterdays values, then maybe:

C[1] < EMA[1](8) AND C[1] < EMA[1](14)

Might be worth trying . . .


--Mark G.

[Edited by mgerber on 2/21/2021 3:59 PM]

^ Top
Gerry

Veteran
100100252525
Posts: 277

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

User Profile
 
Subject : RE: HAVING A BRAIN FREEZE
Posted : 2/21/2021 4:53 PM
Post #47916 - In reply to #47914

Thanks for your reply Mark. That's not doing it. If I run my a scan on the first half I get could results and if I run the second half I also get good results. But when I try to combine both of them is where I run into a problem. But thanks for your effort.

Gerry



^ Top
Jim Dean

Sage
20001000
Posts: 3022

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

User Profile
 
Subject : RE: HAVING A BRAIN FREEZE
Posted : 2/21/2021 5:09 PM
Post #47917 - In reply to #47916

Mark had right idea. Try this:

C > EMA(8) AND C > EMA(14) AND C[1] <= EMA(8)[1] AND C[1] <= EMA(14)[1]

[Edited by Jim Dean on 2/21/2021 5:10 PM]

^ Top
gary

Member

Posts: 16

Joined: 12/13/2003
Location: Houston, TX

User Profile
 
Subject : RE: HAVING A BRAIN FREEZE
Posted : 2/21/2021 9:39 PM
Post #47918 - In reply to #47917

Try this one. It uses a shorter lag MA and catches a symbol at the crossing of the MAs going up. The scan seems to show some promising ones but I noticed it can also give a lot of whipsaws. Might need to experiment with period of MAs.

(C > ZMA(8) AND C > ZMA(14)) AND (C[1] <= ZMA(8)[1] AND C[1] <= ZMA(14)[1])and(ZMA(8)>ZMA(14)and ZMA(8)[1](14)[1])
^ Top
gary

Member

Posts: 16

Joined: 12/13/2003
Location: Houston, TX

User Profile
 
Subject : RE: HAVING A BRAIN FREEZE
Posted : 2/21/2021 9:59 PM
Post #47922 - In reply to #47918

Having trouble getting the formula copied right into this message. here it is:

(C > ZMA(8) AND C > ZMA(14)) AND (C[1] <= ZMA(8)[1] AND C[1] <= ZMA(14)[1])

and(ZMA(8)>ZMA(14)and

ZMA(8)[1]< ZMA(14)[1])
^ Top
Gerry

Veteran
100100252525
Posts: 277

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

User Profile
 
Subject : RE: HAVING A BRAIN FREEZE
Posted : 2/22/2021 4:00 PM
Post #47925 - In reply to #47917

Hello again Jim, AS USUAL YOU HIT THE NAIL ON THE HEAD ! Also thanks to Mark and Gary for their inputs ! Stay Safe
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.