NexusFi: Find Your Edge


Home Menu

 





MA region color indicator. help needed


Discussion in NinjaTrader

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




 
Search this Thread
  #1 (permalink)
 
Doppio's Avatar
 Doppio 
Burnie Tasmania
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus Zenfire
Trading: 6E
Posts: 42 since May 2010
Thanks Given: 19
Thanks Received: 11

I have been struggling over coding a simple indicator that will give me a visual of a region color when one EMA is above or below another EMA.
There are so many errors in my code and I really have no idea what I am doing. I am sure someone out there with experience will be able to assist me. I know you may laugh- and I don't blame you... Anyway- I had a go.
Thanks in advance
Doppio


Attached Files
Elite Membership required to download: 2EMA region color.doc
Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
CME Raises Energy Futures Margins After Iran-War Volatil …
Commodities
Peace Deal Forward Curve: May 22%, June 51%, December 81 …
Prediction Markets & Event Contracts
Victory Day Delivers: Russia-Ukraine Ceasefire Market Cl …
Prediction Markets & Event Contracts
Iran Peace Expired NO: Ceasefire on Life Support, OPEC a …
Prediction Markets & Event Contracts
Iran Fired a Missile at Israel Last Night. The $8M June …
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
1 thanks
  #3 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,758 since Jun 2009
Thanks Given: 3,828
Thanks Received: 4,644


Check this, and compare the code with your original version.

RegionMA.cs



Very quickly done, so maybe not perfect at all.


Success requires no deodorant! (Sun Tzu)
Reply With Quote
Thanked by:
  #4 (permalink)
 
Doppio's Avatar
 Doppio 
Burnie Tasmania
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus Zenfire
Trading: 6E
Posts: 42 since May 2010
Thanks Given: 19
Thanks Received: 11

SAM028- I am in your debt mate.
That is perfect.
When I compared your code to mine- and you said it was very quickly done, I was thinking I would have to tweak this or that...
What I realized is that your coding is like the plans for a 747 and mine like the that of a billy cart.
Thank you so much.
Now I want to go line by line and try and work out what each piece means.
Much appreciated
Doppio


Started this thread Reply With Quote




Last Updated on June 8, 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