Forum

Alert display at particlar date and time

Can anyone help with a simple sode that can dsiplay an alert on the main window when a particular variable date and time is reached. Have tried doing this but sometimes the pauses between ticks are longer than the second of the particular time needs to have the Alert displayed. Is there a code that

Sort a list of parameters from a read File and displaying in Indicator window in ascending order

I have an Indicator that reads a list form a CSV file. Each line of the list has a 4 strings or numbers including date and time. At any particular candlestick a certain number of lines from the CSV file is applicable. Say usually 5 or 6 lines for candlestick withing the date time in the list. i

Vertical Lines Show in Main Chart Window as well as all indicator windows

I have created vertical lines in the main chart window with ObjectSetText using the value of 0 for the main chart window only. The Lines however are repeated in all subwindows as well. How can the vertical lines be made to only appear in the Main chart window? thanks

Setting Values for Candlesticks in a loop including zero value

Hi Can someone pls advise. I have made the short script for the candlestick count cycle where values are given to each candlestick. However some candlesticks do not fall into the criteria in order to be assigned a value. The indicator graph draws ok for the candlesticks within the criteria, however

Code for automatically Enabling/disabling expert Advisors

Hello Can someone help. Is there a code for enabling and disabling the expert advisor button on the trading platform via an expert advisor using MQL4 programming language, and if so, what is this? Raptor

Reading Writing to External File

Can anyone pls advise I am trying to run this basic short MQL program to read/write to external file and have reduced errors but can't get further. Can anyone help in debugging this? //+------------------------------------------------------------------+ //| | //| | //| |