Discussion in 'MetaTrader Indicators' started by Enivid, Nov 7, 2011.
Does anyone can recommend the setting only show long tail with small body? Thanks
Try CustomMaxNoseBodySize = 0.2 and CustomNoseBodyPosition = 0.25.
Thanks admin. Have a nice day
I am trying move the "happy face" signals farther away from candles. I assume that something needs to be changed within following code. I have tried every which way to change the code but the "happy face" signal wont budge.
What am I doing wrong?
//---- indicator buffers mapping
//---- drawing settings
//---- indicator labels
SetIndexLabel(0, "Bearish Pinbar");
SetIndexLabel(1, "Bullish Pinbar");
Please use code highlighting when inserting pieces of code into your posts.
I have updated Pinbar Detector to version 1.02. It now has an input parameter (DisplayDistance) to control the distance from the smiling faces to the candles.
Thank you Enivid. Exactly what I needed. Sorry about lack of code Highlighting.
And what is the point of this post?
But it is already shared here. This thread was created for discussing that very same indicator. The link is in the starting post.
How do you change the values of the input variables on the Pinbar Detector? Thought email notification would be helpful so as not to have to stare at the charts continuously and for tweaking purposes.
You can change the indicator's input paramters via the Inputs tab in the pop-up window that appears when you first attach the indicator to a chart:
May you help me code the CútomMinimumnosebodysize— minimum allowed body/length ratio for the Nose and Minimum bodysize?
I wanna body size longer than 1 pip
If you just want to be able to set the minimum body size in pips (like 1 pip, for example), you do not need to code something like CustomMinNoseBodySize with body/length ratio calculation. You could just add an extra condition like this:
if (MathAbs(Open[i] - Close[i]) < Point) continue;
Hi Enivid, nice indicator. Sorry to be a pain..
Any chance of adding tick volume to the equation.
A pin bar on high volume has more chance of being a reversal, if it does not reverse on high volume it becomes a sign of weakness (assuming it was looking like a bullish pin bar), so either way a signal is given. High volume pin bars can be a sign of market makers laying down a support/resistance zone to initiate a trading range.
I would suggest something along the lines of "where volume is greater than X times the average of the last Y number of bars.
Help as always appreciated, thanks Paul
Such a check would be best implemented as a separate expert advisor that incorporates both the output of the Pinbar Detector as a customer indicator and the readings of the tick volume.
OK, thanks for looking into it.
Separate names with a comma.