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

Currency strength (like Hanover)
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=503
Page 6 of 11
Author:  cuzgeorge [ Mon May 14, 2012 3:33 pm ]
Post subject:  Re: Currency strength (like Hanover)

Gary,
i really like your indi and especially that it's 'in-house' here at Steve's. As a posiible EA to this Indi of yours i'd like to throw the following in the mix.

In my youth, a few months ago when forex was in it's infancy with me, :lol: , i lear'nt that EVERYTHING was based or measured and most importantly, FOLLOWED the US Index price. I.E everything lagged behind the movement of the index. A nice general assumption that has it's faults but can be a good gauge as to where we're going in the market. Positives are like watching the USindex, and when it dips, you buy the EURUSD, and opp. i actually started trading like this manually and did well, until i got greedy and lazy. Now i prefer to hangout here rather than try be a cowboy millionaire in one shot. I think we can all get there slowly and even have a great deal of fun here at the same time, but slowly, very slowly.

I also recently remember reading in Scoob's thread (the houdini one i think or on FF, cant remember), that he had pondered over an EA that would be all-assuming across the board of available pairs and would gauge itself from the US index. My understanding of this possible EA was that positions would be taken based only on movement from the index, similar to my initial style of watching the index, but trading the eurusd. It did'nt matter what the eurusd was doing, so long as the index was moving correctly, i think you understand that.

The negative is that not all the pairs play game to this and when you try this with the metals, especially gold. Although gold does have an association with the EURO, it sometimes seperates from the Euro and as many believe, including me, will eventually follow the us index in the future. right now, gold comes and go's by 'other' forces.

This leads me to what you said before;
BTW I should point out that while I was working with this, simulating a system with 50% wins, I saw one case where I got TWENTY-ONE CONSECUTIVE LOSSES. That's a freakishly uncommon result, a chance of 1 in 2 million, but it's the kind if thing that CAN happen. That's the kind of event that can kill you, no matter how well-capitalized you think you are for Martingale blowups.
We all except now that we can never, ever only have wins, unlike the alchemists of the 1600's or the comment from rob2360;
dodge-the-bullet and get the "big one" now and again
well Rob , Gary, we going to hit the skids at some stage, but now in the 2000's we all know to spread our positions and keep a decent portfolio to avoid the dead lead,....... or crashed euro..... or us index for example. This indicator of yours could be invaluable if we can get it to do something like spreading the risk and accepting a few knocks but also taking a few points along the way too. non-martingale i'm sure, but further than that, i can't suggest, thats up to you how you see the best way.

i myself am looking for several EA's to basket my positions. spreading the risk. I absolutely love Scoob's initial EA and really miss the guy and i dont even know him. I am equally thrilled at DC's version for other reasons, even though the EA's are very similar. I'm having an absolute blast here and am seriously intimidated by the brains here, including you! Mathematicians scare me, hahahaha, but where would we be with out Matt, SQ, and good ol Steve to mention just a few. I'm learning a great deal from you all and hope i dont step on anyone's toes along the way.

Thanks for all your time and valuable input, i myself am trully thank full that you share your time and thoughts with us.
kind regards
cuzgeorge
Author:  garyfritz [ Mon May 14, 2012 6:16 pm ]
Post subject:  Re: Currency strength (like Hanover)

I wasn't sure if you were responding to my Currency-strength thread or the "Martingale debunking" thread! :lol:

FYI this indicator is 10x more complex and takes about 100x more compute power than it "should," just because of the hoops I have to jump through to get it to work as an Empty4 indicator. I'm also working on a vastly simplified version to be called as a function in EAs. I'm buried in work up to my eyebrows so I'm moving slowly on this, but soon I'll have a currency-strength function to test all your ideas in EAs.
Author:  lonelytrader [ Mon May 14, 2012 7:50 pm ]
Post subject:  Re: Currency strength (like Hanover)

garyfritz wrote:I wasn't sure if you were responding to my Currency-strength thread or the "Martingale debunking" thread! :lol:

FYI this indicator is 10x more complex and takes about 100x more compute power than it "should," just because of the hoops I have to jump through to get it to work as an Empty4 indicator. I'm also working on a vastly simplified version to be called as a function in EAs. I'm buried in work up to my eyebrows so I'm moving slowly on this, but soon I'll have a currency-strength function to test all your ideas in EAs.

how will this be better then the xmeter?
the indicator is pretty good and it doesnt suck much of the CPU
Author:  garyfritz [ Mon May 14, 2012 7:52 pm ]
Post subject:  Re: Currency strength (like Hanover)

I don't know, unfortunately. I haven't looked at Xmeter. Sounds like I should.

The indicator isn't too terrible, but it has to do a lot of excess work that is forced upon it by Empty4's indicator behavior. The function for EA use will be very lightweight.
Author:  lonelytrader [ Mon May 14, 2012 7:58 pm ]
Post subject:  Re: Currency strength (like Hanover)

garyfritz wrote:I don't know, unfortunately. I haven't looked at Xmeter. Sounds like I should.

The indicator isn't too terrible, but it has to do a lot of excess work that is forced upon it by Empty4's indicator behavior. The function for EA use will be very lightweight.
i really think you should check out this robot ( attached)
its seems like most of the work has been done. I have ran it for almost two month, and have booked over 1700 pips now.

there are some weaknesses in correlation and a filter or two is needed.
Author:  cuzgeorge [ Tue May 15, 2012 11:34 am ]
Post subject:  Re: Currency strength (like Hanover)

Hi Gary, Lonelytrader,

I use the 'M' word carefully here , hehe, and like to bring attention to the following sentence;

Code: Select all

extern double    Martingale          =           1.5; // Multiplication coefficient of the martingale
extern int       MartingaleShield    =             4; // Number of trades before apply the martingale
Clearly it takes 4 trades before making a choice whether it's necessary to go into a M mode. Kinda like the Scoobs project but what i cant figure out is how it works out the currency strength here.
It appears to check every minute as opposed to seconds or every tick, that would save a stack of cpu power.
A huge range of Currencies, including very rarely offered by brokers.
Does'nt refer to Indi's ecxept internal stoch at 14,3,3 and look s for a high and low bar in the 60M TF i think, it may be 60 seconds, not sure. Does allow Change of stock TF for signal option though. No 'icustom' command either.

starts off like this for the screen display;

Code: Select all

  //--- grade table for currency's power
      int bTable[TABSIZE] = {0, 3, 10, 25, 40, 50, 60, 75, 90, 97};
      if      (bRatioWeighted[index] * 100 <= bTable[0]) bMajorSymb[index] = 0.001;
      else if (bRatioWeighted[index] * 100 <  bTable[1]) bMajorSymb[index] = 0.001;
      else if (bRatioWeighted[index] * 100 <  bTable[2]) bMajorSymb[index] = 1;
      else if (bRatioWeighted[index] * 100 <  bTable[3]) bMajorSymb[index] = 2;
      else if (bRatioWeighted[index] * 100 <  bTable[4]) bMajorSymb[index] = 3;

and then seems to do it's calc here;

Code: Select all

//---- calculate divisors for averaging
   string currency;
   for (i = 0; i != CurrencyCount; i++) 
   {
      currency = aMajor[i];
      Divisor[i] = 0;
      CurrPairs[i] = 0;
      for (int j = 0; j != PairCount; j++)
         if (StringSubstr(aPair[j], 0, 3) == currency) 
         {
            CurrPairs[i]++;
            if (aMajorSymb[j] > 0)
               Divisor[i]++;
         }
         else if (StringSubstr(aPair[j], 3, 3) == currency) 
         {
            CurrPairs[i]++;
            if (aMinorSymb[j] > 0)
               Divisor[i]++;
         }
   }
   
   //---- calculate all currencies meter
   for (i = 0; i != CurrencyCount; i++) 
   {
      currency = aMajor[i];
      aMeter[i] = 0;
      if (Divisor[i] != 0) 
      {
         for (j = 0; j != PairCount; j++) 
         {
            if (StringSubstr(aPair[j], 0, 3) == currency)
               aMeter[i] += aMajorSymb[j];
            else if (StringSubstr(aPair[j], 3, 3) == currency)
               aMeter[i] += aMinorSymb[j];
         }
         aMeter[i] = NormalizeDouble(aMeter[i] / Divisor[i], 1);

         bMeter[i] = 0;
         for (j = 0; j != PairCount; j++)
            if (StringSubstr(aPair[j], 0, 3) == currency)
               bMeter[i] += bMajorSymb[j];
            else if (StringSubstr(aPair[j], 3, 3) == currency)
               bMeter[i] += bMinorSymb[j];
         bMeter[i] = NormalizeDouble(bMeter[i] / Divisor[i], 1);
      }
   }
great piece of collaboration here over a few years. Have seen furrux and TSD-forum site before but never spent much time, found Steve's site more usefull.

very neat documentation in the code, and screen appearance equally 'nice' and non-obtrusive. this is way over my head again and i think Gary, Matt and Sq, Khalid, amongst many would enjoy this.
Thanks for the idea and sharing lonelytrader, much appreciated.
cuz
Author:  lonelytrader [ Tue May 15, 2012 12:33 pm ]
Post subject:  Re: Currency strength (like Hanover)

it has a few kinks in it,
i believe the stoch filter is broken... as i did go back and saw trades being entered at above 80.

I shut off the M thing, this way it goes just straight grid after the first one... which is why i was saying its missing another filter... a trend detector, as this can be prone to counter trend spikes...

a nice trend detector would be amazing addition.
Author:  verb [ Wed May 16, 2012 9:19 pm ]
Post subject:  Re: Currency strength (like Hanover)

lonelytrader wrote:it has a few kinks in it,
i believe the stoch filter is broken... as i did go back and saw trades being entered at above 80.

I shut off the M thing, this way it goes just straight grid after the first one... which is why i was saying its missing another filter... a trend detector, as this can be prone to counter trend spikes...

a nice trend detector would be amazing addition.
I'd recommend using NB 10.2's TMA Slope v1.4b for trend detection. It's the best I've seen to date.
Author:  lonelytrader [ Wed May 16, 2012 9:27 pm ]
Post subject:  Re: Currency strength (like Hanover)

I totally agree, but sadly i dont have the programming skills to do this..

If anyone is willing to help it will be greatly appreciated, I am even willing to pay, if its necessary ( but i will still provide the resulting software here)
Author:  RockyJ [ Thu May 17, 2012 12:30 am ]
Post subject:  Re: Currency strength (like Hanover)

verb wrote:[quote="lonelytrader"

a nice trend detector would be amazing addition.
I'd recommend using NB 10.2's TMA Slope v1.4b for trend detection. It's the best I've seen to date.[/quote] verb.


I am very interested in Gary's work on this as I do believe currency strength can be a valuable asset in trade selection. I have believed this ever since I read this thread by ES Trader on FF back in 2008.
http://www.forexfactory.com/showthread.php?t=113181
I am interested to see what Gary comes up with as I know him to be quiet the through person and whatever he produces as the finished product I am sure will have merit.

But I also want to second what verb stated.
NB's 10.2 TMA Slope v1.4b is, at least imo, a really good indicator, and I can't say there are that many indies I feel that way about.
It can easily be used for trend detection, I use it for trend direction and strength on the daily and I recommend it highly.
Read Bob's word doc on it , he really gives a great description of how he built it and how to use it.
All times are UTC Page 6 of 11