Dark Theme
Light Theme
Trading Articles
Article Categories
Article Tools
Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to
register in order to view the content of the threads and start contributing to our community.
It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
NT Rising / Falling formula
Updated November 1, 2010
Top Posters
looks_one
diverdan
with 3 posts (0 thanks)
looks_two
max-td
with 1 posts (1 thanks)
looks_3
Quick Summary
with 1 posts (0 thanks)
looks_4
gulabv
with 1 posts (0 thanks)
trending_up
5,856 views
thumb_up
3 thanks given
group
3 followers
forum
7 posts
attach_file
0 attachments
NT Rising / Falling formula
October 31st, 2010, 09:38 PM
Singapore
Experience: Beginner
Platform: Multicharts, R
Trading: EUR / USD
Posts: 185 since Feb 2010
Thanks Given: 106
Thanks Received: 99
Hi
Does anyone know the formula behind the Ninja Rising / Falling functions?
Is it something like (for Rising SMA ):
if (SMA(Close, 40) > SMA(Close, 40)[1])
Rising = true;
else
Rising = false;
Can you help answer these questions from other members on NexusFi?
Best Threads (Most Thanked) in the last 7 days on NexusFi
October 31st, 2010, 10:27 PM
Dallas, TX
Experience: Beginner
Platform: Ninjatrader
Broker: Zen-Fire
Trading: ZN, 6E
Posts: 286 since May 2010
Thanks Given: 161
Thanks Received: 169
There are Ninjascript functions called Rising() and Falling() for the same purpose check it out it does what you need.
October 31st, 2010, 10:53 PM
Singapore
Experience: Beginner
Platform: Multicharts, R
Trading: EUR / USD
Posts: 185 since Feb 2010
Thanks Given: 106
Thanks Received: 99
That's what I want find out - what is the formula behind the Ninja functions
October 31st, 2010, 11:25 PM
Calcutta, India
Experience: Intermediate
Platform: ArthaChitra
Posts: 278 since Jun 2009
Thanks Given: 161
Thanks Received: 271
diverdan
Hi
Does anyone know the formula behind the Ninja Rising / Falling functions?
Is it something like (for Rising
SMA ):
if (
SMA(Close, 40) >
SMA(Close, 40)[1] )
Rising = true;
else
Rising = false;
your formula is wrong. the code as highlighted in red represents a data series while the code as highlighted in blue represents a double
change the dataseries to double like (SMA(Close,40)[0]) and you will get what you desire.
October 31st, 2010, 11:31 PM
Manta, Ecuador
Site Administrator Developer Swing Trader
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,446 since Jun 2009
Thanks Given: 33,217
Thanks Received: 101,610
bukkan
your formula is wrong. the code as highlighted in red represents a data series while the code as highlighted in blue represents a double
change the dataseries to double like (
SMA (Close,40)[0]) and you will get what you desire.
You should also remember there is also Neutral, neither Rising or Falling.
Mike
November 1st, 2010, 06:59 AM
Singapore
Experience: Beginner
Platform: Multicharts, R
Trading: EUR / USD
Posts: 185 since Feb 2010
Thanks Given: 106
Thanks Received: 99
What I am trying to do is create similar functions in Multicharts , which is why I wanted the formula.
November 1st, 2010, 07:45 AM
Frankfurt
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
Posts: 1,752 since Jun 2009
Thanks Given: 2,309
Thanks Received: 927
hi diverdan,
NTs help guide says :
Rising()
Definition
Checks for a rising condition which is true when the current value is greater than the value of 1 bar ago.
https://www.ninjatrader-support.com/HelpGuideV6/helpguide.html?Rising
-
Last Updated on November 1, 2010