Forum

Indicator not sending value to EA

I'm trying to develop a simple indicator that tells me the difference between 2 similar products eg. UK & US Oil. The indicator correctly displays variance on a chart but does not send the same value to my EA. Any help would be appreciated

Market price for 2 oil products

I am not a programmer but I'm trying to build a simple indicator that tells me the difference between 2 products . I have entered coding as shown below & compiled without errors. Unfortunately the output doesn't appear on a chart. Can someone provide a tip. //--- Seek prices for XBRUSD and XTIUSD