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: ATM Micro States Method
Posted : 3/5/2018 6:26 PM
Post #29925 - In reply to #29924

Note that default for ATT is usually 14, not 4. And I thought you realized that your ATR/C formula was different than MattG’s Indicator … MattG’s has 5-period SMA smoothing. That is:
Sma( ATR(14)/C, 5) … protected with iif for division by zero that would be:
iif( math.min(C,5) <= 0, 0, Sma( ATR(14)/C, 5) )
… that formula provides more protection than MattG’s does, but should match its results precisely.

And - running without iif versus with iif should make ZERO difference. The only places the iif takes effect are on bars where the exchange was closed for that day, or other odd data issues appear. I suggest you redo your tests.
Deleting message 29925 : RE: ATM Micro States Method


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