You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Great Indicators
MTF AbsoluteStrength_v1DH - Histogram
Hi fxbs.
Thanks for include the MTF Absolute Strength like an histogram. These indicators are a great job of Igorad.
I want to comment some improvements for the presentation of the indicator like an histogram. Maybe it exist, maybe not, I know that this are the free version of Igorad.
I am talking about to improve the indicators if they could include onto the zero line dots that remark the state that we can see in the line version of the Absolute Strenght Indicators.
I include two pictures in order to try to explain better.
I will appreciate your comments or the comments of anybody member.
Thanks again.
Cattus
I want to take advantage of this post to congratulate to newdigital and all senior members, because this is an excellent site (TSD), by your great jobs.
New picture
Wowa, do you have a template for post #785? And how do you trade?
Banzai! don't wanna try DinoZoRSI - MTF?
"FanSimple_8" - 7(9)TFs - MTF!
https://www.forex-tsd.com/forum/debates-discussions/116-something-interesting-please-post-here/page11#comment_189197
Fx Sniper's Ergodic CCI
Hi All,
I like this thread some interesting MTF's.
I use FX Sniper's ECCI trigger all the time and ATM have multiple TF's open to time trades. It is the only indicator that works all year round for me.
I had a look at the HAS system and noticed that the HAMA's are converted to the small boxes over various TFs.
Is it possible to do this with FX Sniper's ECCI?
It would be the killer indicator if we could see all the positions in various TFs at the same time. All I need to know is the trigger Long or short. So for example green for long and red for short in 1m-Monthly.
There is no lag with it like there is with HAS so entries would be perfect.
Price watching is essential for my system and Heiken Ashi prevents that and it is too slow for an FX market. Plus you miss the setups that make the big pips.
And keep the oscillator window as it is an essential part of my system.
I look forward to hearing your suggestions.
Help needed to check Code
Could somebody kindly help me check the code?
I have made several request for help to convert the RMI Indicator into MTF. However nobody seems to be interested. So I attempted to pattern the conversion to MTF based on code done for RSI.
After compiling, I get an error message for unbalanced Parenthesis. I have tried to add a parenthesis to portion where I thought I saw there was an imbalance in the setting forth of the parenthesis.
I have even tried removing parenthesis which I thought did not have any partner. Still unlucky at pinpointing the mistake.
I am attaching the code below and the actual indicators again.
CODE:
//+------------------------------------------------------------------+
//| MTF_ RMI.mq4 |
//| Copyright ?2006, DaVinciProject |
//| Forex Trading Software: Forex Trading Platform MetaTrader 4 |
//+------------------------------------------------------------------+
#property copyright "Copyright ?2006, DaVinciProject"
#property link "http://www.metaquotes.net"
#property indicator_separate_window
#property indicator_minimum 0
#property indicator_maximum 100
#property indicator_buffers 1
#property indicator_color1 DodgerBlue
#property indicator_level1 15
#property indicator_level2 85
//---- input parameters
/*************************************************************************
PERIOD_M1 1
PERIOD_M5 5
PERIOD_M15 15
PERIOD_M30 30
PERIOD_H1 60
PERIOD_H4 240
PERIOD_D1 1440
PERIOD_W1 10080
PERIOD_MN1 43200
You must use the numeric value of the timeframe that you want to use
when you set the TimeFrame' value with the indicator inputs.
**************************************************************************/
extern int TimeFrame=60;
extern int RMIPeriod=5;
extern int Shift=5;
//---- buffers
double RMIBuffer[];
double PosBuffer[];
double NegBuffer[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
string short_name;
//---- 2 additional buffers are used for counting.
IndicatorBuffers(3);
SetIndexBuffer(1,PosBuffer);
SetIndexBuffer(2,NegBuffer);
//---- indicator line
SetIndexStyle(0,DRAW_LINE);
SetIndexBuffer(0,RMIBuffer);
//---- name for DataWindow and indicator subwindow label
switch(TimeFrame)
{
case 1 : string TimeFrameStr="Period_M1"; break;
case 5 : TimeFrameStr="Period_M5"; break;
case 15 : TimeFrameStr="Period_M15"; break;
case 30 : TimeFrameStr="Period_M30"; break;
case 60 : TimeFrameStr="Period_H1"; break;
case 240 : TimeFrameStr="Period_H4"; break;
case 1440 : TimeFrameStr="Period_D1"; break;
case 10080 : TimeFrameStr="Period_W1"; break;
case 43200 : TimeFrameStr="Period_MN1"; break;
default : TimeFrameStr="Current Timeframe";
}
IndicatorShortName("RMI ("+RMIPeriod+") "+TimeFrameStr);
}
//----
return(0);
}
//+------------------------------------------------------------------+
//| RMI - Relative Momentum Index |
//+------------------------------------------------------------------+
int start()
{
int i,counted_bars=IndicatorCounted();
double rel,negative,positive;
//----
if(Bars<=RMIPeriod) return(0);
//---- initial zero
if(counted_bars<1)
for(i=1;i<=RMIPeriod;i++) RMIBuffer=0.0;
//----
i=Bars-RMIPeriod-1;
if(counted_bars>=RMIPeriod) i=Bars-counted_bars-1;
while(i>=0)
{
double sumn=0.0,sump=0.0;
if(i==Bars-RMIPeriod-1)
{
int k=Bars-2;
//---- initial accumulation
while(k>=i)
{
rel=Close[k]-Close[k+Shift];
if(rel>0) sump+=rel;
else sumn-=rel;
k--;
}
positive=sump/RMIPeriod;
negative=sumn/RMIPeriod;
}
else
{
//---- simple moving average
rel=Close-Close;
if(rel>0) sump=rel;
else sumn=-rel;
positive=(PosBuffer*(RMIPeriod-1)+sump)/RMIPeriod;
negative=(NegBuffer*(RMIPeriod-1)+sumn)/RMIPeriod;
}
PosBuffer=positive;
NegBuffer=negative;
if(negative==0.0) RMIBuffer=0.0;
else RMIBuffer=100.0*positive/(positive+negative);
i--;
}
//----
return(0);
}
//+------------------------------------------------------------------+
//| MTF RMI |
//+------------------------------------------------------------------+
int start()
{
datetime TimeArray[];
int i,shift,limit,y=0,counted_bars=IndicatorCounted();
// Plot defined timeframe on to current timeframe
ArrayCopySeries(TimeArray,MODE_TIME,Symbol(),TimeFrame);
limit=Bars-counted_bars;
for(i=0,y=0;i<limit;i++)
{
if (Time<TimeArray[y]) y++;
/***********************************************************
Add your main indicator loop below. You can reference an existing
indicator with its iName or iCustom.
Rule 1: Add extern inputs above for all neccesary values
Rule 2: Use 'TimeFrame' for the indicator timeframe
Rule 3: Use 'y' for the indicator's shift value
**********************************************************/
ExtMapBuffer1=iRMI(NULL,TimeFrame,RMIPeriod,PRICE_CLOSE,y); //iStochastic(NULL,TimeFrame,KPeriod,DPeriod,Slowing,MAMethod,PriceField,0,y);
//ExtMapBuffer2=iStochastic(NULL,TimeFrame,KPeriod,DPeriod,Slowing,MAMethod,PriceField,1,y);
}
//
return(0);
}
//+------------------------------------------------------------------+
Delete the "}" just after the
IndicatorShortName("RMI ("+RMIPeriod+") "+TimeFrameStr); line
hi
hi right cattus would be very nice to have this Absolute S. Histogramm with the points you suggest.
Someone can do it?
MTF AbsoluteStrength_v1DH - Histogram
AbsoluteStrength - thread
nonlagtools https://www.mql5.com/en/forum/general
files updated 20070715
Some Errors
MTF_AbsoluteStrength_v1DHs.mq4; yellow dots - no trade zone
___ not standalone ind; would call
AbsoluteStrength_v1DH.mq4 ( below, same as post 783)
AbsoluteStrength_v1.1.mq4 (previous post)
AbsoluteStrength: thread -nonlagtools https://www.mql5.com/en/forum/generalHi fxbs.
First, thank you very much for your prompt and excellent help.
Second, my apologizes because I did not explain all the cases.
I am not a coder, but anyway, I was working to do another indicator (side bars) since your first ideas "MTF_AbsoluteStrength_sBar.mq4 ". I added other cases (I attach the indicator MTF_AbsoluteStrength_sBar3.mq4). I had the same results that you had in your last indicator "MTF_AbsoluteStrength_v1DHs.mq4 ", I am talking about the warning areas, but the main problem is that your results and my results are wrong.
I had some problems to code all the cases, because the results are incorrect compared with the indicators of Igorad (please, see the pic).
The cases that I see in the use of Absolute Strenght are:
if(SmthBulls>SigBulls && SmthBears<=SigBears) TrendUpStrong=ASbarLevel;
if(SmthBulls>SigBulls && SmthBears>SigBears && ((SmthBulls-SigBulls)>(SmthBears-SigBears))) TrendUp=ASbarLevel;
if(SmthBulls>SigBulls && SmthBears>SigBears && ((SmthBulls-SigBulls)<(SmthBears-SigBears))) TrendDown=ASbarLevel;
if(SmthBullsSigBears) TrendDownStrong=ASbarLevel;
if(SmthBulls<=SigBulls && SmthBears<=SigBears) NoDirection=ASbarLevel;
if(SmthBulls>SigBulls && SmthBears>SigBears && ((SmthBulls-SigBulls)==(SmthBears-SigBears))) Volatile=ASbarLevel;
Could you please review the indicator MTF_AbsoluteStrength_sBar3.mq4? And I think that if you (or other members) are agree with all the cases that I wrote, could be better to show it in the format of your last modification of Absolute Strenght (MTF_AbsoluteStrength_v1DHs.mq4).
Regards.