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
Plug-ins for OmniTrader
profit bands colored based on slope
Last Activity 9/18/2024 6:18 AM
4 replies, 1171 viewings

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

^ Top
panetmoto

Member

Posts: 11

Joined: 1/15/2018
Location: visalia

User Profile
 
Subject : profit bands colored based on slope
Posted : 4/13/2022 9:30 AM
Post #48610

any way to get the vwap to color red when it is down sloping
Attached file : 4-12-2022 6-34-47 PM.jpg (470KB - 141 downloads)

^ Top
Barry Cohen

Sage
5000100010010010025
Posts: 6338

Joined: 1/19/2004

User Profile
 
Subject : RE: profit bands colored based on slope
Posted : 4/13/2022 9:52 AM
Post #48613 - In reply to #48610

Yes, you can use a formula like this to color red when one bar is at a lower level than the previous bar: Indicator < Indicator[1]

If you want a greater slope, you can add additional previous bars like this: Indicator < Indicator[1] AND Indicator[1] < Indicator[2].

^ Top
panetmoto

Member

Posts: 11

Joined: 1/15/2018
Location: visalia

User Profile
 
Subject : RE: profit bands colored based on slope
Posted : 4/13/2022 10:00 AM
Post #48614 - In reply to #48610

thank you Barry
^ Top
panetmoto

Member

Posts: 11

Joined: 1/15/2018
Location: visalia

User Profile
 
Subject : RE: profit bands colored based on slope
Posted : 4/13/2022 10:40 AM
Post #48616 - In reply to #48610

#Indicator

Return 0 ' Return the value calculated by the indicator
VWAP(1,1) < VWAP(1,1)[1] and VWAP(1,1) [1] < VWAP(1,1) [2]



here is what i have and says build failed
^ Top
Jim Dean

Sage
20001000
Posts: 3022

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

User Profile
 
Subject : RE: profit bands colored based on slope
Posted : 4/13/2022 11:00 AM
Post #48617 - In reply to #48616

Eliminate the #Indicator and Return lines.

All you need is the boolean script rule.

Apply it in the Color Chart definition.

Check Help for how that works.
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.