OmniTrader Professional Forum OmniTrader Professional 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 Professional Forum
OmniScripts
Bull and Bear reversal OmniScript ...
Last Activity 2/8/2020 8:49 AM
1 replies, 52 viewings

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

^ Top
ap·pren·ticeGuru

Veteran
100
Posts: 102

Joined: 10/22/2010
Location: Columbia, MD

User Profile
 
Subject : Bull and Bear reversal OmniScript ...
Posted : 2/8/2020 8:26 AM
Post #30806

Hello,

Please help define the below in OmniScript if possible:

(1). OmniScript for a bull reversal bars have more than one of the following:

• An open near or below the close of the prior bar and a close above the
open and above the prior bar's close
• A lower tail that is about one-third to one-half the height of the bar and a small or nonexistent upper tail
• Not much overlap with the prior bar or bars

(2) OmniScript for a bear reversal bars that have:

• An open near or above the close of the prior bar and a close below the
open and below the prior bar's close
• An upper tail that is about one-third to one-half the height of the bar
and a small or nonexistent lower tail
• Not much overlap with the prior bar or bars

Thanks a bunch.
^ Top
Jim Dean

Sage
200010001001002525
Posts: 3272

Joined: 3/13/2006
Location: L'ville, GA

User Profile
 
Subject : RE: Bull and Bear reversal OmniScript ...
Posted : 2/8/2020 8:49 AM
Post #30807 - In reply to #30806

Here is the bull reversal - see if you can modify it for the bear reversal …
I’ve used arbitrary ATR multiples to handle your descriptions that say “near”, “about”, “small” etc … season to taste)
I did NOT include logic for your “not much overlap” rule since it was way too vague. How many prior bars? What do you mean by overlap? How much is not much, especially in light of your #1 requirement to have *some* overlap.
Good luck!

C > O and C > C[1] and O < C[1] * ATR(14)/10 and math.min(O,C) - L >= (H - L)/3 and math.min(O,C) - L <= (H - L)/2 and H - math.max(O,C) < ATR(14)/10
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.