Baluda Slope Strength auto-trader

Share your 10.x automated traders here.
Post Reply
forexripper
Trader
Posts: 133
Joined: Fri Apr 13, 2012 6:11 pm

Re: Baluda Slope Strength auto-trader

Post by forexripper »

SteveHopwood wrote:
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
Yes it does.

Thanks for directing me.
bedul
Posts: 2
Joined: Sat May 26, 2012 2:05 pm

Post by bedul »

hai steve,
this is my first post here
I was directed by Caillou to learn about NB's trading system at FF and to look here for its related development. and I glad I listened to his suggestion :D

I try to demo this new toys of yours with default settings
but the problem is it open trades and close it in a matter of seconds (about 47 trades in the last 30 minutes).
by looking at the slope strength, i'd say that the EA has already made the right entry in terms of trend direction (such as sell GBPUSD, buy USDCAD, buy USDCHF, etc)
just curious what I am missing here?

thank you for your response.

PS: sorry for my english, its not my native language
winsteadglenn
Trader
Posts: 101
Joined: Tue Nov 15, 2011 10:40 pm

Re: Baluda Slope Strength auto-trader

Post by winsteadglenn »

Getting the same thing as Bedul.
Armen

Re: Baluda Slope Strength auto-trader

Post by Armen »

Dears,

I have the same problem with *Baluda* EA as Shelley. It sent orders then closes them after couple of seconds. May be I am doing something wrong.
stimpy

Re: Baluda Slope Strength auto-trader

Post by stimpy »

no i get the same too...
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Baluda Slope Strength auto-trader

Post by SteveHopwood »

stimpy wrote:no i get the same too...
Anyone using this will have the same problem. It is a bug and I will sort it out later. For now, all B will do is drain the account.

:D
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
User avatar
Baluda
Trader
Posts: 330
Joined: Mon Feb 06, 2012 2:00 pm
Location: An insignificant village in the Netherlands

Re: Baluda Slope Strength auto-trader

Post by Baluda »

SteveHopwood wrote:Anyone using this will have the same problem. It is a bug and I will sort it out later. For now, all B will do is drain the account.
Steve,

Here is the debugged code (from LookForTradeClosures()):

Code: Select all

      //Find the *original* indexes for the two currencies
      int Index1;
      int Index2;
      
      for ( int i = 0; i < CURRENCYCOUNT; i++ )
      {
         if ( currencyValues[i][1] == GetCurrencyIndex(ccy1) )
         {  
            Index1 = i;
         }   
         if ( currencyValues[i][1] == GetCurrencyIndex(ccy2) )
         {  
            Index2 = i;
         }   
      }

      //Close trade if either strength is the wrong side of the user's chosen level
      if (OrderType() == OP_BUY)
      {
         if (currencyValues[Index1][0] <= HtfBuyCloseLevel || currencyValues[Index2][0] >= HtfSellCloseLevel ) CloseThisTrade = true;
      }//if (OrderType() == OP_BUY)
      
      if (OrderType() == OP_SELL)
      {
         if (currencyValues[Index1][0] >= HtfSellCloseLevel || currencyValues[Index2][0] <= HtfBuyCloseLevel ) CloseThisTrade = true;
      }//if (OrderType() == OP_SELL)

      rest of code ...
If we have found the index of the currency through GetCurrencyIndex(), the next step is to find the index of the sorted currencyValues array by comparing the original index (2nd dimension) to the currencyIndex found. At that point we can get to the CurrencySlopeStrength in the first dimension of the same array.

Confused? :shock:

Paul
Check the MQL4 Market for my best EA's and Indicators.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Baluda Slope Strength auto-trader

Post by SteveHopwood »

Baluda wrote:Confused? :shock:

Paul
Paul, I spend my entire life confused.

V1a is in post one. The trades stay put.

Cheers Paul.

:D
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
SWG123
Trader
Posts: 565
Joined: Wed Nov 16, 2011 3:02 pm
Location: Cape Town

Re: Baluda Slope Strength auto-trader

Post by SWG123 »

First Baluda trade closed successfully +28 pips long on UCAD. :D

Also have open GJ and GU shorts.
michaelhryu
Trader
Posts: 33
Joined: Wed May 09, 2012 1:32 pm

Re: Baluda Slope Strength auto-trader

Post by michaelhryu »

Hi Baluda,

Thanks a lot for the indis!

Would you please explain the differnences beteen SlopeStrength and CurrencySlopeStrength? Perhaps, how they are calculated, in simple terms. That is, the values of the two indis are different though slight.
Post Reply

Return to “10.x EA forum”