NexusFi: Find Your Edge


Home Menu

 





NT Rising / Falling formula


Discussion in Traders Hideout

Updated
      Top Posters
    1. looks_one diverdan with 3 posts (0 thanks)
    2. looks_two Big Mike with 1 posts (2 thanks)
    3. looks_3 bukkan with 1 posts (0 thanks)
    4. looks_4 max-td with 1 posts (1 thanks)
    1. trending_up 6,806 views
    2. thumb_up 3 thanks given
    3. group 3 followers
    1. forum 7 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 diverdan 
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;


Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Thanks Mike. Godspeed.
The Elite Circle
Czechia Live at 52.5% as England Rides 4-2 Wave to Co-Fa …
Prediction Markets & Event Contracts
Netherlands & Germany Surge as World Cup Field Narro …
Prediction Markets & Event Contracts
Warsh Drops Easing Bias, December Hike Now Above 50% -- …
Prediction Markets & Event Contracts
Fed Hike Odds at 57% After Warsh: England Surges 12.9%, …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Want your NinjaTrader indicator created, free?
5 thanks
Denied 20K payouts: Alpha Futures
2 thanks
FootPrintV2 Chart for NT8
1 thanks
BERN ALGOS algo trading journal
1 thanks
Afternoon-close session
1 thanks
  #3 (permalink)
 
gulabv's Avatar
 gulabv 
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.


Reply With Quote
  #4 (permalink)
 diverdan 
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


Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #5 (permalink)
 bukkan 
Calcutta, India
 
Experience: Intermediate
Platform: ArthaChitra
Posts: 279 since Jun 2009
Thanks Given: 161
Thanks Received: 272


diverdan View Post
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.


Reply With Quote
  #6 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 R.I.P. 1977-2026 
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,669 since Jun 2009
Thanks Given: 33,669
Thanks Received: 102,586


bukkan View Post
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




We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on X Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #7 (permalink)
 diverdan 
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.


Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #8 (permalink)
 
max-td's Avatar
 max-td 
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

-


max-td
Reply With Quote
Thanked by:




Last Updated on November 1, 2010


© 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