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 max-td with 1 posts (1 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 gulabv with 1 posts (0 thanks)
    1. trending_up 5,910 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?
is there a better Trade Performance tool for NinjaTrader?
NinjaTrader
Help re translation of ninjascript to EL
NinjaTrader
Has anyone taken The Confident Trader course from aheadc …
Trading Reviews and Vendors
What You Know vs How much you know about it
Traders Hideout
Quantum physics & Trading dynamics
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
HumbleTraders next chapter
63 thanks
Tao te Trade: way of the WLD
45 thanks
ApexTraderFunding.com experience and review
26 thanks
What is Markets Chat (markets.chat) real-time trading ro …
21 thanks
1 Minute Man
19 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: 278 since Jun 2009
Thanks Given: 161
Thanks Received: 271


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
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,621 since Jun 2009
Thanks Given: 33,356
Thanks Received: 101,989


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



Join the free Markets Chat beta: Real-time Trading Insights

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 Twitter 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


© 2024 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 - Privacy Policy - Sitemap - Downloads - Top
no new posts