Page 23 of 177

Re: Coding Help

Posted: Wed May 03, 2017 12:03 am
by altoronto
Mladen, how is going? MTF component was always mistery to me :) I added MTF component in CCI_hook indicator, and it seems it doesn't work, as always in my case :) Can you take a quick look?

Thank you in advance!

Re: Coding Help

Posted: Wed May 03, 2017 1:19 am
by mladen
altoronto wrote: Wed May 03, 2017 12:03 am Mladen, how is going? MTF component was always mistery to me :) I added MTF component in CCI_hook indicator, and it seems it doesn't work, as always in my case :) Can you take a quick look?

Thank you in advance!
altoronto

Try it out now

Re: Coding Help

Posted: Wed May 03, 2017 3:42 am
by altoronto
Thank you Mladen! It works as exactly as I imagined in first place :)

Re: Coding Help

Posted: Wed May 03, 2017 4:23 am
by mladen
altoronto wrote: Wed May 03, 2017 3:42 am Thank you Mladen! It works as exactly as I imagined in first place :)
Happy trading :)

Re: Coding Help

Posted: Wed May 03, 2017 8:16 pm
by chirvasamar
Hello, everybody!
Maybe foolish question: How can I change position of arrow from above candle to below the candle?
What should be change in DRAW_ARROW? Or other function?
Can anyone help me?

Re: Coding Help

Posted: Thu May 04, 2017 3:54 am
by bilbao
mladen:

could you please fix this indicator error

regard

Re: Coding Help

Posted: Thu May 04, 2017 4:16 am
by mladen
bilbao wrote: Thu May 04, 2017 3:54 am mladen:

could you please fix this indicator error

regard
bilbao

Try it out now

Re: Coding Help

Posted: Thu May 04, 2017 4:59 am
by bilbao
thanks
but why just show last day pivot

could you recheck it

regard

Re: Coding Help

Posted: Fri May 05, 2017 2:50 am
by wojtek
Dear Mladen, how to change the histogram style in the chart window

Code: Select all

HistoUp[i] = A;
HistoDn[i] = B;
to a histogram in the separate window? With the two options:
all bars have the same length (e.g., 1), or bars have the same length as on
the main chart, but of course all starting at 0.

Re: Coding Help

Posted: Fri May 05, 2017 3:36 am
by mladen
wojtek wrote: Fri May 05, 2017 2:50 am Dear Mladen, how to change the histogram style in the chart window

Code: Select all

HistoUp[i] = A;
HistoDn[i] = B;
to a histogram in the separate window? With the two options:
all bars have the same length (e.g., 1), or bars have the same length as on
the main chart, but of course all starting at 0.
wojtek

In metatrader 4 histograms on main chart and sub-window are drawn in a completely different way

- on main chart they require two buffers and two values (high and low value) for each histogram bar
- in a sub-window they are zero-based and you can specify just one value - the other is always assumed to be 0

So the type from the on-chart histogram can not be converted to same type as it is in the sub-window. You can use some "tricks" (like "masking" the part you downt want to be displayed) but that is not always possible