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

SuperSlope.v.2.0 for EA & Renko
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5326
Page 1 of 1
Author:  traderduke [ Tue Nov 07, 2017 3:56 pm ]
Post subject:  SuperSlope.v.2.0 for EA & Renko

Coders
I realize that this is a dangerous question, Can anyone look at my Renko charts and help me find the problem that I’m having with the BaludaSuperSlope indicator on my EA.

This EA with this indicator DOES work on the “Strategy Tester” using “Visual Mode ONLY” but it stalls and then stops processing on the demo. I always load the indicator along with the EA for visual.

I have also loaded the old 10.7 CSS indicator just to see if it had a problem but it process just fine as an indicator on the demo.

The green & red is the “SuperSlope.v.2.0 for EA” which is predominantly used on SHF and in my EA, you can see it stopped on both charts.

I have been running this set up manually for some time on demo , it works but you have to be their to implement. as you can see I have some other ideas to be added to this EA for entry & exits.

Thanks for your help
Ray

See attached;
11-7-2017 8-43-36 AM-EJ-GN-5pip-BSS problem.png
evolution_renko_ea_v1_31.ex4
RK-Baluda-SuperSlope.v.2.0 for EA-v5-wtrendwdayw9-TrlS.mq4
Baluda.SuperSlope.v.2.0 for EA.mq4
Author:  SteveHopwood [ Wed Nov 08, 2017 12:47 am ]
Post subject:  SuperSlope.v.2.0 for EA & Renko

traderduke » Tue Nov 07, 2017 3:56 pm wrote:Coders
I realize that this is a dangerous question, Can anyone look at my Renko charts and help me find the problem that I’m having with the BaludaSuperSlope indicator on my EA.

This EA with this indicator DOES work on the “Strategy Tester” using “Visual Mode ONLY” but it stalls and then stops processing on the demo. I always load the indicator along with the EA for visual.

I have also loaded the old 10.7 CSS indicator just to see if it had a problem but it process just fine as an indicator on the demo.

The green & red is the “SuperSlope.v.2.0 for EA” which is predominantly used on SHF and in my EA, you can see it stopped on both charts.

I have been running this set up manually for some time on demo , it works but you have to be their to implement. as you can see I have some other ideas to be added to this EA for entry & exits.

Thanks for your help
Ray

See attached;






So, you are interested in Renko, which is bollocks. If trading Renko charts worked then we would all be gazillionaires. It doesn't, so we aren't.

Then you present the .ex4 version of your EA, which no coder can do anything with. This could unkindly be described as bollocks. I am not in a kind mood tonight so here goes: it is bollocks.

To sum up: you are presenting a double helping of bollocks and expecting someone to make sense of it.

Woudln't care to re-evaluate your approach, would you?

:xm:
Author:  renexxxx [ Wed Nov 08, 2017 1:08 am ]
Post subject:  SuperSlope.v.2.0 for EA & Renko

Besides what Steve already mentioned (that Renko is bollocks, which it is), hereby an explanation of why Baluda.SuperSlope.v.2.0 for EA.mq4 crashes on a Renko-chart, as in fact it does so with a Stack Overflow message in the Experts-tab:

There is a recursion in the TFToString(int tf) function: if it can't find a matching case in the switch statement, it calls itself again ... and again ... and again ... and we all know how that ends. If you run this on a M2-offline chart (for instance) TFToString(2) is called and there is no timeframe inside the switch that matches 2.

I you replace TFToString() with something like:

Code: Select all

string TFToString(int tf)
{
   bool chartIsOffline = (bool)ChartGetInteger(ChartID(), CHART_IS_OFFLINE);

   if ( chartIsOffline ) {
      switch(tf) {
        case 2: return("M2"); break;
   		case 3: return("M3"); break; 
   		case 4: return("M4"); break;
   		case 6: return("M6"); break;
   		case 10: return("M10"); break;
   		case 12: return("M12"); break;
   		case 20: return("M20"); break;
   		case 120: return("H2"); break;
   		case 180: return("H3"); break;
   		case 360: return("H6"); break;
   		case 480: return("H8"); break;
   		case 720: return("H12"); break;
   		default: return( StringFormat( "OF%d", tf ) );
      }
   }
   else {
      switch(tf) {
         case 1: return("M1"); break;
   		case 5: return("M5"); break; 
   		case 15: return("M15"); break;
   		case 30: return("M30"); break;
   		case 60: return("H1"); break;
   		case 240: return("H4"); break;
   		case 1440: return("D1"); break;
   		case 10080: return("W1"); break;
   		case 43200: return("MN"); break;
   		default: return( StringFormat( "TF%d", tf ) );
   	}
   }
   return("");
	
}//TFToString(int tf)
you wouldn't get the stack overflow.

However, forget about Renko ... it is bollocks.
Author:  traderduke [ Thu Nov 09, 2017 12:13 pm ]
Post subject:  SuperSlope.v.2.0 for EA & Renko

rene
Thanks, it works on the offline Ms.

Appreciate your help
Ray

PS: To whom it may concern, I don't have the source for the evolution renko converter, or I would have loaded it.
All times are UTC Page 1 of 1