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

Baluda Slope Strength auto-trader
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=603
Page 10 of 27
Author:  lucklogic [ Fri Jun 08, 2012 1:57 pm ]
Post subject:  Re: Baluda Slope Strength auto-trader

Baluda wrote:
lucklogic wrote:I repeat that the slope strength may be calculating incorrect values when some criminals do not offer prices for all pairs
Lucklogic,

This is why the 'symbolsToWeigh' user setting is still there, Alternatively, you can set 'autoSymbols' to true. The indicator will then get alle the symbols that are in the Market Place window. Keep in mind that you can show/hide symbols from the Market Place window.

Paul

OK, I finally see what you mean, thanks
Author:  forexripper [ Fri Jun 08, 2012 1:59 pm ]
Post subject:  Re: Baluda Slope Strength auto-trader

Hi Baluda,

I was following your idea of zero line on CSS indi but noticed that e.g. EU it now shows that euro went down zero line yesterday but it is kind of a repaint because in real time I was looking at it and it did not go down. However, I think if I had looked at it after 3-4 bars and esp when it got rejected at MP with clear candle signal on H4 (also going below 5.5 MA) I would have shorted. So, the idea to code using zero line may not be that useful.

R u coding the divergence in strength thingy? Thanks tyhough for this great toy
Author:  Zypip [ Fri Jun 08, 2012 2:18 pm ]
Post subject:  Re: Baluda Slope Strength auto-trader

forexripper wrote:Hi Baluda,

I was following your idea of zero line on CSS indi but noticed that e.g. EU it now shows that euro went down zero line yesterday but it is kind of a repaint because in real time I was looking at it and it did not go down. However, I think if I had looked at it after 3-4 bars and esp when it got rejected at MP with clear candle signal on H4 (also going below 5.5 MA) I would have shorted. So, the idea to code using zero line may not be that useful.

R u coding the divergence in strength thingy? Thanks tyhough for this great toy
Forexripper,

Check on the "Tools for manually trading NB 10.2" thread, there is a new toy to play with :D . I agree with you that even the "improved" repainting (done by NB) could be disturbing. That is why one should only consider the current slope action to take decisions. That is how the NB 10.2 uses TMA.

Thanks again Baluda
Author:  RockyJ [ Sun Jun 10, 2012 6:57 pm ]
Post subject:  Re: Baluda Slope Strength auto-trader

Any one with a different crim and different pairs , an easy fix is to save a copy of your crims pair string in a word doc or pdf or whatever , just leave it on your desktop or some where handy. This can be all your crims pairs or a custom list to your liking.

You can just copy and paste that string into the Baluda ea or indicator that is in mql format from inside MetaEditor . Delete the default string and replace it with your saved string.

for instance here is my Cowboy IBFX pair string.. I just replace the default pair string line in the Baluda EA and indicators the ea uses and all is right..

You just have to be sure when you paste it the "" "" marks are correct, don't add any extra " by mistake , if the pairs are in green it is right if black not right.. compile without errors and you should be good.

Do this for the EA and the associated indicators.. or use the auto symbols feature.. If using the auto feature don't forget to remove things like gold or oil from the symbol list as they probably won't work correctly if left in.

I edited out the really exotic pairs in my list as well..such as usdmxn... czk ...dkk ect..

I guess as the indicators are contained within the EA it is not actually necessary to change them but by doing so if you display the indies they will match up with the EA data..
Author:  lucklogic [ Wed Jun 13, 2012 2:08 pm ]
Post subject:  Re: Baluda Slope Strength auto-trader

Hi Baluda

I am trying to interact with you fantastic indicator ;

// ExtractCurrencies(CurrentPair);
string ccy1 = StringSubstr(CurrentPair, 0, 3);
string ccy2 = StringSubstr(CurrentPair, 3, 3);

Print (" currency ",ccy1 , " ",ccy2);
int posnum1 =11;
int posnum2 =12;

if (ccy1 == "USD") posnum1=0;
if (ccy1 == "USD") posnum1=1;
if (ccy1 == "GBP") posnum1=2;
if (ccy1 == "CHF") posnum1=3;
if (ccy1 == "JPY") posnum1=4;
if (ccy1 == "AUD") posnum1=5;
if (ccy1 == "CAD") posnum1=6;
if (ccy1 == "NZD") posnum1=7;

if (ccy2 == "USD") posnum2=0;
if (ccy1 == "USD") posnum2=1;
if (ccy1 == "GBP") posnum2=2;
if (ccy1 == "CHF") posnum2=3;
if (ccy1 == "JPY") posnum2=4;
if (ccy1 == "AUD") posnum2=5;
if (ccy1 == "CAD") posnum2=6;
if (ccy1 == "NZD") posnum2=7;



double slopevalue1 = iCustom(Symbol(),PERIOD_H1,"CurrencySlopeStrenght",100,posnum1,0);
double slopevalue2 = iCustom(Symbol(),PERIOD_H1,"CurrencySlopeStrenght",100,posnum2,0);


I hope that you see that I am trying to obtain the currency strengths of the Pairs but I am having no luck when using iCustom(), the value of 100 is the number of bars. The error reported is that Empty4 cannot open the ( iCustom() ) file

What am I doing wrong ???
Author:  garyfritz [ Wed Jun 13, 2012 2:19 pm ]
Post subject:  Re: Baluda Slope Strength auto-trader

Misspelling the indicator name? I assume it should be CurrencySlopeStrength.
Author:  lucklogic [ Wed Jun 13, 2012 2:41 pm ]
Post subject:  Re: Baluda Slope Strength auto-trader

garyfritz wrote:Misspelling the indicator name? I assume it should be CurrencySlopeStrength.


Bloooooooodddddddyyyyyyyyy Hell ! :twisted:

Thank You
Author:  lucklogic [ Wed Jun 13, 2012 4:57 pm ]
Post subject:  Re: Baluda Slope Strength auto-trader

Decided to make the indicator feed into Global variables then within the EA

// ExtractCurrencies(CurrentPair);
string ccy1 = StringSubstr(CurrentPair, 0, 3);
string ccy2 = StringSubstr(CurrentPair, 3, 3);


double CS1 = GlobalVariableGet("Currency Slope Strength" +" "+ccy1+" TP ");
double CS2 = GlobalVariableGet("Currency Slope Strength" +" "+ccy2+" TP ");

This is rather neater looking
Author:  Aussiedoc [ Thu Jun 14, 2012 3:55 am ]
Post subject:  Re: Baluda Slope Strength auto-trader

Hi! Have just caught up with this thread today. Great!! Was synchronizing all the pairs by copy & paste & recompile in the SlopeStrength indicator when the following came up:
Function "DrawCell" is not referenced and will be removed from exp-file
Function "DeleteCell" is not referenced and will be removed from exp-file
I am not a programmer. Are they important messages???
Cheers. :D
Author:  Baluda [ Thu Jun 14, 2012 4:38 am ]
Post subject:  Re: Baluda Slope Strength auto-trader

Aussiedoc wrote:I am not a programmer. Are they important messages???
Cheers. :D
Shortest answer possible: no.
lucklogic wrote:Decided to make the indicator feed into Global variables then within the EA
...
This is rather neater looking
Why don't you use the internal functions from CSS itself? Check how the Baluda auto-trader does it.

Happy coding,

Paul
All times are UTC Page 10 of 27