Requests & Ideas - page 109

Mladen Rakic
163389
Mladen Rakic  

...

Or this : it creates a linear regression channel object on chart and adds 2 lines to it (the lines the you asked for) The problem is that I can not avoid the middle line drawing (it is a built in object and I can not modify it - and, unfortunately, there is no way to create custom objects in metatrader)

Other than that, it has all the good parts of objects : you can move it around (simply move the regression channel object as any other object), resize it as you wish, it will stay on chart if you change time frames or symbols (it will adjust itself automatically on symbols change) and all the time the additional lines are going to be drawn by the indicator (just wait for the next tick for the lines to be drawn if they are still not updated - it is because you can move around the object while there are no ticks and indicator will be drawn when a tick comes in). Also you can have multiple indicators on chart (set the ChannelNameparameter to unique name for that purpose)

So, this one is a hybrid of a regular indicator and a regular metatrader object

halvardu
131
halvardu  

Thanks for the help, but its not quite what I was looking for.. And I want to set the channel highs and lows myself.

But thanks for the help

newdigital:
Hi halvardu,

You can use this channel indicator from new channel trading system:

https://www.mql5.com/en/forum/173261/page17
halvardu
131
halvardu  

That was a really nice indicator Mladen, but its not quite wat i had in mind..Sorry..

Is it possible for you to do the same thing with Equidistant channel indicator?? I think that is the right indi to use?

Really sorry for the trouble

Regards

Halvard

mladen:
:)

Or this : it creates a linear regression channel object on chart and adds 2 lines to it (the lines the you asked for) The problem is that I can not avoid the middle line drawing (it is a built in object and I can not modify it - and, unfortunately, there is no way to create custom objects in metatrader)

Other than that, it has all the good parts of objects : you can move it around (simply move the regression channel object as any other object), resize it as you wish, it will stay on chart if you change time frames or symbols (it will adjust itself automatically on symbols change) and all the time the additional lines are going to be drawn by the indicator (just wait for the next tick for the lines to be drawn if they are still not updated - it is because you can move around the object while there are no ticks and indicator will be drawn when a tick comes in). Also you can have multiple indicators on chart (set the ChannelNameparameter to unique name for that purpose)

So, this one is a hybrid of a regular indicator and a regular metatrader object
Mladen Rakic
163389
Mladen Rakic  

Halvard,

Believe it or not it was harder that it seems from the source (mainly due to silly way how metatrader handles time - it was driving me crazy for some time, especially when Friday to Monday data is concerned) This one works OK. You can put multiple channels on chart (like on the example bellow) , you can specify their colors and styles and you can place them anywhere you want. It is a "pure objects" indicator (it does not use any buffers for calculation)


PS: you must keep the left ends of lines within the bars area (that is the price to avoid stupid metatrader time handling). Right part can go as far as you wish in the future but the left part must be somewhere in the past )it will work even then but it will not be able to align lines perfectly in time). Other than that, there are no other limitations

regards

Mladen

halvardu:
That was a really nice indicator Mladen, but its not quite wat i had in mind..Sorry..

Is it possible for you to do the same thing with Equidistant channel indicator?? I think that is the right indi to use?

Really sorry for the trouble

Regards

Halvard
halvardu
131
halvardu  

Just perfect Mladen, I must say that you are an amazing programmer )))

Thank you sooo much

Have a great evening!

Regards

Halvard

mladen:
Halvard,

Believe it or not it was harder that it seems from the source (mainly due to silly way how metatrader handles time - it was driving me crazy for some time, especially when Friday to Monday data is concerned) This one works OK. You can put multiple channels on chart (like on the example bellow) , you can specify their colors and styles and you can place them anywhere you want. It is a "pure objects" indicator (it does not use any buffers for calculation)


PS: you must keep the left ends of lines within the bars area (that is the price to avoid stupid metatrader time handling). Right part can go as far as you wish in the future but the left part must be somewhere in the past )it will work even then but it will not be able to align lines perfectly in time). Other than that, there are no other limitations

regards

Mladen
bebeshel
519
bebeshel  

Mrtools

Good afternoon (for my time zone)

Could you modify this indicator to get "Multi Time Frame".

pa_wprsmooth_w_histo_ma.mq4

spotforex
79
spotforex  

An added feature

Hi Mladen

Could you please add a display of the number of currencies that are positive and negative to the FXCorrelator 2 USD centered indicator. As well, the option to turn on/off the name of the currencies.

Thank You!!!

-spotforex

mladen:
spotforex

Here you go

Added on more parameter : alertsWhenNCross. It is a minimal number of values that have to be grouped on one side of the zero line. If that number is exceeded (for example new up values is 5 and previous up values were 4, and the number of values required is 5) then an appropriate alert is raised. Alert is raised only if before that there was less total values on one side and it does not take into account which currencies are in question (it only checks the total number of currencies on "one side") (stopping now before my "explanation" becomes too complicated to understand I hope it is understandable)

regards

Mladen
Mladen Rakic
163389
Mladen Rakic  

...

spotforex,

Here you go fxcorrelator_3_usd.mq4

regards

Mladen

spotforex:
Hi Mladen

Could you please add a display of the number of currencies that are positive and negative to the FXCorrelator 2 USD centered indicator. As well, the option to turn on/off the name of the currencies.

Thank You!!!

-spotforex
Files:
bebeshel
519
bebeshel  

Dynamic zone %R smoothed width

Mladen,

could you build, Dynamic zone % R smoothed with Weighthid Moving Average (period 3), dz dz buy sell 0.12 and 0.12.

Also an Expert Ad. this indicator, buy when it crosses from below to up, level: 0.12 dz buy, sell when it crosses from top to bottom, level: sell dz 0.12, with the ability to optimize:

levels of buy / sell?

and / or

the parameters of% R and WMA?

Thanks

Mladen Rakic
163389
Mladen Rakic  

This post : https://www.mql5.com/en/forum/general

Smooth mode 3 equals linear weighted moving average. Set the buy zone and sell zone to 0.12

bebeshel:
Mladen,

could you build, Dynamic zone % R smoothed with Weighthid Moving Average (period 3), dz dz buy sell 0.12 and 0.12.

Also an Expert Ad. this indicator, buy when it crosses from below to up, level: 0.12 dz buy, sell when it crosses from top to bottom, level: sell dz 0.12, with the ability to optimize:

levels of buy / sell?

and / or

the parameters of% R and WMA?

Thanks