Elder Impulse System and Force Index

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

Elder Impulse System and Force Index

Postby patrice » Fri Mar 05, 2010 12:48 pm

Hello

i m searching for your graphic system Alexander Elder Impulse System and the Elder Force Index.
you have them ?

1) Alexander Elder Impulse System
We have on the screen, EMA's and MACD histogram. One measures inertia, the other momentum.
When both the EMA and the MACD histogram point in the same direction, they recognize an impulse worth following.
The impulse indicator that is sold everywhere colors the price bars green if the impulse is long, red if the impulse is short, and blue if there is no impulse

i have one exemple source with MT4 if you want.

//+--------------------------------------------------------------------------------------------+
//| Elder_Impulse_System.mq4 |
//| Copyright © 2007, http://finance.groups.yahoo.com/group/M ... ndicators/ |
//| http://finance.groups.yahoo.com/group/M ... ndicators/ |
//+--------------------------------------------------------------------------------------------+
#property copyright "Copyright © 2007, http://finance.groups.yahoo.com/group/M ... ndicators/"
#property link "http://finance.groups.yahoo.com/group/MetaTrader_Experts_and_Indicators/"
// I used code from Macd_Correct by David W. Thomas and eSignal code supplied by bentleybrian <bentleybrian@yahoo.com>
// to build this indicator . Built by transport_david .
#property indicator_separate_window
//----
#property indicator_minimum 0
#property indicator_maximum 1
#property indicator_buffers 3
#property indicator_color1 Lime
#property indicator_color2 Blue
#property indicator_color3 Red
//----
extern int ShowBars=5000;
//---- buffers
double Impulse_Up[];
double Neutral[];
double Impulse_Down[];
double MACDLineBuffer[];
double SignalLineBuffer[];
double HistogramBuffer[];
//---- variables
double alpha=0;
double alpha_1=0;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
IndicatorBuffers(6);
SetIndexStyle(0,DRAW_HISTOGRAM,STYLE_SOLID,4);
SetIndexEmptyValue(0,0.0);
SetIndexBuffer(0,Impulse_Up);
//
SetIndexStyle(1,DRAW_HISTOGRAM,STYLE_SOLID,4);
SetIndexEmptyValue(1,0.0);
SetIndexBuffer(1,Neutral);
//
SetIndexStyle(2,DRAW_HISTOGRAM,STYLE_SOLID,4);
SetIndexEmptyValue(2,0.0);
SetIndexBuffer(2,Impulse_Down);
//
SetIndexEmptyValue(3,0.0);
SetIndexBuffer(3,MACDLineBuffer);
SetIndexEmptyValue(4,0.0);
SetIndexBuffer(4,SignalLineBuffer);
SetIndexEmptyValue(5,0.0);
SetIndexBuffer(5,HistogramBuffer);
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{
//----
alpha=2.0/(9 + 1.0);
alpha_1=1.0 - alpha;
//----
int shift=ShowBars;
if (ShowBars > Bars) ShowBars=Bars;
for( shift=ShowBars; shift>=0; shift-- )
{
double myStudy1_value0=iMA(Symbol(),0,13,0,MODE_EMA,PRICE_CLOSE,shift);
double myStudy1_value1=iMA(Symbol(),0,13,0,MODE_EMA,PRICE_CLOSE,shift+1);
//----
MACDLineBuffer[shift] =(iMA(Symbol(),0,12,0,MODE_EMA,PRICE_CLOSE,shift) - iMA(Symbol(),0,26,0,MODE_EMA,PRICE_CLOSE,shift));
SignalLineBuffer[shift]=(alpha*MACDLineBuffer[shift]) + (alpha_1*SignalLineBuffer[shift+1]);
//----
double myStudy2_value0=MACDLineBuffer[shift] - SignalLineBuffer[shift];
double myStudy2_value1=MACDLineBuffer[shift+1] - SignalLineBuffer[shift+1];
//----
if((myStudy1_value0 > myStudy1_value1) && (myStudy2_value0 > myStudy2_value1)){ Impulse_Up[shift]=1; } else { Impulse_Up[shift]=0.0; }
if((myStudy1_value0 < myStudy1_value1) && (myStudy2_value0 < myStudy2_value1)){ Impulse_Down[shift]=1; } else { Impulse_Down[shift]=0.0; }
if((Impulse_Up[shift]==0.0) && (Impulse_Down[shift]==0.0)){ Neutral[shift]=1; } else { Neutral[shift]=0.0; }
}
//----
return(0);
}
//+------------------------------------------------------------------+

2 ) Force Index from Alexander Elder
force index = volume today X ( close today - close yesterday )

3) Your Indicore SDK will work on my OS computer ?
i use w7 pro x64

thank you very much ;)
patrice
 
Posts: 2
Joined: Thu Mar 04, 2010 2:53 pm

Re: Elder Impulse System and Force Index

Postby Nikolay.Gekht » Mon Mar 08, 2010 12:19 pm

1) I'll try to port this indicator in a next few days.

2) Yes, SDK must work in your environment.
Nikolay.Gekht
FXCodeBase: Site Admin
 
Posts: 1235
Joined: Wed Dec 16, 2009 6:39 pm
Location: Cary, NC

Re: Elder Impulse System and Force Index

Postby patrice » Wed Mar 17, 2010 1:48 pm

ok, thank you very much
patrice
 
Posts: 2
Joined: Thu Mar 04, 2010 2:53 pm

Re: Elder Impulse System and Force Index

Postby Nikolay.Gekht » Mon Mar 22, 2010 3:11 pm

Could you please check the indicator. It looks like working as specified in MT4 code.

eis.png

Elder_Impulse_System.lua
(3.44 KiB) Downloaded 988 times
Nikolay.Gekht
FXCodeBase: Site Admin
 
Posts: 1235
Joined: Wed Dec 16, 2009 6:39 pm
Location: Cary, NC


Return to Indicator and Signal Requests

Who is online

Users browsing this forum: No registered users and 13 guests