Vars implemetation to gbMACDx5 indicator - futures io
futures io



Vars implemetation to gbMACDx5 indicator


Discussion in NinjaTrader

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




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

Closed Thread
 
Search this Thread
 

Vars implemetation to gbMACDx5 indicator

(login for full post details)
  #1 (permalink)
 maxuscz 
Brno, Czech republic
 
Experience: Beginner
Platform: NinjaTrader
Trading: Emini ES
 
Posts: 22 since Dec 2020
Thanks: 12 given, 5 received

Hi all
Im insert vars to gbMACDx5 indicator
Trend chanding signals

So..
I add plot to code
 
Code
AddPlot(new Stroke(Brushes.Transparent, DashStyleHelper.Solid, 1), PlotStyle.Square, "Trend");
and put code in places where trending is counting. Nothig else

 
Code
Trend[0] = 1 /// when trend is up -1 for trend down and 0 for no trend
All worked. But I have output like this



No white color.. If you have idea how to return color back - tell me any idea please 8)

 
Code
/// Color Macd Histo based on perfect order
				if (t1 && t2 && t3 && t4)
				{
					PlotBrushes[0][0] = C3;
					Trend[0] = 1;
				}	
					
				else if (!t1 && !t2 && !t3 && !t4)
				{
					PlotBrushes[0][0] = C4;
					Trend[0] = -1;

				}
				else 
				{
					Trend[0] = 0;
				}

Attached Thumbnails
Click image for larger version

Name:	why.png
Views:	19
Size:	59.4 KB
ID:	311726  
Started this thread

Can you help answer these questions
from other members on futures io?
Power Meter for Ninjatrader (like Jigsaw or similar)
NinjaTrader
Needing harmonic patterns indicator
TradeStation
heatmap order flow +
NinjaTrader
Simple "runner" code
EasyLanguage Programming
EasyLanguage: fetch option price using Stock ticker
EasyLanguage Programming
 
Best Threads (Most Thanked)
in the last 7 days on futures io
How much do you know about Bitcoin?
97 thanks
FIO Journal Challenge - April 2021 w/Jigsaw Trading
38 thanks
The Crude Dude Oil Trading System
36 thanks
I finally blew up an account
35 thanks
EdgeProX from Edge Clear
20 thanks
 
(login for full post details)
  #2 (permalink)
 bobwest 
Site Moderator
Sarasota FL
 
Experience: Advanced
Platform: Sierra Chart, NinjaTrader
Trading: ES, YM
 
bobwest's Avatar
 
Posts: 6,492 since Jan 2013
Thanks: 49,136 given, 21,787 received

Hi @maxuscz,

Please attach copies of the original indicator and of your modified indicator (full source code files.) If you kept the same name for your modified version, please change the filename of the attachment. Then indicate the line numbers of the changes you have made, and explain more fully what is now not working.

Sorry to ask so much of you, but it you don't give people more to go on, they won't understand how to help.

I hope you receive the help you need to resolve this problem.

Bob.

When one door closes, another opens.
-- Cervantes, Don Quixote
Visit my futures io Trade Journal
The following user says Thank You to bobwest for this post:
 
(login for full post details)
  #3 (permalink)
 maxuscz 
Brno, Czech republic
 
Experience: Beginner
Platform: NinjaTrader
Trading: Emini ES
 
Posts: 22 since Dec 2020
Thanks: 12 given, 5 received


Hello Bob

I don't know how to behave in this situation
Cose indicators from closed member zone
but forum is open for all

It is brake rules or not... I dont know 8)
It is why Im not attach codes.

I get indicator here



If I post it here - it is OK or not?

Started this thread
The following user says Thank You to maxuscz for this post:
 
(login for full post details)
  #4 (permalink)
 bobwest 
Site Moderator
Sarasota FL
 
Experience: Advanced
Platform: Sierra Chart, NinjaTrader
Trading: ES, YM
 
bobwest's Avatar
 
Posts: 6,492 since Jan 2013
Thanks: 49,136 given, 21,787 received


maxuscz View Post
Hello Bob

I don't know how to behave in this situation
Cose indicators from closed member zone
but forum is open for all

It is brake rules or not... I dont know 8)
It is why Im not attach codes.

@maxuscz, You are right, and I should have thought of that. My mistake. I was just thinking about what a programmer would need to look at to try to help, but what you pointed out is more important.

The best thing is to repost your question in the NT free indicator thread, which is Elite-only. This way there will be no exposure of the source code outside of the Elite area. And you may be better able to attract programmer interest in that thread anyway.

The thread is here:



It will be OK to post the indicator code in that thread, in fact it is preferred that you do. You can also specify the lines you have changed, by line number, and the changes you have made.

I will close this thread now, as the discussion should go on in the Elite thread.

Bob.

When one door closes, another opens.
-- Cervantes, Don Quixote
Visit my futures io Trade Journal
The following user says Thank You to bobwest for this post:

Closed Thread

futures io Trading Community Platforms and Indicators NinjaTrader > Vars implemetation to gbMACDx5 indicator


Last Updated on April 19, 2021


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing

NEW BlackBird Features + FOREX Support w/Jeremy Tang @ SharkIndicators

Elite only
 

Our 12-year anniversary w/ $$,$$$ prizes (check soon)

June
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), info@futures.io
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.
no new posts