Elder Impulse Paintbar - futures io
futures io



Elder Impulse Paintbar


Discussion in MultiCharts

Updated
      Top Posters
    1. looks_one ABCTG with 1 posts (0 thanks)
    2. looks_two sixhundread with 1 posts (0 thanks)
    3. looks_3 dWbstreet with 1 posts (0 thanks)
    4. looks_4 Shaban with 1 posts (0 thanks)
    1. trending_up 1,688 views
    2. thumb_up 0 thanks given
    3. group 5 followers
    1. forum 3 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 150,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)

 
Search this Thread
 

Elder Impulse Paintbar

(login for full post details)
  #1 (permalink)
dWbstreet
Daytona Beach, Florida
 
 
Posts: 1 since Jan 2011
Thanks: 0 given, 0 received

Any chance anyone out there would be kind enough to post the code for this. It's just a simple if then statement. I don't understand the syntax of Multicharts.net and there are limited tutorials (none on how to integrate existing studies with paintbars)
I have exhausted my research, and it's not worth $70 I was quoted to have someone copy paste a sequence.

Thanks so much.

This was my code from Thinkorswim:

input length = 13;
input paintBars = yes;

def EMA = ExpAverage(close, length);
def MACD = ExpAverage(close, 12) - ExpAverage(close, 26);
def MACDHist = MACD - ExpAverage(MACD, 9);
def GreenPrice = EMA > EMA[1] and MACDHist > MACDHist[1];
def RedPrice = EMA < EMA[1] and MACDHist < MACDHist[1];

plot Bullish = GreenPrice;
plot Neutral = !GreenPrice and !RedPrice;
plot Bearish = RedPrice;

Bullish.SetDefaultColor(Color.UPTICK);
Bullish.SetPaintingStrategy(PaintingStrategy.BOOLEAN_POINTS);
Bullish.SetLineWeight(3);
Bullish.hide();
Neutral.SetDefaultColor(Color.BLUE);
Neutral.SetPaintingStrategy(PaintingStrategy.BOOLEAN_POINTS);
Neutral.SetLineWeight(3);
Neutral.hide();
Bearish.SetDefaultColor(Color.DOWNTICK);
Bearish.SetPaintingStrategy(PaintingStrategy.BOOLEAN_POINTS);
Bearish.SetLineWeight(3);
Bearish.hide();

DefineGlobalColor("Bullish", Color.UPTICK);
DefineGlobalColor("Neutral", Color.BLUE);
DefineGlobalColor("Bearish", Color.DOWNTICK);
AssignPriceColor(if !paintBars then Color.CURRENT else if GreenPrice then globalColor("Bullish") else if RedPrice then globalColor("Bearish") else globalColor("Neutral"));

Reply With Quote

Can you help answer these questions
from other members on futures io?
NT8 - Footprint Chart adding on code
NinjaTrader
 
 
(login for full post details)
  #2 (permalink)
 ABCTG   is a Vendor
 
 
Posts: 2,332 since Apr 2013
Thanks: 425 given, 1,551 received

dWbstreet,

the Multicharts.NET programming guide is a good start and for the syntax any beginner C# book or tutorial should teach you what you need to know:

https://www.multicharts.com/downloads/MultiCharts.NET-ProgrammingGuide-v1.1.pdf

The futures.io member @Jura runs the website https://www.tradingcode.net/ which has excellent content for MC.NET. Going through these tutorials should teach you what you need to know to write your indicator - unfortunately it's not just "copy and paste", though.

Regards,

ABCTG

Follow me on Twitter Reply With Quote
 
(login for full post details)
  #3 (permalink)
sixhundread
Vienna and Austria
 
 
Posts: 36 since Jul 2021
Thanks: 21 given, 7 received



dWbstreet View Post
Any chance anyone out there would be kind enough to post the code for this. It's just a simple if then statement. I don't understand the syntax of Multicharts.net and there are limited tutorials (none on how to integrate existing studies with paintbars)
I have exhausted my research, and it's not worth $70 I was quoted to have someone copy paste a sequence.

Thanks so much.

This was my code from Thinkorswim:

input length = 13;
input paintBars = yes;

def EMA = ExpAverage(close, length);
def MACD = ExpAverage(close, 12) - ExpAverage(close, 26);
def MACDHist = MACD - ExpAverage(MACD, 9);
def GreenPrice = EMA > EMA[1] and MACDHist > MACDHist[1];
def RedPrice = EMA < EMA[1] and MACDHist < MACDHist[1];

plot Bullish = GreenPrice;
plot Neutral = !GreenPrice and !RedPrice;
plot Bearish = RedPrice;

Bullish.SetDefaultColor(Color.UPTICK);
Bullish.SetPaintingStrategy(PaintingStrategy.BOOLEAN_POINTS);
Bullish.SetLineWeight(3);
Bullish.hide();
Neutral.SetDefaultColor(Color.BLUE);
Neutral.SetPaintingStrategy(PaintingStrategy.BOOLEAN_POINTS);
Neutral.SetLineWeight(3);
Neutral.hide();
Bearish.SetDefaultColor(Color.DOWNTICK);
Bearish.SetPaintingStrategy(PaintingStrategy.BOOLEAN_POINTS);
Bearish.SetLineWeight(3);
Bearish.hide();

DefineGlobalColor("Bullish", Color.UPTICK);
DefineGlobalColor("Neutral", Color.BLUE);
DefineGlobalColor("Bearish", Color.DOWNTICK);
AssignPriceColor(if !paintBars then Color.CURRENT else if GreenPrice then globalColor("Bullish") else if RedPrice then globalColor("Bearish") else globalColor("Neutral"));



Buon Giorno!
Did you write the code for Multicharts?
If so can i get it? - Thank you!

Reply With Quote
 
(login for full post details)
  #4 (permalink)
Shaban
Turin + Italy
 
 
Posts: 162 since Feb 2020
Thanks: 17 given, 90 received

Hi,

I found this formula on the Net, try to see if it works for you:

{Elder impulse system - Paintbar}

input: len(13), FastMA(13),SlowMA(22),MacdMA(9);
vars:color(cyan);

Value1 = (MACD(Close,FastMA,SlowMA));
Value2 = (XAverage(MACD(Close,FastMA,SlowMA),MacdMA));
Value3 = Value1-Value2;
value4 = xaverage(close,len);

if value4 > value4[1] and value3 > value3[1] then color = green
else if value4 < value4[1] and value3 < value3[1] then color = red
else color = cyan;

plotpb(h,l,o,c,"PB", color);

Reply With Quote


futures io Trading Community Platforms and Indicators MultiCharts > Elder Impulse Paintbar


Last Updated on January 17, 2022


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
     



Copyright © 2022 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