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

Posts: 3152

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

User Profile
Subject : RE: Simply buy system
Posted : 11/15/2017 10:05 AM
Post #29682 - In reply to #29680

You can do all this with an Indicator much more easily, I suspect. Think about simulating the entries and exits in the Indicator, and keeping track of whatever stats you want to examine, also within the indicator. You can output the results via a "Debugmsg(string-variable)" command in OLang, or use "if bar = Numrec-1 then MsgBox(string-variable)" to see a popup. NOTE: the if/then with MsgBox is *important*, to prevent a repeat on every bar.
Deleting message 29682 : RE: Simply buy system

Nirvana Systems
For any problems or issues please contact our Webmaster at