Arrows with custom indicator only working for sell signal and only for one previously closed candle
s9919: only one occurrence for the recently closed candle.
|
|
WHRoeder:
s9919: only one occurrence for the recently closed candle. |
|
Thanks. It is working for previous bars now. I also fixed it to show blue arrows now.
But arrows are showing up on each candle instead of proper signal. I have the same checking condition in expert advisor too for same indicator and it works fine with that EA. Somehow it is not working correctly for these arrows.
Files:
vpa.mq4
6 kb
#1
long up=(long)iCustom(NULL,0,"Better_Volume",0,1); long down=(long)iCustom(NULL,0,"Better_Volume",4,1); long pinky=(long)iCustom(NULL,0,"Better_Volume",5,1); for(int i=1;i<=limit;i++){What part of "Perhaps you should use values per bar "i" instead of only bar one," is unclear?
Tried it. does not work still. Thanks
"Doesn't work" is meaningless - just like saying the car doesn't work. Doesn't
start, won't go in gear, no electrical, missing the key, flat tires -
meaningless. There are no mind readers here.
Hi,
Sorry for my poor skills with programming. I have a volume indicator and based on this indicator I would like two arrows to show up. Code for my arrows indicators is shown below which I have taken from this link.
https://www.mql5.com/en/code/7332
Custom indicator is volume based.
Problem is this code only shows down arrows and only one occurrence for the recently closed candle. How can I see all previous signals ?
Thanks