NexusFi: Find Your Edge


Home Menu

 





Meaning of >=


Discussion in ThinkOrSwim

Updated
    1. trending_up 1,594 views
    2. thumb_up 0 thanks given
    3. group 3 followers
    1. forum 1 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
syracusepro
Syracuse, New York
 
Posts: 5 since Feb 2015
Thanks Given: 0
Thanks Received: 2

What is the meaning of the symbol => in Pine Script? it is not as >= or <=, but used for some other reason? Thanks.

Here is where the symbol is used:

#obv(src) =>
# cum(change(src) > 0 ? volume : change(src) < 0 ? -volume : 0*volume)


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
CPI Eve: Fed Hike Odds Hold at 52% for the First Time, I …
Prediction Markets & Event Contracts
Wood Mackenzie Drops $200 Oil Forecast -- Airspace Expir …
Prediction Markets & Event Contracts
I Have a Thing Called Iran -- Trump Stays in DC as Airsp …
Prediction Markets & Event Contracts
El Clasico Draws $9.2M in Prediction Market Action -- Bi …
Prediction Markets & Event Contracts
SEC Chairman Calls for New Golden Age of SEC-CFTC Regula …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
21 thanks
2026 Jlab journal
10 thanks
Trying to learn Volume and price action correlation
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Hello Im new here
5 thanks
  #2 (permalink)
 tulanch 
Salt Lake City, UT
 
Experience: Intermediate
Platform: SC, NT, MT
Broker: AMP
Trading: NQ ES YM Bonds
Posts: 285 since Mar 2010
Thanks Given: 51
Thanks Received: 404

I believe the conditional operator ? is what is adding complexity for you

here is a high level view of it


(something evaluated) ? if_true_do_this : else_do_this


see

https://docs.google.com/document/d/1sCfC873xJEMV7MGzt1L70JTStTE9kcG2q-LDuWWkBeY/edit


your example simply uses it twice within itself

you could do the same thing with


if( compare something)
{
do this if true
}
else
{
do this if false

if( compare something else)
{
do this if true
}
else
{
do this if false
}
}



some like conditional operators because with some compilers/interpreters it's faster/quicker/cooler but whats a few cpu ticks with today's computers...I opt for readability


Reply With Quote




Last Updated on February 10, 2016


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts