NexusFi: Find Your Edge


Home Menu

 





Custom indicators


Discussion in NinjaTrader

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




 
Search this Thread
  #1 (permalink)
jmp470
San Antonio, TX
 
Posts: 96 since May 2019
Thanks Given: 46
Thanks Received: 57

Greetings all,

How would I code a custom Pivot Oscillator, like this into Ninja Trader 8? It is not one of the indicators in the drop down menu, so I'm assuming it is not in the system.

// PIVOT OSCILLO onchart PRC DID Pivot Oscillator – ProRealCode – prorealtime programming
pivot = (HIGH+LOW+CLOSE+OPEN)/4
mm = AVERAGE[mmperiod,MAtype](pivot)
RETURN mm as “pivot oscillator”, customclose as ” customclose ”
// Variables :
// mmperiod = 14 perso = 20
// MATYPE = expo perso = triangulaire


I'm still evaluating the software to see if I like it, before I fund the account. So far I like it.

Thank you for the help


Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Day 96 Missiles Hit Kuwait and Bahrain: June 15 Peace at …
Prediction Markets & Event Contracts
Kalshi Sets $4.13B All-Time Weekly Record as Polymarket …
Prediction Markets & Event Contracts
Victory Day Delivers: Russia-Ukraine Ceasefire Market Cl …
Prediction Markets & Event Contracts
The Confluence Meter: A Multi-Layered Signal Framework B …
The Elite Circle
Orban Crashes to 21pct on Record Turnout -- McIlroy Drop …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
7 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #2 (permalink)
 
NinjaTrader's Avatar
 NinjaTrader  NinjaTrader is an official Site Sponsor
Site Sponsor

Web: NinjaTrader
AMA: Ask Me Anything
Webinars: NinjaTrader Webinars
Elite offer: Click here
 
Posts: 1,715 since May 2010
Thanks Given: 203
Thanks Received: 2,688


jmp470 View Post
Greetings all,

How would I code a custom Pivot Oscillator, like this into Ninja Trader 8? It is not one of the indicators in the drop down menu, so I'm assuming it is not in the system.

// PIVOT OSCILLO onchart PRC DID Pivot Oscillator – ProRealCode – prorealtime programming
pivot = (HIGH+LOW+CLOSE+OPEN)/4
mm = AVERAGE[mmperiod,MAtype](pivot)
RETURN mm as “pivot oscillator”, customclose as ” customclose ”
// Variables :
// mmperiod = 14 perso = 20
// MATYPE = expo perso = triangulaire


I'm still evaluating the software to see if I like it, before I fund the account. So far I like it.

Thank you for the help

It's not in the default list as you pointed out, you could search https://ninjatraderecosystem.com/ to see if something like this exists. Be sure to check both sections of this site, the main commercial 3rd party tools and add ons and the User App share which is user created indicators etc. If that fails, you could see if a kind soul would program that for you. Based on the logic provided, it's a very quick and simple project. Ten minutes for someone with reasonable NinjaScript skills.


Disclosure: This communication is sent to you by NinjaTrader, LLC, a software development company which owns and supports all proprietary technology relating to and including the NinjaTrader trading platform.
Follow me on X Reply With Quote
Thanked by:
  #3 (permalink)
jmp470
San Antonio, TX
 
Posts: 96 since May 2019
Thanks Given: 46
Thanks Received: 57



NinjaTrader View Post
It's not in the default list as you pointed out, you could search https://ninjatraderecosystem.com/ to see if something like this exists. Be sure to check both sections of this site, the main commercial 3rd party tools and add ons and the User App share which is user created indicators etc. If that fails, you could see if a kind soul would program that for you. Based on the logic provided, it's a very quick and simple project. Ten minutes for someone with reasonable NinjaScript skills.

Thank you for providing me that site. I will get my search on


Reply With Quote
Thanked by:
  #4 (permalink)
 
DavidHP's Avatar
 DavidHP 
Isla Mujeres, MX
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: NQ / ES / 6E / 6B / CL
Frequency: Every few days
Duration: Minutes
Posts: 1,801 since Aug 2009
Thanks Given: 11,742
Thanks Received: 3,018


jmp470 View Post
Greetings all,

How would I code a custom Pivot Oscillator, like this into Ninja Trader 8? It is not one of the indicators in the drop down menu, so I'm assuming it is not in the system.

// PIVOT OSCILLO onchart PRC DID Pivot Oscillator – ProRealCode – prorealtime programming
pivot = (HIGH+LOW+CLOSE+OPEN)/4
mm = AVERAGE[mmperiod,MAtype](pivot)
RETURN mm as “pivot oscillator”, customclose as ” customclose ”
// Variables :
// mmperiod = 14 perso = 20
// MATYPE = expo perso = triangulaire


I'm still evaluating the software to see if I like it, before I fund the account. So far I like it.

Thank you for the help

Perhaps the best option is to ask here:


Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Follow me on X Reply With Quote
Thanked by:




Last Updated on May 9, 2019


© 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