Forum

Code Not working: Line connecting 2 different close prices

I am trying to have a line connect the close value every quarter hour on a 1 minute chart. The line shows on 15 minute charts and above but not on the 1 minute chart. Below is the code I use. I believe the problem may be in the section labeled //Block for calculating indicator values. I have also

Drawing Line every 15 minutes

I am trying to make an indicator that just draws a line every quarter hour to help me be able to keep track of time better. Right now it only draws one line at the nearest hour. I am new to mql so any help would be greatly appreciated. int init() { if (Minute()== 00 || Minute()== 15 ||

Simple Write to file Code

Ok, I had this working earlier and made some changes and now it is not working so it is driving me crazy. I am trying to collect some data in a csv file every time my EA takes a trade so inside the same if statement the command to take the trade At the beginning of the Start() I have: int handle=

Indicator at set time

Hello, I am new to the MQL4 programming and am working on an Alert indicator that alerts me prices or set Symbols at set times during the day. I have this part figured out. :o) What I would like to do but cannot figure it out, is how to have it only tell me prices that are opposite of the chart set

New to MT4 and cant find an indicator

Hello, I am new to MT4 and MQL5 and have been looking for half the day and cannot find an indicator I know hows to exist, but since I really do not know all the terminology yet cannot find it. I have seen it in pictures (but of course could not find any of them today :o) This indicator looks like