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.


Only Forum Moderators, Administrators, and the owner of this message may delete it.

 
Jim Dean

Sage
2000100010010010010025
Posts: 3433

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
Deleting message 30807 : RE: Bull and Bear reversal OmniScript ...


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