I am slowly teaching myself how to programme in Mt4, and as an exercise, I put together a small indicator to calculate individual currency strength by taking 3 pairs and averaging the move since 06:00 that morning. For example, EUR strength is average of the moves of EURUSD, EURJPY and EURGBP - which undoubtedly has been done many times before. However, the indicator only builds the lines from the moment it is applied to the chart, and does not use already available data within MT4. Can anyone tell me what I need to alter to get this working so that it will draw the lines starting from 06:00 irrespective of when I apply it to the charts?
Currency strength roy 02.mq4 4 KB | 1,609 download