Forum

Hour() in Minutes Error?

Hello, I am trying to Calculate the Index of the First Candle of the Day within the M1 Time Frame and I feel like I found an error in the MQL System; if anyone knows an explanation or a remedy for this, please let me know. int h = Hour(), //the Number of Hours that have passed since the Beginning of

Custom Indicator Not Displaying Outputs of Divison

Howdy, I have been working on several projects and I have hit a dead end multiple times on the account that I can't seem to get my custom indicator to display lines whose calculations contain division. I created an example problem below. This following example attempts to find the percentage of a