Forum

Perpendicular line in the midpoint of another

Hi All, please can any one help me in coding mql4 for drawing a line perpendicular to another line from the mid point. the picture attached for clarification. the red line is perpendicular to the yellow. for the yellow line one end (price1,datetime1) the other end (price2,datetime2). how to get the

MT4 Scale Fix

HI , could you please assist me on this issue , when i fix the scale one to one in mt4 for D1,W1,MN period the chart will be distorted and you can not read it. i mean the bars will be very long and it will not fit the screen , the opposite for H1 period. thanks in advance

Bars count

Greeting to all, I start learning mql4 and i want to write a code to count the bars between two dates on H1 chart, and if possible how to add and subtract a number of bars to/from a starting point and draw a vertial line. Ie. Starting date 'D 2017.12.10 08.00' adding say 4 bars will draw a VLine on

Vertical lines

Hi . Please could any body help me out in writing mql4 code , starting from x date (ie 2017.09.08 00.00) i want to draw vertical lines every x period of hours excluding saturday and sunday ,this should go to the future also. It would be highly appreciated , im using mt4. Thx in advance