OmniTrader Forum OmniTrader 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
20001000
Posts: 3022

Joined: 9/21/2006
Location: L'ville, GA

User Profile
 
Subject : RE: Volume Scaling Problem
Posted : 1/14/2014 6:27 AM
Post #30596 - In reply to #30594

Happy to help.

This is an example for folks who don't own OT Pro (yet) of how easy it is to do stuff that is outside the scope of native OT capabilities. OT Pro is the best upgrade for your money to the base OT package, since it offers literally infinite possibilities.

This code is a good "template" for combining other things too. The trick is the Lo/Hi/SetScales stuff.

Just set up param's to match those for the desired indicators, define a variable to hold the indicator values (like VolMA), calc the values using internal OT function calls, and plot the results (one plot statement per indicator).

This example does not plot V since I presumed that you wanted to see the pretty VHI colors.

Note - if you try to overlay two indic's on the same scale, make sure their individual scale are "compatible". The routine will automatically display the range as the lowest low to the highest high amongst the two you calc.


[Edited by Jim Dean on 1/14/2014 6:30 AM]

Deleting message 30596 : RE: Volume Scaling Problem


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