Page 1 of 1

eSignal INDICATOR UPDATES

Posted: Mon Apr 02, 2007 3:12 am
by TheRumpledOne
eSignal INDICATOR UPDATES:

TRO_CANDLECOLOR2

TRO_SM_CONTROL_PMSM6




I added the iHistory input switch to TRO_CANDLECOLOR2 and TRO_SM_CONTROL_PMSM6 so they load faster.

The default is FALSE so the indicators will load as fast as possible.

If iHistory is set to TRUE then the indicators will calculate all the history for the indicator.

EFS attached.

NOTE: TRO_CANDLECOLOR2 updated again 4/2/2007

Posted: Fri Aug 10, 2007 10:06 pm
by cvax
TRO, can I get written permission to rewrite and redistribute CandleColor2 in C# for the NinjaTrader/kreslik community?

Rarely see you put copyright stuff on your indicators so that was interesting to see.

Posted: Mon Aug 13, 2007 12:43 pm
by TheRumpledOne
Yes, go ahead.

I put copyright on all of my indicators after TS banned me.

Posted: Mon Aug 13, 2007 12:48 pm
by Patch
TRO and EVERYONE

IT IS GOOD TO BE BACK ON THE NET WITH KRESLIK.

JEFF
In VA
Patch the Pirate
In the Pirate's Cove

Posted: Mon Jun 09, 2008 10:54 pm
by terryh
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, then counts the last trend counter.
When the interval is less then the chart not counts happen.
When the interval is greater then the chart the trend is counted repeatedly.

Posted: Tue Jun 10, 2008 4:56 pm
by TheRumpledOne
I'll have to check that out..thanks

Posted: Tue Jun 10, 2008 5:13 pm
by terryh
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) * 100;

if ( oPct > 100 ) { oPct = 100; }
if (oPct < 0 ) { oPct = 0; }
if ( isNaN( oPct ) ) { oPct = 0; }

oPct = (Math.round(oPct * 100)) * .01 ; //Rounds to 2 decimal precision

// oPct = ( oPct - 50 ) * 2 ; // scale -100 to + 100

return ( oPct.toFixed(0) ) ;
}

=======================

Rewrote the script to use a for loop and case statements.
Mostly trying to work up my java/efs script skills.

Lots of interesting ideas and insights in the scripts and site.
Thanks.

Posted: Sun Oct 26, 2008 12:00 pm
by gailbros
hell TRO, i am here on your site now, i still cant find the e book you told me to download for tutorial on how to use the indicator on forex, i really need a well explained indicator so as to start trading, i have lost alot of money on forex already...

Posted: Sun Oct 26, 2008 4:29 pm
by TheRumpledOne
Click here