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.


  Current location        Thread information  
OmniTrader Upgrade Forums
OmniTrader Feature Requests
Indicators: Choose between line and columns
Last Activity 7/28/2024 12:06 PM
6 replies, 854 viewings

Jump to page : 1
Now viewing page 1 [25 messages per page]
 
back reply
Printer friendly version

^ Top
Rean

Veteran
100
Posts: 105

Joined: 8/30/2013
Location: Johannesburg, South Africa

User Profile
 
Subject : Indicators: Choose between line and columns
Posted : 3/13/2021 1:24 PM
Post #47967

Is there a way to change an indicator from a line to columns or histogram?
^ Top
Rean

Veteran
100
Posts: 105

Joined: 8/30/2013
Location: Johannesburg, South Africa

User Profile
 
Subject : RE: Indicators: Choose between line and columns
Posted : 3/13/2021 2:28 PM
Post #47968 - In reply to #47967

To add to my post. I have created a quick indictor (I have OT2020 RT) which plots on my chart. I have figured out that the indicators code is in a text file in OT2020\VBA\QuickIndicators. I've also figured out that "BaseLevel" is used in histograms and have applied the syntax in the text file for the quick indicator. It makes no difference, the indicator still displays as a line.
^ Top
Jim Dean

Sage
20001000
Posts: 3022

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

User Profile
 
Subject : RE: Indicators: Choose between line and columns
Posted : 3/13/2021 2:42 PM
Post #47969 - In reply to #47968

Plothist(“label”, value, baseline, color, width)

If it looks like a line then probably your value is fixed, equal to baseline.

Post your code and I’ll take a look.

You need OT Pro for this. I dont think quick indicators have a histogram plot option.


[Edited by Jim Dean on 3/13/2021 2:58 PM]

^ Top
Rean

Veteran
100
Posts: 105

Joined: 8/30/2013
Location: Johannesburg, South Africa

User Profile
 
Subject : RE: Indicators: Choose between line and columns
Posted : 3/13/2021 2:48 PM
Post #47970 - In reply to #47967

Thanks Jim, appreciate it.

#Indicator

Dim fValue As Single

fValue = RSI(8)-50 * 1.5
Plothisto("Value", fValue,1,green,5)

Return fValue
^ Top
Jim Dean

Sage
20001000
Posts: 3022

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

User Profile
 
Subject : RE: Indicators: Choose between line and columns
Posted : 3/13/2021 2:57 PM
Post #47971 - In reply to #47970

Not at my PC but my guess is that you meant this:

fValue = ( RSI(8)-50 ) * 1.5
Plothist(“value”, fvalue, 0, green, 1)
… my iPhone apparently added an “o” earlier.

Precedence of operators is important in coding. * & / happen before + & -

[Edited by Jim Dean on 3/13/2021 3:00 PM]

^ Top
Rean

Veteran
100
Posts: 105

Joined: 8/30/2013
Location: Johannesburg, South Africa

User Profile
 
Subject : RE: Indicators: Choose between line and columns
Posted : 3/13/2021 3:05 PM
Post #47972 - In reply to #47967

Still the same. Looks like it's not possible with the QuickIndicator.

Thanks for helping anyway :-)
^ Top
Rean

Veteran
100
Posts: 105

Joined: 8/30/2013
Location: Johannesburg, South Africa

User Profile
 
Subject : RE: Indicators: Choose between line and columns
Posted : 3/13/2021 3:08 PM
Post #47973 - In reply to #47967

Hold your horses Houston, I was too quick in responding ... it works. Thanks Jim
Jump to page : 1
Now viewing page 1 [25 messages per page]
back reply

Legend    Action      Notification  
Administrator
Forum Moderator
Registered User
Unregistered User
E-Mail this thread to a friend
Toggle e-mail notification


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