View Single Post
  #94 (permalink)  
Old 01-28-2008, 05:18 AM
fxbs fxbs is online now
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 2,183
fxbs is on a distinguished road
nice, Nittany!
all left to do in next version (if you want to):

double di_p_m30 = iADX(NULL,TF4,14,PRICE_CLOSE,1,0); // DI+ 30 min
double di_m_m30 = iADX(NULL,TF4,14,PRICE_CLOSE,2,0); // DI- 30 min
// h1 ADX data
double adx_h1 = iADX(NULL,TF5,14,PRICE_CLOSE,0,0); // ADX 1 hour
double adx_1ago_h1 = iADX(NULL,TF5,14,PRICE_CLOSE,0,1); // ADX 1 hr 1 bar ago

extern int TF4 = 30;
extern int TF5 = 60;//whatever
extern bool Show_TF5 = true;

p.s. (4 myself i left up/dn weaker/stronger(red darkred green darkgreen) even if it ranging)
weaker/stronger - good idea; feels more intuitive

Last edited by fxbs; 01-28-2008 at 06:08 AM.
Reply With Quote