Skid Rock Stoch

Just a little upgrade to the label part of the Skid Rock.

1h readings are that I am most curious about, but this one works with local values.

Why the numbers so big? To be able to see them from the other side of the room.

Now there is also a discrepancy between the phone/tablet MT4 app iStochastic calculation and that of the desktop version. Somebody altered the code, for sure. Cannot correct this. On the phone I use the High-Low based calculation, on the desktop I went with the Closes.

EUR608

The numbers should turn red (above 92) or green (below 5), like so:

EUR609

Only in a wave 3 would you be able to sustain these numbers.

I had to convert the tens and the ones part of the double iStochastic reading and turn them into winding strings based on the integers received. There is a bit of rounding here of course.

 

int twodigits = NormalizeDouble(iStochastic(NULL,0,10,3,3,MODE_SMA,1,MODE_SIGNAL,0),0);

int tens = round(twodigits/10);

int ones = twodigits-tens*10;

string stens, sones;

 

switch(tens)
{
case 1: stens=CharToStr(140);
break;
case 2: stens=CharToStr(141);
break;
case 3: stens=CharToStr(142);
break;
case 4: stens=CharToStr(143);
break;
case 5: stens=CharToStr(144);
break;
case 6: stens=CharToStr(145);
break;
case 7: stens=CharToStr(146);
break;
case 8: stens=CharToStr(147);
break;
case 9: stens=CharToStr(148);
break;
default: stens=CharToStr(139);
break;
}

switch(ones)
{
case 1: sones=CharToStr(140);
break;
case 2: sones=CharToStr(141);
break;
case 3: sones=CharToStr(142);
break;
case 4: sones=CharToStr(143);
break;
case 5: sones=CharToStr(144);
break;
case 6: sones=CharToStr(145);
break;
case 7: sones=CharToStr(146);
break;
case 8: sones=CharToStr(147);
break;
case 9: sones=CharToStr(148);
break;
default: sones=CharToStr(139);
break;
}

_Skid_Rock_v1_2