NexusFi: Find Your Edge


Home Menu

 





MTF EMA Crossover on single chart


Discussion in NinjaTrader

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




 
Search this Thread
  #1 (permalink)
 
ryangillespie's Avatar
 ryangillespie 
london, England
 
Experience: Intermediate
Platform: Ninjatrader
Trading: CL, ES
Posts: 41 since Nov 2011
Thanks Given: 10
Thanks Received: 2

Hi All,

First of all please forgive me if I ask stupid questions or questions you may think are very simple to answer. I am not a programmer or from a computer background, I am however trying to learn how to code ninjascript. So bare with me.

When trading I use a number of indicators but primaraly work from EMA crossovers, how difficult would it be to code an indicator that shows the current time frame (lets say 5min) with an EMA of 15/30 that goes red when crossed bellow and green when above.

As well as that have indicator lines at the bottom of the chart that do the same for 15min,30min,60min and 120min.

When each crosses the colour turns either red or green.

If someone can share some code that I could work from or give me a few pointers then I can try and make a start.

Thanks all.

Ryan


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Netherlands & Germany Surge as World Cup Field Narro …
Prediction Markets & Event Contracts
CPI Eve: Fed Hike Odds Hold at 52% for the First Time, I …
Prediction Markets & Event Contracts
Without Pulisic, USA 61.5% Live vs. Australia -- France …
Prediction Markets & Event Contracts
Double Deadlock: Rubio Calls Hormuz Tolls "Unfeasib …
Traders Hideout
Iran Peace Expired NO: Ceasefire on Life Support, OPEC a …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
3 thanks
  #2 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,099 since Jun 2009
Thanks Given: 877
Thanks Received: 8,098

click on on search box, select advance search, keyword 'cross' you will find many examples https://nexusfi.com/search/attachments/


Reply With Quote
Thanked by:
  #3 (permalink)
 
hunter548's Avatar
 hunter548 
western ny
 
Experience: Intermediate
Platform: ninjatrader
Broker: Amp Futures/CQG
Trading: 6E, ES
Posts: 102 since Nov 2009
Thanks Given: 197
Thanks Received: 93


If you don't have a multi-time frame EMA already, I suggest you search on attachments for VisualEMA. Slingshot and EMAcrossEMA can help with the crossover coloring.


Reply With Quote
  #4 (permalink)
 
ryangillespie's Avatar
 ryangillespie 
london, England
 
Experience: Intermediate
Platform: Ninjatrader
Trading: CL, ES
Posts: 41 since Nov 2011
Thanks Given: 10
Thanks Received: 2

Hi Guys,

Thanks for the advice, I just joined and found all the elite resources. Great stuff.

Thanks for the pointers.

Ryan


Started this thread Reply With Quote




Last Updated on December 8, 2011


© 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