stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Candle Body in Pips MTF //Help needed
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=331
Page 1 of 1
Author:  Ribelo [ Tue Feb 07, 2012 12:34 am ]
Post subject:  Candle Body in Pips MTF //Help needed

Short and to the point.

I tried to make an multitimeframe indicator that shows the candle body in pips. It works, but only on history candles. The newly created candles are .... crazy. I have no idea what the problem. Anyone would be able to help?

PS.

Everything is well prepared to draw a MTF moving average. I think I can do it yourself, but if someone would have done it at one stroke, It would be great.

Regards,
Raphael.
Author:  gaheitman [ Wed Feb 15, 2012 1:25 pm ]
Post subject:  Re: Candle Body in Pips MTF //Help needed

Ribelo wrote:Short and to the point.

I tried to make an multitimeframe indicator that shows the candle body in pips. It works, but only on history candles. The newly created candles are .... crazy. I have no idea what the problem. Anyone would be able to help?

PS.

Everything is well prepared to draw a MTF moving average. I think I can do it yourself, but if someone would have done it at one stroke, It would be great.

Regards,
Raphael.
I started to try to correct your code, but it was taking longer than I wanted, so I just wrote another version :) . It has a slightly different approach, but I think it gives correct results. I'm not sure about speed, but I almost always use iBarShift() when working with other time frames.

George
Author:  Ribelo [ Thu Feb 16, 2012 11:48 pm ]
Post subject:  Re: Candle Body in Pips MTF //Help needed

Thanks George. I knew I could count on you. You are awesome.
All times are UTC Page 1 of 1