NexusFi: Find Your Edge


Home Menu

 





Trouble with ChannelThis and DoubleMA


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one lolu with 6 posts (1 thanks)
    2. looks_two Big Mike with 4 posts (0 thanks)
    3. looks_3 sharky with 1 posts (0 thanks)
    4. looks_4 KJAVED with 1 posts (0 thanks)
    1. trending_up 9,300 views
    2. thumb_up 1 thanks given
    3. group 3 followers
    1. forum 11 posts
    2. attach_file 1 attachments




 
Search this Thread
  #1 (permalink)
 
lolu's Avatar
 lolu 
Lagos, Nigeria
 
Experience: Intermediate
Platform: NinjaTrader, SierraChart
Trading: Euro Currency & Oil
Frequency: Daily
Duration: Hours
Posts: 2,556 since Jun 2009
Thanks Given: 1,050
Thanks Received: 1,682

The colors of DoubleMA and ChannelThis indicator disappears when NinjaTrader is closed (exited) and relaunched. I modified and recompiled the indicator but the colors would not stay. They all just turn white at the indicator settings.

What needs to be done toretain the colors.


Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Victory Day Delivers: Russia-Ukraine Ceasefire Market Cl …
Prediction Markets & Event Contracts
Pakistan Mediator in Tehran as Hormuz Normalization Coll …
Prediction Markets & Event Contracts
Warsh Drops Easing Bias, December Hike Now Above 50% -- …
Prediction Markets & Event Contracts
Four New E-mini Futures Launch June 29 -- Russell 3000, …
Emini and Emicro Index
The Backwardation Signal: How the CL Futures Curve Tells …
Commodities
 
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
  #2 (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,669 since Jun 2009
Thanks Given: 33,669
Thanks Received: 102,577


lolu View Post
The colors of DoubleMA and ChannelThis indicator disappears when NinjaTrader is closed (exited) and relaunched. I modified and recompiled the indicator but the colors would not stay. They all just turn white at the indicator settings.

What needs to be done toretain the colors.

With ChannelThis I forgot to serialize the colors. When I do another update to this indicator I will fix it.

DoubleMA should work afaik.

In either case, you can just change the default colors by editing the indicator, the colors are listed at the top under #variables.

You'll need to remove it from your chart and then re-add it after you compile. Then save your template or workspace and it should be fine.

Mike


Follow me on X Visit my NexusFi Trade Journal Reply With Quote
  #3 (permalink)
 
lolu's Avatar
 lolu 
Lagos, Nigeria
 
Experience: Intermediate
Platform: NinjaTrader, SierraChart
Trading: Euro Currency & Oil
Frequency: Daily
Duration: Hours
Posts: 2,556 since Jun 2009
Thanks Given: 1,050
Thanks Received: 1,682



Big Mike View Post
With ChannelThis I forgot to serialize the colors. When I do another update to this indicator I will fix it.

DoubleMA should work afaik.

In either case, you can just change the default colors by editing the indicator, the colors are listed at the top under #variables.

You'll need to remove it from your chart and then re-add it after you compile. Then save your template or workspace and it should be fine.

Mike

Changing the colors, recompiling and following your instructions still did not work. I'll wait till you have an update


Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #4 (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,669 since Jun 2009
Thanks Given: 33,669
Thanks Received: 102,577


lolu View Post
Changing the colors, recompiling and following your instructions still did not work. I'll wait till you have an update

lolu, I'm not sure I understand. You're saying you changed the colors inside the .cs file (not on the chart), recompiled, removed the indicator from your chart, re-added it to your chart, and the colors were not the ones you directly programmed into the .cs file?

That's not likely

Let me know, I think perhaps you missed a step.

Mike


Follow me on X Visit my NexusFi Trade Journal Reply With Quote
  #5 (permalink)
 
lolu's Avatar
 lolu 
Lagos, Nigeria
 
Experience: Intermediate
Platform: NinjaTrader, SierraChart
Trading: Euro Currency & Oil
Frequency: Daily
Duration: Hours
Posts: 2,556 since Jun 2009
Thanks Given: 1,050
Thanks Received: 1,682

Yeah ! I changed the colors inside the ChannelThis.cs, recompiled, removed the indicator from my chart, etc; and the colors still disappeared. A curious look at the ChannelThis.cs files shows that apart from the the colors declaration in "#region Variable" the colors are also declared in "protected override void Initialize()" section. I also noticed that the color declarations in both sections do not correlate (i.e. Color.Maroon, Color.RoyalBlue, Color.Yellow in "#region Variables", but KnownColor.Maroon, KnownColor.DarkGray, KnownColor.RoyalBlue in "protected override void Initialize". In any case, I changed the colors in both sections and in the same pattern; and no SUCCESS.


Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #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,669 since Jun 2009
Thanks Given: 33,669
Thanks Received: 102,577


lolu View Post
Yeah ! I changed the colors inside the ChannelThis.cs, recompiled, removed the indicator from my chart, etc; and the colors still disappeared. A curious look at the ChannelThis.cs files shows that apart from the the colors declaration in "#region Variable" the colors are also declared in "protected override void Initialize()" section. I also noticed that the color declarations in both sections do not correlate (i.e. Color.Maroon, Color.RoyalBlue, Color.Yellow in "#region Variables", but KnownColor.Maroon, KnownColor.DarkGray, KnownColor.RoyalBlue in "protected override void Initialize". In any case, I changed the colors in both sections and in the same pattern; and no SUCCESS.

lolu, there is a new version posted here that will fix it:
https://nexusfi.com/local_links.php?linkid=22

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
  #7 (permalink)
 
lolu's Avatar
 lolu 
Lagos, Nigeria
 
Experience: Intermediate
Platform: NinjaTrader, SierraChart
Trading: Euro Currency & Oil
Frequency: Daily
Duration: Hours
Posts: 2,556 since Jun 2009
Thanks Given: 1,050
Thanks Received: 1,682

ChannelThis now works. Meanwhile, Mike, could you please suggest MA1 and MA2 settings for Forex Trading for both ChannelThis and DoubleMAPaint. The default settings are MA1=3, MA2=14 (for ChannelThis) and MA1Period=34, MA2Period=34 (for DoubleMAPaint).

Sharky, could you post the indicators used in your setup, particularly the ones at the lower windows. I suspect one of them is the ECO2; and the other looks like the FXFreedomBars indicator on MetaTrader 4.


Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #8 (permalink)
 
sharky's Avatar
 sharky 
MIAMI,FL
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, tradingview
Broker: Private
Trading: Crypto and natural gas
Posts: 1,064 since Jun 2009
Thanks Given: 625
Thanks Received: 3,909

lolu all my settings and indicators are posted all over the place the ones on the bottem are just a eco2 and 2 dma
ps why are you wanting to trade forex dont you know its a scam?...sharky


Visit my NexusFi Trade Journal Reply With Quote
  #9 (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,669 since Jun 2009
Thanks Given: 33,669
Thanks Received: 102,577


lolu View Post
ChannelThis now works. Meanwhile, Mike, could you please suggest MA1 and MA2 settings for Forex Trading for both ChannelThis and DoubleMAPaint. The default settings are MA1=3, MA2=14 (for ChannelThis) and MA1Period=34, MA2Period=34 (for DoubleMAPaint).

Sharky, could you post the indicators used in your setup, particularly the ones at the lower windows. I suspect one of them is the ECO2; and the other looks like the FXFreedomBars indicator on MetaTrader 4.

lolu,

Glad to hear it!

Here are some of sharky's settings:


I don't trade forex and don't use DoubleMA or ChannelThis. But I know that many others here do, so I hope they can help with some recommended settings for you. If you don't get some answers, try the chatbox as well.

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
  #10 (permalink)
 KJAVED 
Toronto Canada
 
Experience: Intermediate
Platform: ninja Trader, Ensign,Market Delta
Broker: AMP,Global Futures
Trading: Eminis
Posts: 97 since Jun 2009
Thanks Given: 46
Thanks Received: 83


Just Try Setting 16 ZerolagEMA and 5 ADAXVMA.


Reply With Quote




Last Updated on June 21, 2009


© 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