Forum

zig zag indicator with trendline on each top and bottom .with a problem

hi i have a zig zag indicator that iv modified to draw trendline on each top and bottom to the right over a specific number of bars , , but with one problem . the trend line seem to be short when there are a holiday (Saturday and Sunday )….the code are attached and a picture which show the problem

how to get the date of t2 for a trend line

hi i have a simple indicator which draw a trend line horizontally and to the right , can we get the date of the t2 for that trend line using any code? (even if the trend line extended out the range of the trading bar)? as in the attached pic

t2 in ObjectCreate (OBJ_TREND,) dont cover holidays

hi am using a code to draw a horizontal trend line from t1, p1 to t2,p1 (which will draw it horizontally and to the right) . some time i tried to draw the trend line for example : over 90 bars but because of the holidays the trend line will not cover 90 bars.. how to solve this

read from CSV file ...not read all values

hi....am trying to read some values from a CSV file into mt4 using a simple code my CSV file is at \MQL4\Files directory and containe one line of data 298 ,305 ,132 ,146 ,341 ,376 ,209 ,227 my code only read the first tow value 298 305 and show them on print or comment (either i want to use). how

indicator to draw many Vlines

hi i have a code that draw a vertical line (only one Line).......but some times i need to draw more than ten Vlines (even 50 lines) at the same time... and the dates between the lines are not equal (or the problem could be solved by using cycle lines ) could we modify the indicator code to do this

Adding an on chart up and down arrows to modify indicator variable directly

hi to all how can we modify variable of an indicator directly on the chart instead of opining the indicator and modify the variable and then click ok....this will save time and at the same time let me learn new feature in mql4 because am not a mql programmer i need some help to add a code to the

get the value of TimeToStr()...to use it in another formula

hi...i have a code to find the date and time for specific bar and show them on the chart ObjectSetText ( "Firstdate" , TimeToStr ( Time [ 10 ], TIME_DATE | TIME_SECONDS ),Fontsize, "Arial" ,White); this code is ok...but i want to use the value that i got from the above code to make some

Vline to draw a line after spicific number of bars....it count holidays also....

hi ..as a new to mql programming ...still want to learn and have a question i try to write a code to draw a Vline a head from a predetermined bar or (datetime) first i draw a rectangle (i need it in my strategy) and want the the indicator to draw a line at the end to the rectangle lets say the first

price multiplier in mt4

hi is there any indicator to change prices style from 1.25656 to 125656 and show them in mt4 chart

mt4 chart with holidays...

hi ... can we plot a Forex chart in mt4 that show holidays ? reason for this idea: some trading methodologies (like W.D.GANN trading) take in considerations the idea of counting holidays i need to show the holidays in the chart as shift in space not counted numbers only.. any suggestion