Pinbar Detector

Discussion in 'MetaTrader Indicators' started by Enivid, Nov 7, 2011.

  1. Taucat

    Taucat Newbie

    2
    0
    1
    Does anyone can recommend the setting only show long tail with small body? Thanks
     
  2. Enivid

    Enivid Administrator Staff Member

    8,330
    286
    114
    Try CustomMaxNoseBodySize = 0.2 and CustomNoseBodyPosition = 0.25.
     
  3. Taucat

    Taucat Newbie

    2
    0
    1
    Thanks admin. Have a nice day
     
  4. speedytina

    speedytina Trader

    13
    3
    19
    Hello Enivid;
    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?

    Code (MQL4):
    //---- indicator buffers mapping
       SetIndexBuffer(0, Down);
       SetIndexBuffer(1, Up);
    //---- drawing settings
       SetIndexStyle(0, DRAW_ARROW);
       SetIndexArrow(0, 74);
       SetIndexStyle(1, DRAW_ARROW);
       SetIndexArrow(1, 74);
    //----
       SetIndexEmptyValue(0, EMPTY_VALUE);
       SetIndexEmptyValue(1, EMPTY_VALUE);
    //---- indicator labels
       SetIndexLabel(0, "Bearish Pinbar");
       SetIndexLabel(1, "Bullish Pinbar");
     
    Last edited by a moderator: Jul 28, 2017
  5. Enivid

    Enivid Administrator Staff Member

    8,330
    286
    114
    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.
     
  6. speedytina

    speedytina Trader

    13
    3
    19
    Thank you Enivid. Exactly what I needed. Sorry about lack of code Highlighting.
     
  7. sholihul

    sholihul Trader

    2
    0
    11
    pinbar detector
     

    Attached Files:

  8. Enivid

    Enivid Administrator Staff Member

    8,330
    286
    114
    And what is the point of this post?
     
  9. sholihul

    sholihul Trader

    2
    0
    11
    only sharing
     
  10. Enivid

    Enivid Administrator Staff Member

    8,330
    286
    114
    But it is already shared here. This thread was created for discussing that very same indicator. The link is in the starting post.
     
  11. 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.
     
  12. Enivid

    Enivid Administrator Staff Member

    8,330
    286
    114
    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:

    changing inputs.png
     

Share This Page