Multi Timeframe Indicators - page 19

Hercs
2957
Hercs  
iGoR:
In real time it repaints the past up to 6 bars. So that means if you would place this indicator on a day chart it can repaint the past up to 6 days.

In my zip folder you can see what it did in real time. If you have an indicator who repaints the past only with 1 bar it is uselles.

Working with an indicator like that is the same as you say ....I WOULD HAVE go long 6 bars ago (but that is after the facts) and a bit later you would say I WOULD HAVE exited 6 bars ago.

This way you WOULD HAVE a 100% hitrate....

The YU4rik indicator is also uselles because it repaints up to 4 or 5 bars ago. So when I said it has beaten the YU4rik that means it is even more unreliable.

That indicator is like an MA that you would shift back in time (hindsight).

So that indicator is not accurate iit is cr*p.

regards...iGoR

Thanks iGoR for this explanation. Much appreciated.

jerami
103
jerami  

Plz repair this script

I try to change step stoch to MTF but it said

'\end_of_program' - unbalanced left parenthesis C:\Program Files\MetaTrader - North Finance\experts\indicators\#MTF_StepMA_Stoch_V1.mq4 (113, 1)

//+------------------------------------------------------------------+

//| #MTF_Step stoch.mq4 |

//+------------------------------------------------------------------+

#property indicator_separate_window

#property indicator_buffers 2

#property indicator_color1 Yellow

#property indicator_color2 DeepSkyBlue

#property indicator_minimum 0

#property indicator_maximum 1

//---- 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.

---------------------------------------*/

//---- input parameters

extern int PeriodWATR=10;

extern double Kwatr=1.0000;

extern int HighLow=0;

extern int TimeFrame=0;

//---- indicator buffers

double LineMinBuffer[];

double LineMidBuffer[];

//+------------------------------------------------------------------+

//| Custom indicator initialization function |

//+------------------------------------------------------------------+

int init()

{

string short_name;

IndicatorBuffers(6);

//---- indicator line

SetIndexStyle(0,DRAW_LINE,STYLE_SOLID,1);

SetIndexStyle(1,DRAW_LINE,STYLE_SOLID,1);

SetIndexBuffer(0,LineMinBuffer);

SetIndexBuffer(1,LineMidBuffer);

IndicatorDigits(MarketInfo(Symbol(),MODE_DIGITS));

//---- 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("MTF_StepMA Stoch("+TimeFrameStr+","+PeriodWATR+","+Kwatr+","+HighLow+")";

SetIndexDrawBegin(0,PeriodWATR);

SetIndexDrawBegin(1,PeriodWATR);

}

//----

return(0);

//+------------------------------------------------------------------+

//| MTF Step Stoch |

//+------------------------------------------------------------------+

int start()

{

datetime TimeArray[];

int i,limit,y=0,counted_bars=IndicatorCounted();

// Plot defined time frame on to current time frame

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 time frame

Rule 3: Use 'y' for your indicator's shift value

**********************************************************/

LineMinBuffer=iCustom(Symbol(),TimeFrame,"StepMA_Stoch_V1",0,PeriodWATR);

LineMidBuffer=iCustom(Symbol(),TimeFrame,"StepMA_Stoch_V1",1,PeriodWATR);

}

return(0);

}

//+------------------------------------------------------------------+

Thanks

balista4
422
balista4  

ValeoFx,

Thanks Man, Its a good indicator and regarding re-painting, I sat the whole afternoon sitting in front of 1M, 1H chart and i did not see its repaint the last bars. am'i missing something here or the re-painting happens sometimes or frequently.

After reading the post however, I tried to look at the codes and went to the site http://viac.ru/ the originator i guess of the codes and found others indicators as well.

The most frequented mq4 indicator was silver channel.

Im sorry i being late to the forum, taking time to get all the indicators, so if you guys have not already gone through it, you can verify and compare the two indicators together and see the results

Files:
balista4
422
balista4  

Sorry Folks, It indeed does re-paint ....Irrational exuburance. I think i need a break now

Sergey Golubev
Moderator
113465
Sergey Golubev  
balista4:
Sorry Folks, It indeed does re-paint ....Irrational exuburance. I think i need a break now

balista4,

this indicator is from trading system created by AlexSilver from viac. ru forum.

It is not simple system. I don't know how to trade by this system.

Files:
helena
27
helena  

multiple from this?

Hello

multiple from this?

Thanks

ForexBoss
113
ForexBoss  

jr is nice indicator

balista4
422
balista4  

NewDigital,

Thanks for the clarification.

Aleksey Baranov
7109
Aleksey Baranov  

Hi All!

Me is necessary MTF indicator "BBands Stops".

Somebody can help and alter existing?

Files:
jerami
103
jerami  

Hope this can help

Alexey Baranov:
Hi All!

Me is necessary MTF indicator "BBands Stops".

Somebody can help and alter existing?

Try this one

Files: