Jump to content

Free Resources

1 file

  1. More information about "Rectangle Extender for Metatrader 4"

    Free

    Rectangle Extender for Metatrader 4

    The rectangle extender will help supply and demand traders out there trading with the Metatrader 4 trading platform to keep track of the imbalances they have located. 
    Metatrader 4 has many known limitations; the rectangle tool is one of them. It was not thought of for supply and demand traders, so I came up with an idea and created an indicator that would automatically modify the rectangles I wanted to suit the way supply and demand type of trading requires.
    The screenshot below shows what the indicator does. It extends the rectangle to the right automatically. The attached image does not belong to the Metatrader platform. It's been years since I don't use Metatrader. Buy you get the idea.
    INPUTS YOU CAN CHANGE ON THE RECTANGLE INDICATOR
    You can change all these variables on each of your symbols. Let me explain what each variable does.
    Active = true; It will turn on/off the indicator, if false it will not expand rectangle or execute any of its features
    ExtendSize = 5; This will expand the rectangle to current candle + 5 candles to the right. If you change it to 10 it will be 10 candles to the right
    ExcludeName1 = "aII_SupDem"; This setting is to filter out the rectangles names created by the automatic SD zones from Insanity Industries indicator. It will not interfere with the automatic zones by not expand the rectangles created by it, so both your manual rectangles and the automatic ones can coexist.
    ExcludeName2 = "no"; If you don't want a rectangle to be automatically expanded, edit its properties and change its description to no, it will no longer be affected by the indicator, the rectangle will not be extended. Good if you want to draw other rectangles in other areas of the charts.
    Labels.Active = true; If true, it will show price levels at high and low price of the rectangle
    Color.High = White;
    Color.Low = White; These 2 settings is the color of the labels, high and low
    High.Price = true; If false, it will not show the label for the high price
    Low.Price = true; If false, it will not show the label for the low price
    Label.Size = 1; This is the font size for the price labels, change it in increments of 1
    Range.Active = true; If true, it will show the rectangle's width in pips
    Range.Inside = true; If false, it will draw the rectangle's pips width outside of the rectangle, on the far right side
    Range.Color = White; This is the color of the width in pips
    Range.Size =9; This is the font size of the width in pips label
    H4_trendlines = true; It will allow the indicator to draw trendlines both at the upper and lower price of the rectangles painted on H4 H4_lines_number = 1; This is the number of rectangles above and below current price that the indicator will use to draw the trendlines, if you change it to 2 it will draw trendlines 2 rectangles above and 2 rectangles below current price
    H4_upper_color = Yellow; This is the color of the upper trendline for H4
    H4_lower_color = Lime; This is the color of the lower trendline for H4
    H4_style = 2; This is the style for those trendlines, from 0 to 4. It's the order you see in the line style window in Metatrader 4 The settings below are like the H4 explained above, but duplicated for both D1 and WK charts. Very important to know how close to the D1 and WK supply and demand curve you are.
    D1_trendlines = true;
    D1_lines_number = 2;
    D1_upper_color = Yellow;
    D1_lower_color = Lime;
    D1_style = 0;
    WK_trendlines = true;
    WK_lines_number = 1;
    WK_upper_color = Yellow;
    WK_lower_color = Lime;
    WK_style = 1;
    MN_trendlines = true;
    MN_lines_number = 1;
    MN_upper_color = Yellow;
    MN_lower_color = Lime;
    MN_style = 1;
    Manual_TL_On_Current_TF_Only = true; If set to True, trendlines painted will only be visualized on the timeframe where it's been drawn. If set to False then they will be painted on all timeframes. I have it true as default, because I use the trendlines as direction on the entry timeframe H4 and H1, or even D1. I don't want them to be visible on the other timeframes, only on the ones where they relate to.
    Manual_Text_On_Current_TF_Only = true; The same feature can be applied to text objects painted with the A icon tool
    NO_TL_COLOR: set to purple by default. The color set on this variable will not be taken into account as a strong SD level, no TL (tredline) will be painted on distal/proximal lines and the pips calculation will not be applied to it either. This is very useful when you want to draw a SD area you want to be aware of but you don't to have the trendlines painted on or influence on your decisions (like a speedbump against the trend)
    Now the RR indicator will detect if a SD rectangle has been touched, if touched (non-fresh) the rectangle color will be automatically changed to the one you have specified for supply and demand colors retouch (see next bullet). I want to buy or sell only on fresh areas of supply and demand
    Color.sup.retouch and Color.dem.rotouch: these will be the colors a non-fresh SD rectangle will be changed to If the SD zone is not the color specified under DEMAND_COLOR_1, DEMAND_COLOR_2, SUPPLY_COLOR_1 and SUPPLY_COLOR_2, the rectangle reader indicator will not change its color to the Color.sup.retouch and color.dem.retouch
    Solid.retouch. If this is set to true, when a SD zone is touched for the first time (non-fresh), the rectangle will be filled. 
    VERY IMPORTANT:
    You have to have both supply and demand price levels painted, or the % shown will show 0% Only rectangles drawn manually will be detected show.curve.percent = true; By default, the curve percentages will be displayed. If set to false, percentages will be hidden. curve.display.topRHcorner = true; When set to false, the percentages will be displayed at right bottom corner curve.display.vertical = false; When true overrides topRHcorner setting and display vertical from toprightcorner curve.high = 71; If higher than 71%, the % will be displayed in red, so you know you are quite high in the curve curve.low = 30; Same but if between 0 and 30%, the % will be displayed in blue. If between 30 and 71%, it will be displayed in the color set in curve.middle.color. See curve colors below curve.high.color = Red; curve.middle.color = Lime; curve.low.color = Aqua; curve.default.color = White; curve.y.position = 20; This is how high/low the % information will be displayed vertically These are the new variables:
    show.curve.percent = true; If false, it will not show percentages of the curve curve.display.topRHcorner = true; When false displays at right bottom corner curve.display.vertical = true; When true overrides topRHcorner setting and display vertical from top right corner curve.display.color.levels = true; When true will display colour levels otherwise only values curve.display.mn.levels = true; If false it will not draw the color boxes for the MN zones curve.display.wk.levels = true; If false it will not draw the color boxes for the WK zones curve.display.d1.levels = true; If false it will not draw the color boxes for the D1 zones Draw_MN_Middle = true; If true it will draw the 50% of the MN curve Draw_MN_Middle_Color = White; Draw_MN_Middle_Style = 1; These settings manage the color and style of the line drawn Draw_WK_Middle = false; If true it will draw the 50% of the WK curve Draw_WK_Middle_Color = Purple; Draw_WK_Middle_Style = 1; Draw_D1_Middle = false; If true it will draw the 50% of the D1 curve Draw_D1_Middle_Color = Yellow; Draw_D1_Middle_Style = 1; Show_lots = true; If true, it will display the lots calculation for all manual rectangles next to the pips calculation of each SD level RiskPercentage = 1.0; You can change the default 1% risk at any time and it will update the lots you can trade based on your account's balance Padding_pips = 2; Wiggle_room_H1 = 8; Wiggle_room_H4 = 10; Wiggle_room_D1 = 25; Padding and wiggle room is also taking into account to calculate your risk. You can change them to set up each different cross pair and exotic pair differently

    497 downloads

    Updated


×
×
  • Create New...