SuperSlope.v.2.0 for EA & Renko

Post Reply
User avatar
traderduke
Trader
Posts: 306
Joined: Mon Nov 28, 2011 7:30 pm
Location: East Coast USA

SuperSlope.v.2.0 for EA & Renko

Post by traderduke »

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
You do not have the required permissions to view the files attached to this post.
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.

SuperSlope.v.2.0 for EA & Renko

Post by SteveHopwood »

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:
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
renexxxx
Trader
Posts: 860
Joined: Sat Dec 31, 2011 3:48 am

SuperSlope.v.2.0 for EA & Renko

Post by renexxxx »

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.
User avatar
traderduke
Trader
Posts: 306
Joined: Mon Nov 28, 2011 7:30 pm
Location: East Coast USA

SuperSlope.v.2.0 for EA & Renko

Post by traderduke »

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.
Post Reply

Return to “Coders Hangout”