//+------------------------------------------------------------------+ //| NNFX_DXY | //| Karel Nagel | //+------------------------------------------------------------------+ #property copyright "Karel Nagel" #property indicator_separate_window #property indicator_buffers 1 #property indicator_color1 White #property indicator_width1 1 #property strict double Buffer[]; double exponent=0.142857142; input int limit=300; //Bars //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ enum allSymbols { usd, //USD eur, //EUR jpy, //JPY gbp, //GBP cad, //CAD chf, //CHF aud, //AUD nzd, //NZD }; string symbols[]={"USD","EUR","JPY","GBP","CAD","CHF","AUD","NZD"}; input allSymbols mainSymbol=0; //Symbol string pairs[7]; int i,j,k; string symbol=symbols[mainSymbol]; //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ int init() { SetIndexStyle(0,DRAW_LINE); SetIndexBuffer(0,Buffer); for(i=0;i