Elite indicators :) - page 178

Mladen Rakic
151198
Mladen Rakic  

yama,

Here you go. As usual, arrows are at the beginning of the target time frame (at the first bar belonging to the target time frame bar)

regards

mladen

yama728:
This indicator is MACD. Please MTF...thanks!
yama728
76
yama728  

Thanks!

Hello Mladen,

Always thank you.

My trader's life became very significant thanks to you.: :-)

yama728
76
yama728  

Hello

Hello.

I have two asking.

first,

Please add MTF at Stochastic Cross indicator.

second,

Please add Zero lone cross arrows on current window at velocity indicator.

sorry my bad english...

traderduke
531
traderduke  

Swingline

mLaden,

I'm trying to write a strat for swingline. The phrase "calculateValue = TimeFrame=="calculateValue".

1. What is it checking/

2. the buffers appear switchable. I tried Set label them to no avail.

How can I make Swingline reliably readable to a startegy?

The indicator looks geat on any chart.

Ray

Files:
Mladen Rakic
151198
Mladen Rakic  

Ray

It is rather sneaky How this indicator works is the following :
- if it is the current time frame, it calculates values, draws them to chart and that is all

- if it is demanded to draw other time frame than the current chart time frame, then it calls itself twice :

  • first to check how many bars of the target time frame need to be recalculated (by setting the TimeFrame parameter to "returnBars")
  • then it calls itself again to calculate the values in the target time frame (by setting the TimeFrame parameter to "calculateValue") and then uses those values to draw them on a current time frame chart
That way, in some cases it behaves as if it is 3 separate indicators instead on just one

Buffers swdaand swdbare switchable - they are used to draw the color in an non-repainting way and it does not matter what is their order (as a matter of fact, in calculate mode it is completely irelevant in which order the buffers are arranged, since the indicator is never going to draw the values on chart in that mode, the only criteria is that they should be accessible from other code at a proper manner). In EA all you need is to read the trend buffer. The simplest way would be to call it this way :

currentTrend = iCustom(NULL,targetTimeFrame,"RK-Swingline","calculateValue",1,y);

[/php]That is the only value you need.

If that value is 1 than the trend is up, if that value is -1 then the trend is down (like in this example : attached it as a separate indicator too, but all you need is the part from the start routine and you can use it equally in EA too

[php]//+------------------------------------------------------------------+

//| call example |

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

#property indicator_chart_window

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

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

//

//

//

//

//

int init() { return(0); }

int deinit() { return(0); }

int start()

{

double currentTrend = iCustom(NULL,0,"RK-Swingline","calculateValue",1,0);

if (currentTrend==-1)

Comment("Swing line trend down");

else Comment("Swing line trend up");

return(0);

}

regards

Mladen

traderduke:
mLaden,

I'm trying to write a strat for swingline. The phrase "calculateValue = TimeFrame=="calculateValue".

1. What is it checking/

2. the buffers appear switchable. I tried Set label them to no avail.

How can I make Swingline reliably readable to a startegy?

The indicator looks geat on any chart.

Ray
Files:
Jimmy
652
Jimmy  

Bollinger Squeeze

Hi,

Could you add MTF to Bollinger Squeeze?

thanks,

jim

Mladen Rakic
151198
Mladen Rakic  

yama,

As far as stochastic is concerned, take "Color stochastic + mtf" (from this post : https://www.mql5.com/en/forum/general ) , set the ShowArrowsOnZoneEnterto false, set the KPeriod to 5 and you are going to get same arrows as that stochastic (a comparison of the arrows 0 blue and golden arrows are from color stochastic indicator : )
And since color stochastic is already mtf ... As of velocity, here you go
regards

Mladen

yama728:
Hello.

I have two asking.

first,

Please add MTF at Stochastic Cross indicator.

second,

Please add Zero lone cross arrows on current window at velocity indicator.

sorry my bad english...

updated version posted here: https://www.mql5.com/en/forum/general

traderduke
531
traderduke  

Swingline EA??

Mladen,

I put swingline into an EA but the Indicator has a mind of its own. I tried swingline but I can't see a 1 or -1 on the indicator so I tried swinglinehist, there I can see the 1 in buffer 0 or 1.The results are good but not reasonable or visual (see attached picture) or understandable.

Can you tell me where I went wrong??

Thanks

Ray

mladen:
Ray

It is rather sneaky

How this indicator works is the following :
- if it is the current time frame, it calculates values, draws them to chart and that is all

- if it is demanded to draw other time frame than the current chart time frame, then it calls itself twice :

  • first to check how many bars of the target time frame need to be recalculated (by setting the TimeFrame parameter to "returnBars")
  • then it calls itself again to calculate the values in the target time frame (by setting the TimeFrame parameter to "calculateValue") and then uses those values to draw them on a current time frame chart
That way, in some cases it behaves as if it is 3 separate indicators instead on just one

Buffers swdaand swdbare switchable - they are used to draw the color in an non-repainting way and it does not matter what is their order (as a matter of fact, in calculate mode it is completely irelevant in which order the buffers are arranged, since the indicator is never going to draw the values on chart in that mode, the only criteria is that they should be accessible from other code at a proper manner). In EA all you need is to read the trend buffer. The simplest way would be to call it this way :

currentTrend = iCustom(NULL,targetTimeFrame,"RK-Swingline","calculateValue",1,y);

[/php]That is the only value you need.

If that value is 1 than the trend is up, if that value is -1 then the trend is down (like in this example : attached it as a separate indicator too, but all you need is the part from the start routine and you can use it equally in EA too

[php]//+------------------------------------------------------------------+

//| call example |

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

#property indicator_chart_window

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

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

//

//

//

//

//

int init() { return(0); }

int deinit() { return(0); }

int start()

{

double currentTrend = iCustom(NULL,0,"RK-Swingline","calculateValue",1,0);

if (currentTrend==-1)

Comment("Swing line trend down");

else Comment("Swing line trend up");

return(0);

}

regards

Mladen
Fudomyo
89
Fudomyo  

High Probability Zone Indicator

hi mladen,

I came across this article recently in the Fibonacci Trade Journal, and the results look very promising.

How difficult would it be to either modify the pivot indicator you created to be able to display these levels, or create something based on Robert Kausze's calculations?

If this looks interesting to you, and you have time to work on it, I would really appreciate it.

Thank you

Fudo

Files:
ftj14.pdf 524 kb
Mladen Rakic
151198
Mladen Rakic  

Ray,

In the EA you are using a "open bar signal". Signals on an open bar can (and are) change and I think that some of those orders happened that way. If you want to avoid signal changing you should use a closed bar signal but that would add lag to some orders.

Frankly, since you are having good results, maybe you should continue the work in the direction you started already (so on opened bar as it is now). Percents are reasonable (for a trend following system - and this is a trend following system, they are even excellent since trend following systems often go under 30-40% of profitable trades) It is obvious that the winning orders are making up for the loosing ones and the way you done it, even an entry that is false is not causing too big loss (at least they are recovered in a profit)

Keep up the good work

regards

Mladen

traderduke:
Mladen,

I put swingline into an EA but the Indicator has a mind of its own. I tried swingline but I can't see a 1 or -1 on the indicator so I tried swinglinehist, there I can see the 1 in buffer 0 or 1.The results are good but not reasonable or visual (see attached picture) or understandable.

Can you tell me where I went wrong??

Thanks

Ray