Source: https://fxcodebase.com/code/viewtopic.php?f=17&t=69949
Forum: 17 · Topic 69949 · 14 post(s)
Apprentice · Mon Jun 01, 2020 8:26 am

Will color volume bar based on candle direction. Based on request. viewtopic.php?f=27&t=69933
TastyTreats · Fri Jun 12, 2020 10:38 am
Hi Apprentice
Is it possible to have this for MT4 as well please.
Thanks
Apprentice · Sun Jun 14, 2020 7:20 pm
Your request is added to the development list. Development reference 1477.
Apprentice · Tue Jun 16, 2020 7:16 am
It’s not possible. MT4 doesn’t have “DIRECTIONAL_REAL_VOLUME”
TastyTreats · Fri Jun 19, 2020 5:02 pm
Hi Apprentice
Thanks for the reply. Can it be implemented using the following code snippet?
void Vcolor(int p) { if(Close[p] lt Open[p]) { VolBuffer1[p]=Volume[p]; VolBuffer2[p]=0; lastcolor=Red; } if(Close[p] gt =Open[p]) { VolBuffer1[p]=0; VolBuffer2[p]=Volume[p]; lastcolor=Green; }
}
Thanks
Apprentice · Sun Jun 21, 2020 3:56 am
Exactly this logic is implemented. Can you clarify, deviations if any?
TastyTreats · Tue Jun 30, 2020 5:28 am
Is it possible to make it an MT4 version without Direct Real volume and using the code above to colour the volume bars to the same colour as the price bars e.g. bullish price bar (green) creates a green volume bar and vise versa for bearish bars.
Apprentice · Tue Jun 30, 2020 8:48 am
It’s not possible. MT4 doesn’t have “DIRECTIONAL_REAL_VOLUME”
TastyTreats · Thu Jul 02, 2020 6:42 pm
OK Thanks for taking the time to look anyway.
taipan · Fri Jul 10, 2020 8:24 am
Here you go, mt4 TicksSeparateVolume.
adloule · Fri Dec 11, 2020 5:30 pm
hi Apprentice,
can you please an average on the “real” volume bar please
Apprentice · Sat Dec 12, 2020 7:15 am
Your request is added to the development list. Development reference 2449.
Apprentice · Sun Dec 13, 2020 2:17 pm
I don’t understand what needs to be done. You can get an average by putting an average indicator on that Volume indicator
adloule · Mon Dec 14, 2020 7:43 am
ok thank you that’s what i wanted i added a MA on it