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.

 
Manfred

Veteran
100100
Posts: 210

Joined: 4/2/2006
Location: South Africa

User Profile
 
Subject : RE: OL for Crossing above or Crossing below
Posted : 1/12/2019 10:27 AM
Post #30247 - In reply to #30246

If it crucial to know when the condition is equal in addition to the crossover conditions simply add an additional OR statement to the condition formula. In my worked example that would be.

( MACD(12,26) > 0 AND MACD(12,26)[1] >= 0 ) OR ( MACD(12,26) < 0 AND MACD(12,26)[1] <= 0 ) OR MACD(12,26) = 0
Deleting message 30247 : RE: OL for Crossing above or Crossing below


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