stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Baluda Slope Strength auto-trader
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=603
Page 2 of 27
Author:  Baluda [ Sat Jun 02, 2012 9:40 pm ]
Post subject:  Re: Baluda Slope Strength auto-trader

Steve,

Something I overlooked: :oops:

Code: Select all

void CalculateCurrencySlopeStrength(int tf, int shift)
{
       ArrayInitialize(currencyValues, 0.0);
       
       int i;

       rest of procedure...
The currencyValues array needs to be initialized on each pass.

Paul
Author:  Baluda [ Sat Jun 02, 2012 9:51 pm ]
Post subject:  Re: Baluda Slope Strength auto-trader

garyfritz wrote:For comparison / verification purposes I looked at the current values from Baluda's strength/slope calculations (from the EA Comment()) vs. the values from my currency strength indicator. I scaled my values to cover the same range as his.
Gary,

Keep in mind that SlopeStrength only considers the symbols the user provided in the 'symbolsToWeigh' setting. The latest version has a new setting 'autoSymbols' that pulls the symbols from the symbols.raw file. Maybe the data in the comparison is even more similar when 'autoSymbols' is set to true.

Paul
Author:  SteveHopwood [ Sat Jun 02, 2012 11:10 pm ]
Post subject:  Re: Baluda Slope Strength auto-trader

Baluda wrote:Steve,

Something I overlooked: :oops:

Code: Select all

void CalculateCurrencySlopeStrength(int tf, int shift)
{
       ArrayInitialize(currencyValues, 0.0);
       
       int i;

       rest of procedure...
The currencyValues array needs to be initialized on each pass.

Paul
I am in my usual state of utter cluelessness here. All I have done is add

ArrayInitialize(currencyValues, 0.0);

to the start of void CalculateCurrencySlopeStrength(int tf, int shift)

Is this correct? In replying, keep it simple and bear in mind that I have no idea what is going on here.

:D
Author:  garyfritz [ Sat Jun 02, 2012 11:41 pm ]
Post subject:  Re: Baluda Slope Strength auto-trader

Baluda wrote:Keep in mind that SlopeStrength only considers the symbols the user provided in the 'symbolsToWeigh' setting. The
Good point! And in fact several NZD pairs & a few others were missing. But even with all 28 pairs we still have some differences:
Baluda.gif
Including all pairs, your NZD value is stronger than it was, but AUD and NZD are still both significantly weaker than my results. Yours have USD and JPY as buys (> 0.4) while mine also buys NZD. You'd sell CHF and GBP but I'd just sell GBP.

Who's "more right" ? It's mighty hard to tell without a proper backtest, though the quick NZD checks I did seem to indicate a strong NZD. Right now we just know we're different.
Author:  mobthehop [ Sun Jun 03, 2012 3:44 am ]
Post subject:  Re: Baluda Slope Strength auto-trader

New toy - nice...... Looking forward to try it on Monday - thanks to you guys!

Gary, I still don't understand how your currency strength works but have you considered to compare your values with Baluda's using H4 tf on his? Maybe yours is more responsive to recent changes....

Cheers
Author:  Baluda [ Sun Jun 03, 2012 5:15 am ]
Post subject:  Re: Baluda Slope Strength auto-trader

SteveHopwood wrote: I am in my usual state of utter cluelessness here. All I have done is add

ArrayInitialize(currencyValues, 0.0);
You're good.
Author:  SteveHopwood [ Sun Jun 03, 2012 5:21 pm ]
Post subject:  Re: Baluda Slope Strength auto-trader

I have updated post 1 with the version that does not try to send trades even though the markets are closed.

Can't wait to see how this puppy woofs. :lol:

:D
Author:  spybreak [ Sun Jun 03, 2012 8:55 pm ]
Post subject:  Re: Baluda Slope Strength auto-trader

SteveHopwood wrote:I have updated post 1 with the version that does not try to send trades even though the markets are closed.

Can't wait to see how this puppy woofs. :lol:

:D
Hi,

Is it possible please to implement this function to EA Shelley's multi-pair basket trader ,
example during asian session on friday ?

Thanks in advance ;)
Author:  forexripper [ Sun Jun 03, 2012 9:26 pm ]
Post subject:  Re: Baluda Slope Strength auto-trader

My 2cents here:

Can we have the slope indi instead of using average for a currency (not pair) use the relative increase and decrease against each (say in last 5 days etc.) so we know if e.g. JPY overall is increasing or decreasing and that may hint us on retracements / pull backs etc. and accordingly we can use Shelley and other gr8 EAs on this forum.

Thanks
Author:  SteveHopwood [ Sun Jun 03, 2012 9:38 pm ]
Post subject:  Re: Baluda Slope Strength auto-trader

forexripper wrote:My 2cents here:

Can we have the slope indi instead of using average for a currency (not pair) use the relative increase and decrease against each (say in last 5 days etc.) so we know if e.g. JPY overall is increasing or decreasing and that may hint us on retracements / pull backs etc. and accordingly we can use Shelley and other gr8 EAs on this forum.

Thanks
Currency Slope Strength shows this. Find it in the manual tools thread.

:D
All times are UTC Page 2 of 27