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.


  Current location        Thread information  
OmniTrader Professional Forum
OmniLanguage Discussion
Decimals in Focus List
Last Activity 2/19/2021 11:09 AM
2 replies, 64 viewings

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

^ Top
Duxx

Elite
50010010010025
Posts: 846

Joined: 2/18/2009

User Profile
 
Subject : Decimals in Focus List
Posted : 2/18/2021 8:23 PM
Post #31406

Is there a way to chose the number of decimals on the focus list for a omniscript formula?

Thanks

[Edited by Duxx on 2/18/2021 8:25 PM]

^ Top
Barry Cohen

Idol
2000100
Posts: 2112

Joined: 1/1/1900

User Profile
 
Subject : RE: Decimals in Focus List
Posted : 2/19/2021 11:03 AM
Post #31407 - In reply to #31406

You can do something like this which gives you the net percent change & rounds to 2 decimal places.

Math.Round(((C-C[1]) / C[1] * 100), 2)

^ Top
Duxx

Elite
50010010010025
Posts: 846

Joined: 2/18/2009

User Profile
 
Subject : RE: Decimals in Focus List
Posted : 2/19/2021 11:09 AM
Post #31408 - In reply to #31406

Thank you Barry.
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.