Search found 2 matches
- Tue Jun 10, 2008 5:13 pm
- Forum: eSignal indicators
- Topic: eSignal INDICATOR UPDATES
- Replies: 8
- Views: 12349
- Gender:
NP. I have not come up with a fix for that yet, but I did have a couple others that I added. ============================= function fPctInRange( uPrice, uHigh, uLow ) { //Sometimes fPctInRange returns bad data when uHigh and uLow match at the start of bars. oPct = (uPrice - uLow) / (uHigh -uLow) * 1...
- Mon Jun 09, 2008 10:54 pm
- Forum: eSignal indicators
- Topic: eSignal INDICATOR UPDATES
- Replies: 8
- Views: 12349
- Gender:
I believe there maybe a logic flaw in most of the trend counters: if( cBarState ==BARSTATE_NEWBAR) { if( tTrendB == tTrendB1 ) { xTrendB = xTrendB + 1 ; } // TREND COUNT CODE else { xTrendB = 1 ; } // TREND COUNT CODE tTrendB1 = tTrendB ; // TREND COUNT CODE } This looks at the chart for a new bar, ...