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.

 
Zimbo

New User

Posts: 2

Joined: 7/1/2006
Location: Johannesburg, South Africa

User Profile
 
Subject : RE: Rolling Pivot Points
Posted : 10/31/2012 12:46 PM
Post #21377 - In reply to #4233

Its been some 4 years now since the coding for the Floor pivot indicator was posted up by Kris. I just love this indicator but am not very adept at coding. I copied the code into my OT 2012 PR 3C and it came up with a compling error as follows;

FileName: ; Line: 0; Char: 0; Error Number: -2;
Microsoft (R) Visual Basic Compiler version 8.0.50727.5420
for Microsoft (R) .NET Framework version 2.0.50727.5456
Copyright (c) Microsoft Corporation. All rights reserved.

C:\Program Files (x86)\Nirvana\OT2012\VBA\Temp\indDailyPivots60min.txt(165) : error BC30451: Name 'C' is not declared.

If (Bar > (C.Length() - ((NumberHistoricalPivots * LookBack) + CurrLookBack(Bar)))) Then
~
C:\Program Files (x86)\Nirvana\OT2012\VBA\Temp\indDailyPivots60min.txt(204) : error BC30451: Name 'C' is not declared.

ElseIf ((Bar > (C.Length() - CurrLookBack(Bar))) And (afBARHOUR_23(Bar - 1) <> 23)) Then
~

Maybe the newer version of OT has broken the code for the 2007 version. Can anybody help me with this?
Deleting message 21377 : RE: Rolling Pivot Points


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