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.

 
Matthew Greenslet

Idol
2000252525
Posts: 2077

Joined: 2/27/2006

User Profile
 
Subject : RE: Help on Olang - System
Posted : 8/30/2010 11:53 AM
Post #16930 - In reply to #16913

An Integer is any whole number I.E. -2, -1, 0, 1, 2, ect.

the += syntax is a standard coding meaning add some value to the orginial

nVar += 1 will return the same result as nVar = nVar + 1.

The reason I use a lookback of nBarsSincePattern + 1 is because your pattern definition requires 3 bars to make a pattern where the middle bar forms the lowest low. We reset the counter to 0 on the right most bar of your pattern. Since you wanted to reference some price point of this middle bar we need to lookback 1 bar + the number of bars since the last pattern reach the middle bar you wanted to use.
Deleting message 16930 : RE: Help on Olang - System


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